ExamGecko
Home Home / Google / Professional Cloud DevOps Engineer

Google Professional Cloud DevOps Engineer Practice Test - Questions Answers, Page 17

Question list
Search
Search

Related questions











You are analyzing Java applications in production. All applications have Cloud Profiler and Cloud Trace installed and configured by default. You want to determine which applications need performance tuning. What should you do?

Choose 2 answers

A.
Examine the wall-clock time and the CPU time Of the application. If the difference is substantial, increase the CPU resource allocation.
A.
Examine the wall-clock time and the CPU time Of the application. If the difference is substantial, increase the CPU resource allocation.
Answers
B.
Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the memory resource allocation.
B.
Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the memory resource allocation.
Answers
C.
17 Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the local disk storage allocation.
C.
17 Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the local disk storage allocation.
Answers
D.
O Examine the latency time, the wall-clock time, and the CPU time of the application. If the latency time is slowly burning down the error budget, and the difference between wall-clock time and CPU time is minimal, mark the application for optimization.
D.
O Examine the latency time, the wall-clock time, and the CPU time of the application. If the latency time is slowly burning down the error budget, and the difference between wall-clock time and CPU time is minimal, mark the application for optimization.
Answers
E.
Examine the heap usage Of the application. If the usage is low, mark the application for optimization.
E.
Examine the heap usage Of the application. If the usage is low, mark the application for optimization.
Answers
Suggested answer: A, D

Explanation:

The correct answers are A and D.

Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the CPU resource allocation. This is a good way to determine if the application is CPU-bound, meaning that it spends more time waiting for the CPU than performing actual computation. Increasing the CPU resource allocation can improve the performance of CPU-bound applications1.

Examine the latency time, the wall-clock time, and the CPU time of the application. If the latency time is slowly burning down the error budget, and the difference between wall-clock time and CPU time is minimal, mark the application for optimization. This is a good way to determine if the application is I/O-bound, meaning that it spends more time waiting for input/output operations than performing actual computation. Increasing the CPU resource allocation will not help I/O-bound applications, and they may need optimization to reduce the number or duration of I/O operations2.

Answer B is incorrect because increasing the memory resource allocation will not help if the application is CPU-bound or I/O-bound. Memory allocation affects how much data the application can store and access in memory, but it does not affect how fast the application can process that data.

Answer C is incorrect because increasing the local disk storage allocation will not help if the application is CPU-bound or I/O-bound. Disk storage affects how much data the application can store and access on disk, but it does not affect how fast the application can process that data.

Answer E is incorrect because examining the heap usage of the application will not help to determine if the application needs performance tuning. Heap usage affects how much memory the application allocates for dynamic objects, but it does not affect how fast the application can process those objects. Moreover, low heap usage does not necessarily mean that the application is inefficient or unoptimized.

You deployed an application into a large Standard Google Kubernetes Engine (GKE) cluster. The application is stateless and multiple pods run at the same time. Your application receives inconsistent traffic. You need to ensure that the user experience remains consistent regardless of changes in traffic. and that the resource usage of the cluster is optimized.

What should you do?

A.
Configure a cron job to scale the deployment on a schedule.
A.
Configure a cron job to scale the deployment on a schedule.
Answers
B.
Configure a Horizontal Pod Autoscaler.
B.
Configure a Horizontal Pod Autoscaler.
Answers
C.
Configure a Vertical Pod Autoscaler.
C.
Configure a Vertical Pod Autoscaler.
Answers
D.
Configure cluster autoscaling on the node pool.
D.
Configure cluster autoscaling on the node pool.
Answers
Suggested answer: B

Your company operates in a highly regulated domain. Your security team requires that only trusted container images can be deployed to Google Kubernetes Engine (GKE). You need to implement a solution that meets the requirements of the security team, while minimizing management overhead. What should you do?

A.
Grant the roles/artifactregistry. writer role to the Cloud Build service account. Confirm that no employee has Artifact Registry write permission.
A.
Grant the roles/artifactregistry. writer role to the Cloud Build service account. Confirm that no employee has Artifact Registry write permission.
Answers
B.
Use Cloud Run to write and deploy a custom validator Enable an Eventarc trigger to perform validations when new images are uploaded.
B.
Use Cloud Run to write and deploy a custom validator Enable an Eventarc trigger to perform validations when new images are uploaded.
Answers
C.
Configure Kritis to run in your GKE clusters to enforce deploy-time security policies.
C.
Configure Kritis to run in your GKE clusters to enforce deploy-time security policies.
Answers
D.
Configure Binary Authorization in your GKE clusters to enforce deploy-time security policies
D.
Configure Binary Authorization in your GKE clusters to enforce deploy-time security policies
Answers
Suggested answer: D

You need to introduce postmortems into your organization during the holiday shopping season. You are expecting your web application to receive a large volume of traffic in a short period. You need to prepare your application for potential failures during the event What should you do?

Choose 2 answers

A.
Monitor latency of your services for average percentile latency.
A.
Monitor latency of your services for average percentile latency.
Answers
B.
Review your increased capacity requirements and plan for the required quota management.
B.
Review your increased capacity requirements and plan for the required quota management.
Answers
C.
Create alerts in Cloud Monitoring for all common failures that your application experiences.
C.
Create alerts in Cloud Monitoring for all common failures that your application experiences.
Answers
D.
Ensure that relevant system metrics are being captured with Cloud Monitoring and create alerts at levels of interest.
D.
Ensure that relevant system metrics are being captured with Cloud Monitoring and create alerts at levels of interest.
Answers
E.
Configure Anthos Service Mesh on the application to identify issues on the topology map.
E.
Configure Anthos Service Mesh on the application to identify issues on the topology map.
Answers
Suggested answer: B, D

You need to introduce postmortems into your organization. You want to ensure that the postmortem process is well received. What should you do?

Choose 2 answers

A.
Create a designated team that is responsible for conducting all postmortems.
A.
Create a designated team that is responsible for conducting all postmortems.
Answers
B.
Encourage new employees to conduct postmortems to learn through practice.
B.
Encourage new employees to conduct postmortems to learn through practice.
Answers
C.
Ensure that writing effective postmortems is a rewarded and celebrated practice.
C.
Ensure that writing effective postmortems is a rewarded and celebrated practice.
Answers
D.
Encourage your senior leadership to acknowledge and participate in postmortems.
D.
Encourage your senior leadership to acknowledge and participate in postmortems.
Answers
E.
Provide your organization with a forum to critique previous postmortems.
E.
Provide your organization with a forum to critique previous postmortems.
Answers
Suggested answer: C, D

You have an application that runs on Cloud Run. You want to use live production traffic to test a new version of the application while you let the quality assurance team perform manual testing. You want to limit the potential impact of any issues while testing the new version, and you must be able to roll back to a previous version of the application if needed. How should you deploy the new version?

Choose 2 answers

A.
Deploy the application as a new Cloud Run service.
A.
Deploy the application as a new Cloud Run service.
Answers
B.
Deploy a new Cloud Run revision with a tag and use the ---no-traffic option.
B.
Deploy a new Cloud Run revision with a tag and use the ---no-traffic option.
Answers
C.
Deploy a new Cloud Run revision without a tag and use the ---no-traffic option.
C.
Deploy a new Cloud Run revision without a tag and use the ---no-traffic option.
Answers
D.
Deploy the new application version and use the ---no-traffic option Route production traffic to the revision's URL.
D.
Deploy the new application version and use the ---no-traffic option Route production traffic to the revision's URL.
Answers
E.
Deploy the new application version and split traffic to the new version.
E.
Deploy the new application version and split traffic to the new version.
Answers
Suggested answer: B, E
Total 166 questions
Go to page: of 17