Google (ACE) Exam Questions And Answers page 10
You have a workload running on Compute Engine that is critical to your business. You want to ensure that the data on the boot disk of this workload is backed up regularly. You need to be able to restore a backup as quickly as possible in case of disaster. You also want older backups to be cleaned automatically to save on cost. You want to follow Google-recommended practices. What should you do?
Create a snapshot schedule for the disk using the desired interval.
Create a cron job to create a new disk from the disk using gcloud.
Create a Cloud Task to create an image and export it to Cloud Storage.
GCP Computing Services
GCP Monitoring and Operations
You have been asked to set up Object Lifecycle Management for objects stored in storage buckets. The objects are written once and accessed frequently for 30 days. After 30 days, the objects are not read again unless there is a special need. The objects should be kept for three years, and you need to minimize cost. What should you do?
Set up a policy that uses Nearline storage for 30 days and then moves to Archive storage for three years.
Set up a policy that uses Standard storage for 30 days and then moves to Archive storage for three years.
Set up a policy that uses Nearline storage for 30 days, then moves the Coldline for one year, and then moves to Archive storage for two years.
Set up a policy that uses Standard storage for 30 days, then moves to Coldline for one year, and then moves to Archive storage for two years.
GCP Storage Services
GCP Monitoring and Operations
You have created a code snippet that should be triggered whenever a new file is uploaded to a Cloud Storage bucket. You want to deploy this code snippet. What should you do?
Use App Engine and configure Cloud Scheduler to trigger the application using Pub/Sub.
Use Cloud Functions and configure the bucket as a trigger resource.
Use Google Kubernetes Engine and configure a CronJob to trigger the application using Pub/Sub.
Use Dataflow as a batch job, and configure the bucket as a data source.
GCP Storage Services
You have created a code snippet that should be triggered whenever a new file is uploaded to a Cloud Storage bucket. You want to deploy this code snippet. What should you do?
Use App Engine and configure Cloud Scheduler to trigger the application using Pub/Sub.
Use Cloud Functions and configure the bucket as a trigger resource.
Use Google Kubernetes Engine and configure a CronJob to trigger the application using Pub/Sub.
Use Dataflow as a batch job, and configure the bucket as a data source.
GCP Storage Services
You have created an application that is packaged into a Docker image. You want to deploy the Docker image as a workload on Google Kubernetes Engine. What should you do?
Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
Upload the image to Container Registry and create a Kubernetes Service referencing the image.
Upload the image to Container Registry and create a Kubernetes Deployment referencing the image.
Managing GCP Resources
GCP Monitoring and Operations
You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute Engine instance using the CLI. You need to perform the prerequisite stops. What should you do?
Create a Cloud Monitoring Workspace.
Create a VPC network in the project.
Enable the compute googleapis.com API.
Grant yourself the IAM role of Computer Admin.
GCP Computing Services
You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?
Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
Configure a Health Check on the instance and set a Low Healthy Threshold value.
Navigate to Cloud Logging and view the application logs.
Connect to the instance s serial console and read the application logs.
Managing GCP Resources
GCP Monitoring and Operations
You have designed a solution on Google Cloud that uses multiple Google Cloud products. Your company has asked you to estimate the costs of the solution. You need to provide estimates for the monthly total cost. What should you do?
For each Google Cloud product in the solution, review the pricing details on the products pricing page. Use the pricing calculator to total the monthly costs for each Google Cloud product.
For each Google Cloud product in the solution, review the pricing details on the products pricing page. Create a Google Sheet that summarizes the expected monthly costs for each product.
Provision the solution on Google Cloud. Leave the solution provisioned for 1 week. Use Cloud Monitoring to determine the provisioned and used resource amounts. Multiply the 1 week cost to determine the monthly costs.
Provision the solution on Google Cloud. Leave the solution provisioned for 1 week. Navigate to the Billing Report page in the Cloud Console. Multiply the 1 week cost to determine the monthly costs.
Managing GCP Resources
GCP Networking Services
You have developed a containerized web application that will serve internal colleagues during business hours. You want to ensure that no costs are incurred outside of the hours the application is used. You have just created a new Google Cloud project and want to deploy the application. What should you do?
Deploy the container on Cloud Run for Anthos, and set the minimum number of instances to zero.
Deploy the container on Cloud Run (fully managed), and set the minimum number of instances to zero.
Deploy the container on App Engine flexible environment with autoscaling, and set the value min_instances to zero in the app.yaml.
Deploy the container on App Engine flexible environment with manual scaling, and set the value instances to zero in the app.yaml.
Managing GCP Resources
GCP Monitoring and Operations
You have developed an application that consists of multiple microservices, with each microservice packaged in its own Docker container image. You want to deploy the entire application on Google Kubernetes Engine so that each microservice can be scaled individually. What should you do?
Create and deploy a Custom Resource Definition per microservice.
Create and deploy a Docker Compose File.
Create and deploy a Job per microservice.
Create and deploy a Deployment per microservice.
Managing GCP Resources
GCP Security
Comments