Google-Professional-Cloud-DevOps-Engineer Professional Cloud DevOps Engineer

Loading demo links...

Showing 7–9 of 10 questions

Question 7

You support an e-commerce application that runs on a large Google Kubernetes Engine (GKE) cluster deployed on-premises and on Google Cloud Platform. The application consists of microservices that run in containers. You want to identify containers that are using the most CPU and memory. What should you do?

Select an option, then click Submit answer.

  • Use Stackdriver Kubernetes Engine Monitoring.

  • Use Prometheus to collect and aggregate logs per container, and then analyze the results in Grafana.

  • Use the Stackdriver Monitoring API to create custom metrics, and then organize your containers using groups.

  • Use Stackdriver Logging to export application logs to BigQuery, aggregate logs per container, and then analyze CPU and memory consumption.

Question 8

You are deploying an application that needs to access sensitive information. You need to ensure that this information is encrypted and the risk of exposure is minimal if a breach occurs. What should you do?

Select an option, then click Submit answer.

  • Store the encryption keys in Cloud Key Management Service (KMS) and rotate the keys frequently

  • Inject the secret at the time of instance creation via an encrypted configuration management system.

  • Integrate the application with a Single sign-on (SSO) system and do not expose secrets to the application.

  • Leverage a continuous build pipeline that produces multiple versions of the secret for each instance of the application.

Question 9

You are working with a government agency that requires you to archive application logs for seven years. You need to configure Stackdriver to export and store the logs while minimizing costs of storage. What should you do?

Select an option, then click Submit answer.

  • Create a Cloud Storage bucket and develop your application to send logs directly to the bucket.

  • Develop an App Engine application that pulls the logs from Stackdriver and saves them in BigQuery.

  • Create an export in Stackdriver and configure Cloud Pub/Sub to store logs in permanent storage for seven years.

  • Create a sink in Stackdriver, name it, create a bucket on Cloud Storage for storing archived logs, and then select the bucket as the log export destination.