Vcehome > Google > Google Certifications > ASSOCIATE-CLOUD-ENGINEER > ASSOCIATE-CLOUD-ENGINEER Online Practice Questions and Answers

ASSOCIATE-CLOUD-ENGINEER Online Practice Questions and Answers

Questions 4

You've been tasked with getting all of your team's public SSH keys onto all of the instances of a particular project. You've collected them all. With the fewest steps possible, what is the simplest way to get the keys deployed?

A. Add all of the keys into a file that's formatted according to the requirements. Use the gcloud compute instances add-metadata command to upload the keys to each instance

B. Add all of the keys into a file that's formatted according to the requirements. Use the gcloud compute project-info add-metadata command to upload the keys.

C. Use the gcloud compute ssh command to upload all the keys

D. Format all of the keys as needed and then, using the user interface, upload each key one at a time.

Browse 363 Q&As
Questions 5

You're using Deployment Manager to deploy your application to an autoscaled, managed instance group on Compute Engine. The application is a single binary, What is the fastest way to get the binary onto the instance, without introducing undue complexity?

A. When creating the instance template use the startup script metadata key to bootstrap the application.

B. Use a "golden image" that contains everything you need.

C. When creating the instance template, use the startup script metadata key to install Ansible. Have the instance run the play-book at startup to install the application.

D. Once the instance starts up, connect over SSH and install the application.

Browse 363 Q&As
Questions 6

Your developers have some application metrics that they're tracking. They'd like to be able to create alerts based on these metrics. What steps need to happen in order to alert based on these metrics?

A. In the UI create a new logging metric with the required filters, edit the application code to set the metric value when needed, and create an alert in Stackdriver based on the new metric.

B. Create a custom monitoring metric in code, edit the application code to set the metric value when needed, create an alert in Stackdriver based on the new metric.

C. Add the Stackdriver monitoring and logging agent to the instances running the code.

D. Create a custom monitoring metric in code, in the UI create a matching logging metric, and create an alert in Stackdriver based on the new metric.

Browse 363 Q&As
Questions 7

You're trying to create a new Compute Engine instance with the Cloud SDK using the createcommand from the compute group and the instances sub-group. You've forgotten some of the flags and want to look them up using the man pages. Which command will display the documentation you need?

A. man compute_instances_create

B. man gcloud-compute-instances-create

C. man gcloud_compute_instances_create

D. man gcloud compute instances create

Browse 363 Q&As
Questions 8

Your continuous integration and delivery (CI/CD) server can't execute Google Cloud actions in a specific project because of permission issues. You need to validate whether the used service account has the appropriate roles in the specific project.

What should you do?

A. Open the Google Cloud console, and check the Identity and Access Management (IAM) roles assigned to the service account at the project or inherited from the folder or organization levels.

B. Open the Google Cloud console, and check the organization policies.

C. Open the Google Cloud console, and run a query to determine which resources this service account can access.

D. Open the Google Cloud console, and run a query of the audit logs to find permission denied errors for this service account.

Browse 363 Q&As
Questions 9

You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?

A. Create a cron job that runs on a scheduled basis to review stackdriver monitoring metrics, and then resize the Spanner instance accordingly.

B. Create a Stackdriver alerting policy to send an alert to oncall SRE emails when Cloud Spanner CPU exceeds the threshold. SREs would scale resources up or down accordingly.

C. Create a Stackdriver alerting policy to send an alert to Google Cloud Support email when Cloud Spanner CPU exceeds your threshold. Google support would scale resources up or down accordingly.

D. Create a Stackdriver alerting policy to send an alert to webhook when Cloud Spanner CPU is over or under your threshold. Create a Cloud Function that listens to HTTP and resizes Spanner resources accordingly.

Browse 363 Q&As
Questions 10

You have an application that looks for its licensing server on the IP 10.0.3.21. You need to deploy the licensing server on Compute Engine. You do not want to change the configuration of the application and want the application to be able to reach the licensing server. What should you do?

A. Reserve the IP 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server.

B. Reserve the IP 10.0.3.21 as a static public IP address using gcloud and assign it to the licensing server.

C. Use the IP 10.0.3.21 as a custom ephemeral IP address and assign it to the licensing server.

D. Start the licensing server with an automatic ephemeral IP address, and then promote it to a static internal IP address.

Browse 363 Q&As
Questions 11

You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do?

A. Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.

B. Create an instance template, and use the template in a managed instance group with autoscaling configured.

C. Create an instance template, and use the template in a managed instance group that scales up and down based on the time of day.

D. Use a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.

Browse 363 Q&As
Questions 12

You want to run a single caching HTTP reverse proxy on GCP for a latency-sensitive website. This specific reverse proxy consumes almost no CPU. You want to have a 30-GB in-memory cache, and need an additional 2 GB of memory for the rest of the processes. You want to minimize cost. How should you run this reverse proxy?

A. Create a Cloud Memorystore for Redis instance with 32-GB capacity.

B. Run it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory.

C. Package it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes.

D. Run it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB.

Browse 363 Q&As
Questions 13

You manage three Google Cloud projects with the Cloud Monitoring API enabled. You want to follow Google-recommended practices to visualize CPU and network metrics for all three projects together. What should you do?

A. 1. Create a Cloud Monitoring Dashboard

2.

Collect metrics and publish them into the Pub/Sub topics

3.

Add CPU and network Charts (or each of (he three projects

B. 1. Create a Cloud Monitoring Dashboard.

2.

Select the CPU and Network metrics from the three projects.

3.

Add CPU and network Charts lot each of the three protects.

C. 1 Create a Service Account and apply roles/viewer on the three projects

2.

Collect metrics and publish them lo the Cloud Monitoring API

3.

Add CPU and network Charts for each of the three projects.

D. 1. Create a fourth Google Cloud project 2 Create a Cloud Workspace from the fourth project and add the other three projects

Browse 363 Q&As
Exam Name: Associate Cloud Engineer
Last Update:
Questions: 363 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99