Google certification · Exam Associate-Cloud-Engineer

Associate-Cloud-Engineer Mock Exam Page 3

Google Cloud Certified - Associate Cloud Engineer

Free Associate-Cloud-Engineer mock exam questions 21–30, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free Associate-Cloud-Engineer questions

21–30 of 33 free
Question 21 Choose 1

You deployed an App Engine application using gcloud app deploy, but it did not deploy to the intended
project. You want to find out why this happened and where the application deployed. What should you do?

Show answerHide answer

Correct answer: A

Check the app.yaml file for your application and check project settings.

Question 22 Choose 1

You are the project owner of a GCP project and want to delegate control to colleagues to manage buckets and
files in Cloud Storage. You want to follow Google-recommended practices. Which IAM roles should you
grant your colleagues?

Show answerHide answer

Correct answer: B

Storage Admin

Question 23 Choose 1

You have one project called proj-sa where you manage all your service accounts. You want to be able to use a
service account from this project to take snapshots of VMs running in another project called proj-vm. What
should you do?

Show answerHide answer

Correct answer: C

Grant the service account the IAM Role of Compute Storage Admin in the project called proj-vm.

Question 24 Choose 1

You have a development project with appropriate IAM roles defined. You are creating a production project and want to have the same IAM roles on the new project, using the fewest possible steps. What should you do?

Show answerHide answer

Correct answer: B

Use gcloud iam roles copy and specify your organization as the destination organization.

Question 25 Choose 1

You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?

Show answerHide answer

Correct answer: C

Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment
YAML file to point to that image. Use kubectl to create the deployment with that file.

Explanation

Reference https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app

Question 26 Choose 1

You want to configure autohealing for network load balancing for a group of Compute Engine instances thatrun in multiple zones, using the fewest possible steps. You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?

Show answerHide answer

Correct answer: D

Create a managed instance group. Verify that the autoscaling setting is on.

Question 27 Choose 1

You have production and test workloads that you want to deploy on Compute Engine. Production VMs need to be in a different subnet than the test VMs. All the VMs must be able to reach each other over internal IP without creating additional routes. You need to set up VPC and the 2 subnets. Which configuration meets these requirements?

Show answerHide answer

Correct answer: A

Create a single custom VPC with 2 subnets. Create each subnet in a different region and with a different
CIDR range.

Question 28 Choose 1

You are deploying an application to App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times. Which scaling type should you use?

Show answerHide answer

Correct answer: D

Automatic Scaling with min_idle_instances set to 3.

Question 29 Choose 1

You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow
Google-recommended practices. What should you do?

Show answerHide answer

Correct answer: C

Add the auditor user accounts to the ‘logging.viewer’ and ‘bigQuery.dataViewer’ predefined IAM roles.

Question 30 Choose 1

You have one GCP account running in your default region and zone and another account running in a
non-default region and zone. You want to start a new Compute Engine instance in these two Google Cloud Platform accounts using the command line interface. What should you do?

Show answerHide answer

Correct answer: C

Activate two configurations using gcloud configurations activate [NAME]. Run gcloud config list to
start the Compute Engine instances.

Full mock exam

Sit the Associate-Cloud-Engineer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Associate-Cloud-Engineer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Associate-Cloud-Engineer mock exam
  • 65questions per mock
  • 105 mintime limit
  • 113questions in the bank
  • Newmock on every attempt