Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

Associate-Cloud-Engineer Practice Test


Page 5 out of 23 Pages

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?


A.

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


B.

Check the web-application.xml file for your application and check project settings.


C.

Go to Deployment Manager and review settings for deployment of applications.


D.

Go the Cloud Shell and run gcloud config list to review the Google Cloud configuration used for
deployment.





A.
  

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



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?


A.

Project Editor


B.

Storage Admin


C.

Storage Object Admin


D.

Storage Object Creator





B.
  

Storage Admin



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?


A.

Download the private key from the service account, and add it to each VMs custom metadata.


B.

Download the private key from the service account, and add the private key to each VM’s SSH keys.


C.

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


D.

When creating the VMs, set the service account’s API scope for Compute Engine to read/write.





C.
  

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



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?


A.

Use gcloud iam roles copy and specify the production project as the destination project.


B.

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


C.

In the Google Cloud Platform Console, use the ‘create role from role’ functionality.


D.

In the Google Cloud Platform Console, use the ‘create role’ functionality and select all applicable
permissions.





B.
  

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



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


A.

Use kubectl app deploy <dockerfilename>.


B.

Use gcloud app deploy <dockerfilename>.


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.


D.

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





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.



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


Page 5 out of 23 Pages
Previous