Google Associate Cloud Engineer Exam Practice Questions (P. 1)
- Full Access (326 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
Every employee of your company has a Google account. Your operational team needs to manage a large number of instances on Compute Engine. Each member of this team needs only administrative access to the servers. Your security team wants to ensure that the deployment of credentials is operationally efficient and must be able to determine who accessed a given instance. What should you do?
- AGenerate a new SSH key pair. Give the private key to each member of your team. Configure the public key in the metadata of each instance.
- BAsk each member of the team to generate a new SSH key pair and to send you their public key. Use a configuration management tool to deploy those keys on each instance.
- CAsk each member of the team to generate a new SSH key pair and to add the public key to their Google account. Grant the ג€compute.osAdminLoginג€ role to the Google group corresponding to this team.
- DGenerate a new SSH key pair. Give the private key to each member of your team. Configure the public key as a project-wide public SSH key in your Cloud Platform project and allow project-wide public SSH keys on each instance.Most Voted
Correct Answer:
D
Reference:
https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys
D
Reference:
https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys
send
light_mode
delete
Question #2
You need to create a custom VPC with a single subnet. The subnet's range must be as large as possible. Which range should you use?
- A0.0.0.0/0
- B10.0.0.0/8Most Voted
- C172.16.0.0/12
- D192.168.0.0/16
Correct Answer:
B
B

When setting up a custom VPC and defining your subnet range to be as extensive as possible, the best choice is using the 10.0.0.0/8 CIDR block. This range is reserved for private networks, encompassing about 16.7 million IP addresses, making it the largest available private subnet range. In contrast, options with /12 or /16 CIDRs are considerably smaller. Therefore, for maximizing IP address allocation in a custom VPC, 10.0.0.0/8 is the optimal selection.
send
light_mode
delete
Question #3
You want to select and configure a cost-effective solution for relational data on Google Cloud Platform. You are working with a small set of operational data in one geographic location. You need to support point-in-time recovery. What should you do?
- ASelect Cloud SQL (MySQL). Verify that the enable binary logging option is selected.Most Voted
- BSelect Cloud SQL (MySQL). Select the create failover replicas option.
- CSelect Cloud Spanner. Set up your instance with 2 nodes.
- DSelect Cloud Spanner. Set up your instance as multi-regional.
Correct Answer:
A
Reference:
https://cloud.google.com/sql/docs/mysql/backup-recovery/restore
A
Reference:
https://cloud.google.com/sql/docs/mysql/backup-recovery/restore
send
light_mode
delete
Question #4
You want to configure autohealing for network load balancing for a group of Compute Engine instances that run 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?
You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?
- ACreate an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP)
- BCreate an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
- CCreate a managed instance group. Set the Autohealing health check to healthy (HTTP)Most Voted
- DCreate a managed instance group. Verify that the autoscaling setting is on.
Correct Answer:
C
C

The correct answer, Option D, involves creating a managed instance group and ensuring that autoscaling is enabled. Autohealing in Google Cloud is configured within a managed instance group and uses health checks to determine instance status. If an instance fails the health checks, autohealing mechanisms can automatically recreate it, ensuring continued availability and stable operation without manual intervention. This approach is both efficient and in line with best practices for managing cloud resources that require high availability and robust performance.
send
light_mode
delete
Question #5
You are using multiple configurations for gcloud. You want to review the configured Kubernetes Engine cluster of an inactive configuration using the fewest possible steps. What should you do?
- AUse gcloud config configurations describe to review the output.
- BUse gcloud config configurations activate and gcloud config list to review the output.
- CUse kubectl config get-contexts to review the output.
- DUse kubectl config use-context and kubectl config view to review the output.Most Voted
Correct Answer:
D
Reference:
https://medium.com/google-cloud/kubernetes-engine-kubectl-config-b6270d2b656c
D
Reference:
https://medium.com/google-cloud/kubernetes-engine-kubectl-config-b6270d2b656c
send
light_mode
delete
Question #6
Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google's recommended practices. Which storage option should you use?
- AMulti-Regional StorageMost Voted
- BRegional Storage
- CNearline Storage
- DColdline Storage
Correct Answer:
D
Reference:
https://cloud.google.com/storage/docs/storage-classes#nearline
D
Reference:
https://cloud.google.com/storage/docs/storage-classes#nearline
send
light_mode
delete
Question #7
Several employees at your company have been creating projects with Cloud Platform and paying for it with their personal credit cards, which the company reimburses. The company wants to centralize all these projects under a single, new billing account. What should you do?
- AContact [email protected] with your bank account details and request a corporate billing account for your company.
- BCreate a ticket with Google Support and wait for their call to share your credit card details over the phone.
- CIn the Google Platform Console, go to the Resource Manage and move all projects to the root Organizarion.
- DIn the Google Cloud Platform Console, create a new billing account and set up a payment method.Most Voted
Correct Answer:
D
Reference:
https://www.whizlabs.com/blog/google-cloud-interview-questions/
D
Reference:
https://www.whizlabs.com/blog/google-cloud-interview-questions/
send
light_mode
delete
Question #8
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?
- AReserve the IP 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server.Most Voted
- BReserve the IP 10.0.3.21 as a static public IP address using gcloud and assign it to the licensing server.
- CUse the IP 10.0.3.21 as a custom ephemeral IP address and assign it to the licensing server.
- DStart the licensing server with an automatic ephemeral IP address, and then promote it to a static internal IP address.
Correct Answer:
A
A

When setting up the licensing server on Compute Engine for an application that looks for it at a specific internal IP address (10.0.3.21), the best approach is to reserve this exact IP as a static internal IP. This can be done during the instance creation in Google Cloud by using the gcloud CLI, which ensures that the IP address doesn't change over time, thus avoiding any unnecessary tweaks to your application's configuration. This step will make the IP dedicated to the licensing server, maintaining a consistent and predictable network environment for your application’s needs.
send
light_mode
delete
Question #9
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?
- AManual Scaling with 3 instances.
- BBasic Scaling with min_instances set to 3.
- CBasic Scaling with max_instances set to 3.
- DAutomatic Scaling with min_idle_instances set to 3.Most Voted
Correct Answer:
D
Reference:
https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed
D
Reference:
https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed
send
light_mode
delete
Question #10
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?
- AUse gcloud iam roles copy and specify the production project as the destination project.Most Voted
- BUse gcloud iam roles copy and specify your organization as the destination organization.
- CIn the Google Cloud Platform Console, use the 'create role from role' functionality.
- DIn the Google Cloud Platform Console, use the 'create role' functionality and select all applicable permissions.
Correct Answer:
A
Reference:
https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy
A
Reference:
https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy
send
light_mode
delete
All Pages