Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Google Cloud DevOps Engineer Professional-Cloud-DevOps-Engineer Questions and answers with CertsForce

Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

You have deployed a fleet Of Compute Engine instances in Google Cloud. You need to ensure that monitoring metrics and logs for the instances are visible in Cloud Logging and Cloud Monitoring by your company's operations and cyber

security teams. You need to grant the required roles for the Compute Engine service account by using Identity and Access Management (IAM) while following the principle of least privilege. What should you do?

Options:

A.

Grant the logging.editor and monitoring.metricwriter roles to the Compute Engine service accounts.


B.

Grant the Logging. admin and monitoring . editor roles to the Compute Engine service accounts.


C.

Grant the logging. logwriter and monitoring. editor roles to the Compute Engine service accounts.


D.

Grant the logging. logWriter and monitoring. metricWriter roles to the Compute Engine service accounts.


Expert Solution
Questions # 42:

You recently migrated an ecommerce application to Google Cloud. You now need to prepare the application for the upcoming peak traffic season. You want to follow Google-recommended practices. What should you do first to prepare for the busy season?

Options:

A.

Migrate the application to Cloud Run, and use autoscaling.


B.

Load test the application to profile its performance for scaling.


C.

Create a Terraform configuration for the application's underlying infrastructure to quickly deploy to additional regions.


D.

Pre-provision the additional compute power that was used last season, and expect growth.


Expert Solution
Questions # 43:

Your application runs on Google Cloud Platform (GCP). You need to implement Jenkins for deploying application releases to GCP. You want to streamline the release process, lower operational toil, and keep user data secure. What should you do?

Options:

A.

Implement Jenkins on local workstations.


B.

Implement Jenkins on Kubernetes on-premises


C.

Implement Jenkins on Google Cloud Functions.


D.

Implement Jenkins on Compute Engine virtual machines.


Expert Solution
Questions # 44:

You want to share a Cloud Monitoring custom dashboard with a partner team What should you do?

Options:

A.

Provide the partner team with the dashboard URL to enable the partner team to create a copy of the dashboard


B.

Export the metrics to BigQuery Use Looker Studio to create a dashboard, and share the dashboard with the partner team


C.

Copy the Monitoring Query Language (MQL) query from the dashboard; and send the MQL query to the partner team


D.

Download the JSON definition of the dashboard, and send the JSON file to the partner team


Expert Solution
Questions # 45:

You need to define Service Level Objectives (SLOs) for a high-traffic multi-region web application. Customers expect the application to always be available and have fast response times. Customers are currently happy with the application performance and availability. Based on current measurement, you observe that the 90th percentile of latency is 120ms and the 95th percentile of latency is 275ms over a 28-day window. What latency SLO would you recommend to the team to publish?

Options:

A.

90th percentile – 100ms95th percentile – 250ms


B.

90th percentile – 120ms95th percentile – 275ms


C.

90th percentile – 150ms95th percentile – 300ms


D.

90th percentile – 250ms95th percentile – 400ms


Expert Solution
Questions # 46:

You are performing a semi-annual capacity planning exercise for your flagship service You expect a service user growth rate of 10% month-over-month for the next six months Your service is fully containerized and runs on a Google Kubemetes Engine (GKE) standard cluster across three zones with cluster autoscaling enabled You currently consume about 30% of your total deployed CPU capacity and you require resilience against the failure of a zone. You want to ensure that your users experience minimal negative impact as a result of this growth o' as a result of zone failure while you avoid unnecessary costs How should you prepare to handle the predicted growth?

Options:

A.

Verify the maximum node pool size enable a Horizontal Pod Autoscaler and then perform a load lest to verify your expected resource needs


B.

Because you deployed the service on GKE and are using a cluster autoscaler your GKE cluster will scale automatically regardless of growth rate


C.

Because you are only using 30% of deployed CPU capacity there is significant headroom and you do not need to add any additional capacity for this rate of growth


D.

Proactively add 80% more node capacity to account for six months of 10% growth rate and then perform a load test to ensure that you have enough capacity


Expert Solution
Questions # 47:

You support an application running on GCP and want to configure SMS notifications to your team for the most critical alerts in Stackdriver Monitoring. You have already identified the alerting policies you want to configure this for. What should you do?

Options:

A.

Download and configure a third-party integration between Stackdriver Monitoring and an SMS gateway. Ensure that your team members add their SMS/phone numbers to the external tool.


B.

Select the Webhook notifications option for each alerting policy, and configure it to use a third-party integration tool. Ensure that your team members add their SMS/phone numbers to the external tool.


C.

Ensure that your team members set their SMS/phone numbers in their Stackdriver Profile. Select the SMS notification option for each alerting policy and then select the appropriate SMS/phone numbers from the list.


D.

Configure a Slack notification for each alerting policy. Set up a Slack-to-SMS integration to send SMS messages when Slack messages are received. Ensure that your team members add their SMS/phone numbers to the external integration.


Expert Solution
Questions # 48:

Your team is designing a new application for deployment both inside and outside Google Cloud Platform (GCP). You need to collect detailed metrics such as system resource utilization. You want to use centralized GCP services while minimizing the amount of work required to set up this collection system. What should you do?

Options:

A.

Import the Stackdriver Profiler package, and configure it to relay function timing data to Stackdriver for further analysis.


B.

Import the Stackdriver Debugger package, and configure the application to emit debug messages with timing information.


C.

Instrument the code using a timing library, and publish the metrics via a health check endpoint that is scraped by Stackdriver.


D.

Install an Application Performance Monitoring (APM) tool in both locations, and configure an export to a central data storage location for analysis.


Expert Solution
Questions # 49:

Your company runs applications in Google Kubernetes Engine (GKE). Several applications rely on ephemeral volumes. You noticed some applications were unstable due to the DiskPressure node condition on the worker nodes. You need

to identify which Pods are causing the issue, but you do not have execute access to workloads and nodes. What should you do?

Options:

A.

Check the node/ephemeral_storage/used_bytes metric by using Metrics Explorer.


B.

Check the metric by using Metrics Explorer.


C.

Locate all the Pods with emptyDir volumes. use the df-h command to measure volume disk usage.


D.

Locate all the Pods with emptyDir volumes. Use the du -sh * command to measure volume disk usage.


Expert Solution
Questions # 50:

You need to deploy a new service to production. The service needs to automatically scale using a Managed Instance Group (MIG) and should be deployed over multiple regions. The service needs a large number of resources for each instance and you need to plan for capacity. What should you do?

Options:

A.

Use the n2-highcpu-96 machine type in the configuration of the MIG.


B.

Monitor results of Stackdriver Trace to determine the required amount of resources.


C.

Validate that the resource requirements are within the available quota limits of each region.


D.

Deploy the service in one region and use a global load balancer to route traffic to this region.


Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions