Google Cloud Certified – Associate Cloud Engineer Practice Exam (Q 79)
QUESTION 1
You need to host an application on a Google Compute Engine instance in a project shared with other teams.
You want to prevent the other teams from accidentally causing downtime on that application.
Which feature should you use?
- A. Use a Shielded VM.
- B. Use a Preemptible VM.
- C. Use a sole-tenant node.
- D. Enable deletion protection on the instance.
Correct Answer: D
Reference contents:
– Preventing Accidental VM Deletion | Compute Engine Documentation | Google Cloud
QUESTION 2
Your organization needs to grant users access to query datasets in BigQuery but prevent them from accidentally deleting the datasets.
You want a solution that follows Google-recommended practices.
What should you do?
- A. Add users to roles/bigquery user role only, instead of roles/bigquery dataOwner.
- B. Add users to roles/bigquery dataEditor role only, instead of roles/bigquery dataOwner.
- C. Create a custom role by removing delete permissions, and add users to that role only.
- D. Create a custom role by removing delete permissions. Add users to the group, and then add the group to the custom role.
Correct Answer: D
Reference contents:
– #BigQuery custom roles – Access control with IAM | BigQuery | Google Cloud
QUESTION 3
You have a developer laptop with the Cloud SDK installed on Ubuntu.
The Cloud SDK was installed from the Google Cloud Ubuntu package repository. You want to test your application locally on your laptop with Google Cloud Datastore.
What should you do?
- A. Export Google Cloud Datastore data using gcloud datastore export.
- B. Create a Google Cloud Datastore index using gcloud datastore indexes create.
- C. Install the google-cloud-sdk-datastore-emulator component using the apt get install command.
- D. Install the cloud-datastore-emulator component using the gcloud components install command.