exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 1 discussion

Actual exam question from Microsoft's DP-100
Question #: 1
Topic #: 4
[All DP-100 Questions]

HOTSPOT -
You are a lead data scientist for a project that tracks the health and migration of birds. You create a multi-image classification deep learning model that uses a set of labeled bird photos collected by experts. You plan to use the model to develop a cross-platform mobile app that predicts the species of bird captured by app users.
You must test and deploy the trained model as a web service. The deployed model must meet the following requirements:
✑ An authenticated connection must not be required for testing.
✑ The deployed model must perform with low latency during inferencing.
✑ The REST endpoints must be scalable and should have a capacity to handle large number of requests when multiple end users are using the mobile application.
You need to verify that the web service returns predictions in the expected JSON format when a valid REST request is submitted.
Which compute resources should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lucario95
Highly Voted 4 years, 1 month ago
So the right answers should be gpu-cluster for test and AKS for production?
upvoted 42 times
Marnil
3 years, 2 months ago
Why would you need a GPU cluster for testing? Isn't testing just comparing predictions with actual labels?
upvoted 1 times
Marnil
3 years, 2 months ago
Nvm, you need cluster (or aks) for gpu support. https://docs.microsoft.com/en-gb/azure/machine-learning/concept-compute-target How come a third of answers on this site are incorrect, and that I cannot delete my own comments from discussions
upvoted 7 times
...
...
...
mtrdhar19841234
Highly Voted 4 years, 2 months ago
Why not AKS cluster?
upvoted 15 times
gamezone25
4 years, 2 months ago
I agree with the AKS cluster. The documentation says that AKS should be used for real-time inference, which is not supported by the GPU compute cluster. https://docs.microsoft.com/en-us/azure/machine-learning/concept-compute-target#deploy
upvoted 8 times
ACSC
4 years, 2 months ago
Agree. Answer is AKS for both.
upvoted 2 times
SaudMeethal
4 years, 1 month ago
If security isn't required for testing, shouldn't the gpu-compute cluster do the job here? AKS should be used for production only.
upvoted 4 times
...
...
...
dijaa
4 years, 2 months ago
in which?
upvoted 1 times
...
natrave
4 years, 2 months ago
I second this. It has to be AKS cluster as low latency and GPU are required in the question: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-and-where?tabs=azcli#choose-a-compute-target
upvoted 4 times
...
...
Lion007
Most Recent 1 year, 6 months ago
Correct answers: - Test: ds-workstation notebook VM - Production: AKS-compute cluster Test: ds-workstation notebook VM Since the requirement for the testing environment is that it must not require an authenticated connection, then none of the cluster options (CPU, AKS, GPU) would be fit for use as a Testing resource. This is because these online cluster resources do not recommend and highly discourage to have unauthenticated connection due to obvious security concerns. DSVM offers an isolated or controlled environment, where unauthenticated access is temporarily allowed, but this would be an exception rather than the norm. Production: AKS-compute cluster The AKS (Azure Kubernetes Service) cluster is better for both (1) low latency and (2) scalability, unlike GPU cluster which is designed for low latency not for scalability, which is a requirement for the PROD env.
upvoted 10 times
jl420
7 months, 4 weeks ago
THIS IS THE WAY!
upvoted 2 times
...
...
InversaRadice
1 year, 6 months ago
Another misleading question: there is no clue about cost requirements, which will lead to the proper answer...
upvoted 1 times
...
A_PL300
1 year, 9 months ago
Question like this one on 4-Sept-2023 exam
upvoted 4 times
...
phdykd
1 year, 11 months ago
Test: A) ds-workstation notebook VM For testing purposes, using a data science workstation notebook VM would be ideal. Since you're only testing the API responses and not focusing on large scale inferencing, a fully provisioned cluster would not be necessary. Production: f) aks-compute cluster Azure Kubernetes Service (AKS) cluster is best suited for production deployment of your machine learning model. AKS offers capabilities like auto-scaling and load balancing, ensuring that your model can handle a large number of requests and perform with low latency during inferencing. It is also not necessary for the compute resource to have a GPU for inferencing, making the AKS cluster a cost-effective option.
upvoted 5 times
...
sap_dg
2 years, 3 months ago
I would go for a cpu-compute cluster for testing
upvoted 1 times
...
phdykd
2 years, 4 months ago
CB. Explanation: For testing, a CPU-based compute cluster should be sufficient since the primary requirement is to verify that the web service returns predictions in the expected JSON format. A CPU-based compute cluster is relatively cheaper and can handle moderate to low traffic during testing. For production, an AKS (Azure Kubernetes Service) cluster is recommended as it offers scalable and efficient orchestration of containers for high traffic applications. Since the mobile app is expected to receive multiple requests from end users, a scalable and reliable production environment is required. The AKS cluster provides an authenticated connection, and Kubernetes can scale the deployed model horizontally to handle a large number of requests. Note that GPU-based compute clusters may offer faster inferencing performance but are relatively expensive and may not be necessary for this specific project's requirements. Additionally, the deployment of GPU-based clusters may require additional configuration and setup, which may not be practical for testing and production.
upvoted 2 times
...
giusecozza
2 years, 10 months ago
Box1: I think the answer is here: "When using the Azure Machine Learning SDK v2 on a compute instance or on an Azure Virtual Machine, you can use a managed identity for Azure. This workflow allows the VM to connect to the workspace using the managed identity, without storing credentials in Python code or prompting the user to authenticate. Azure Machine Learning compute clusters can also be configured to use a managed identity to access the workspace when training models." So VM sounds good, as we are talking about testing mode on an inference process https://docs.microsoft.com/en-us/azure/machine-learning/how-to-setup-authentication?tabs=sdk Box2: AKS. Definitely the best solution when dealing with low latency and scaling needs on inference process https://docs.microsoft.com/en-us/azure/machine-learning/concept-compute-target
upvoted 8 times
...
ning
3 years ago
PROD is AKS for sure, test 3 options -- local -- contain instance -- aks it does not required authentication, I will vote for local machine
upvoted 4 times
...
TheYazan
3 years, 3 months ago
"Although compute targets like local, and Azure Machine Learning compute clusters support GPU for training and experimentation, using GPU for inference when deployed as a web service is supported only on AKS." https://docs.microsoft.com/en-us/azure/machine-learning/concept-compute-target#deploy
upvoted 3 times
...
AjoseO
3 years, 4 months ago
On 03 March 2022
upvoted 3 times
...
Maskit12
3 years, 6 months ago
Train: GPU, test: DS, Production: AKS
upvoted 12 times
Nand4
3 years, 4 months ago
I agree
upvoted 1 times
...
...
dija123
3 years, 6 months ago
Azure compute cluster is not supporting real-time inference, only batch inference I think workstation notebook vm works with the question request https://docs.microsoft.com/en-gb/azure/machine-learning/concept-compute-target https://docs.microsoft.com/en-gb/azure/machine-learning/how-to-deploy-local-container-notebook-vm
upvoted 1 times
...
ML_Novice
3 years, 7 months ago
what is the final good answer please?
upvoted 1 times
...
shiyu
3 years, 8 months ago
So the correct answers are AKS for both?
upvoted 1 times
...
snsnsnsn
3 years, 10 months ago
on 2/9/21
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...