ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 226 - Professional Machine Learning Engineer discussion

Report
Export

You work for an online grocery store. You recently developed a custom ML model that recommends a recipe when a user arrives at the website. You chose the machine type on the Vertex Al endpoint to optimize costs by using the queries per second (QPS) that the model can serve, and you deployed it on a single machine with 8 vCPUs and no accelerators.

A holiday season is approaching and you anticipate four times more traffic during this time than the typical daily traffic You need to ensure that the model can scale efficiently to the increased demand. What should you do?

A.
1, Maintain the same machine type on the endpoint. 2 Set up a monitoring job and an alert for CPU usage 3 If you receive an alert add a compute node to the endpoint
Answers
A.
1, Maintain the same machine type on the endpoint. 2 Set up a monitoring job and an alert for CPU usage 3 If you receive an alert add a compute node to the endpoint
B.
1 Change the machine type on the endpoint to have 32 vCPUs 2. Set up a monitoring job and an alert for CPU usage 3 If you receive an alert, scale the vCPUs further as needed
Answers
B.
1 Change the machine type on the endpoint to have 32 vCPUs 2. Set up a monitoring job and an alert for CPU usage 3 If you receive an alert, scale the vCPUs further as needed
C.
1 Maintain the same machine type on the endpoint Configure the endpoint to enable autoscalling based on vCPU usage. 2 Set up a monitoring job and an alert for CPU usage 3 If you receive an alert investigate the cause
Answers
C.
1 Maintain the same machine type on the endpoint Configure the endpoint to enable autoscalling based on vCPU usage. 2 Set up a monitoring job and an alert for CPU usage 3 If you receive an alert investigate the cause
D.
1 Change the machine type on the endpoint to have a GPU_ Configure the endpoint to enable autoscaling based on the GPU usage. 2 Set up a monitoring job and an alert for GPU usage. 3 If you receive an alert investigate the cause.
Answers
D.
1 Change the machine type on the endpoint to have a GPU_ Configure the endpoint to enable autoscaling based on the GPU usage. 2 Set up a monitoring job and an alert for GPU usage. 3 If you receive an alert investigate the cause.
Suggested answer: C

Explanation:

Vertex AI Endpoint is a service that allows you to serve your ML models online and scale them automatically. You can use Vertex AI Endpoint to deploy the custom ML model that you developed for recommending recipes to the users. You can maintain the same machine type on the endpoint, which is a single machine with 8 vCPUs and no accelerators. This machine type can optimize the costs by using the queries per second (QPS) that the model can serve. You can also configure the endpoint to enable autoscaling based on vCPU usage. Autoscaling is a feature that allows the endpoint to adjust the number of compute nodes based on the traffic demand. By enabling autoscaling based on vCPU usage, you can ensure that the endpoint can scale efficiently to the increased demand during the holiday season, without overprovisioning or underprovisioning the resources. You can also set up a monitoring job and an alert for CPU usage. Monitoring is a service that allows you to collect and analyze the metrics and logs from your Google Cloud resources. You can use Monitoring to monitor the CPU usage of your endpoint, which is an indicator of the load and performance of your model. You can also set up an alert for CPU usage, which is a feature that allows you to receive notifications when the CPU usage exceeds a certain threshold. By setting up a monitoring job and an alert for CPU usage, you can keep track of the health and status of your endpoint, and detect any issues or anomalies. If you receive an alert, you can investigate the cause by using the Monitoring dashboard, which provides a graphical interface for viewing and analyzing the metrics and logs from your endpoint. You can also use the Monitoring dashboard to troubleshoot and resolve the issues, such as adjusting the autoscaling parameters, optimizing the model, or updating the machine type. By using Vertex AI Endpoint, autoscaling, and Monitoring, you can ensure that the model can scale efficiently to the increased demand during the holiday season, and handle any issues or alerts that might arise.Reference:

[Vertex AI Endpoint documentation]

[Autoscaling documentation]

[Monitoring documentation]

[Preparing for Google Cloud Certification: Machine Learning Engineer Professional Certificate]

asked 18/09/2024
Salih Igde
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first