ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 110 - Professional Cloud DevOps Engineer discussion

Report
Export

You built a serverless application by using Cloud Run and deployed the application to your production environment You want to identify the resource utilization of the application for cost optimization What should you do?

A.
Use Cloud Trace with distributed tracing to monitor the resource utilization of the application
Answers
A.
Use Cloud Trace with distributed tracing to monitor the resource utilization of the application
B.
Use Cloud Profiler with Ops Agent to monitor the CPU and memory utilization of the application
Answers
B.
Use Cloud Profiler with Ops Agent to monitor the CPU and memory utilization of the application
C.
Use Cloud Monitoring to monitor the container CPU and memory utilization of the application
Answers
C.
Use Cloud Monitoring to monitor the container CPU and memory utilization of the application
D.
Use Cloud Ops to create logs-based metrics to monitor the resource utilization of the application
Answers
D.
Use Cloud Ops to create logs-based metrics to monitor the resource utilization of the application
Suggested answer: A

Explanation:

The best option for giving developers the ability to test the latest revisions of the service before the service is exposed to customers is to run the gcloud run deploy booking-engine --no-traffic --tag dev command and use the https://dev----booking-engine-abcdef.a.run.app URL for testing. The gcloud run deploy command is a command that deploys a new revision of your service or updates an existing service. By using the --no-traffic flag, you can prevent any traffic from being sent to the new revision. By using the --tag flag, you can assign a tag to the new revision, such as dev. This way, you can create a new revision of your service without affecting your customers. You can also use the tag-based URL (e.g., https://dev----booking-engine-abcdef.a.run.app) to access and test the new revision.

asked 18/09/2024
Siegfried Paul
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first