Exam Information
Free practice questions with explanations
Google Associate-Cloud-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 12
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Configuring access and security
A fintech company runs a nightly batch job on Compute Engine VMs in project prod-analytics. The VMs use a user-managed service account batch-runner@prod-analytics.iam.gserviceaccount.com, which currently holds the Editor role at the project level. A security review found that the job only reads objects from one Cloud Storage bucket and writes rows to one BigQuery dataset. The team must reduce privileges without causing job failures during the nightly run, and the auditors want the change to be verifiable with minimal manual effort. Which action should the engineer take FIRST?
Correct Answer: BExplanationIAM Recommender analyses permissions actually used over the past 90 days and proposes narrower roles, which lets the team minimise privileges based on evidence rather than guesswork. Validating against the nightly job before applying avoids breakage. Granting a custom role at project level still gives broader scope than the bucket and dataset need, and the default Compute Engine service account carries Editor by default, so switching to it fails the security goal. Granting Viewer at organization level expands scope rather than reducing it and does not provide write access to BigQuery.
-
2 Question 2 Multiple choice Ensuring the successful operation of a cloud solution
A media company runs a GKE Standard cluster with a node pool named batch-pool that hosts a transcoding workload. Nodes in batch-pool use a custom image, and Pods pull images from an Artifact Registry repository in the same project. Engineers report that new Pods are stuck in ImagePullBackOff after a node pool upgrade. The cluster nodes are using the default Compute Engine service account, which the security team has stripped of all roles except logging and monitoring. The company wants to restore image pulls without granting broad project-wide permissions and without changing the Pod specifications. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: C, DExplanationGKE nodes authenticate to Artifact Registry using the node's service account, so that account needs an Artifact Registry read role; Artifact Registry Reader on the specific repository is the least-privilege grant that meets the requirement. Granting the same role at project level also works functionally, since it is a permission to read images, though it is broader than the repository-scoped grant. Pod specification changes are excluded by the stem, and Project Owner violates least privilege. Enabling the API is irrelevant because the failure is authorisation, not API availability.
-
3 Question 3 Order list Planning and implementing a cloud solution
A retail company wants to move a legacy inventory service from a single Compute Engine VM to a highly available, autoscaled configuration in us-central1. The service must run on identical machines, pick up new configuration automatically, and tolerate the loss of a zone without manual intervention. The engineer has an existing boot disk image and must complete the setup while keeping a rollback option. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Create a regional managed instance group from the instance template.
- Create an instance template that references the image and specifies the machine type and startup configuration.
- Attach a health check to the managed instance group and configure autohåealing.
- Configure an autoscaling policy on the managed instance group based on CPU utilisation.
- Create a custom image from the existing VM's boot disk after stopping the VM or using a consistent snapshot.
Correct Answer:- Create an instance template that references the image and specifies the machine type and startup configuration.
- Create a regional managed instance group from the instance template.
- Configure an autoscaling policy on the managed instance group based on CPU utilisation.
- Create a custom image from the existing VM's boot disk after stopping the VM or using a consistent snapshot.
- Attach a health check to the managed instance group and configure autohåealing.
ExplanationThe custom image must exist before any template can reference it, so capturing it from the boot disk comes first. The instance template then defines the machine configuration, and the regional managed instance group distributes instances across zones for zone-loss tolerance. Autoscaling policy is applied to the group, and the health check with autohealing is attached last so unhealthy instances are recreated automatically.
-
4 Question 4 Drag and drop Setting up a cloud solution environment
A healthcare startup is establishing its Google Cloud foundation. Its compliance team requires that no resource in any project be created outside the europe-west1 and europe-west4 regions, that billing be consolidated under a single billing account while each department has its own project, and that the finance team receive alerts when monthly spend approaches a fixed threshold. Match each requirement to the configuration that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Give each department isolated resources while keeping one invoicePrevent resource creation outside the approved European regions across the whole hierarchyNotify finance when monthly spend nears a thresholdCloud Asset Inventory export to BigQueryCloud Billing budget with threshold alert rulesOrganization policy with the gcp.resourceLocations constraintShared VPC host projectSeparate projects linked to one Cloud Billing accountCorrect Answer:- Prevent resource creation outside the approved European regions across the whole hierarchy → Organization policy with the gcp.resourceLocations constraint
- Give each department isolated resources while keeping one invoice → Separate projects linked to one Cloud Billing account
- Notify finance when monthly spend nears a threshold → Cloud Billing budget with threshold alert rules
ExplanationThe gcp.resourceLocations organisation policy constraint restricts where resources may be created and can be applied at the organisation, folder or project level. Department isolation with consolidated billing is achieved by creating separate projects linked to one billing account, since billing accounts are not hierarchical containers of resources. Budgets with threshold rules send alerts when spending crosses the configured percentages. Asset Inventory export tracks what exists rather than enforcing location, and Shared VPC concerns network sharing rather than billing or location control.
-
5 Question 5 Single choice Ensuring the successful operation of a cloud solution
A SaaS provider runs a Cloud Run service named checkout-api in europe-west1 that receives strongly variable traffic. The team has been deploying revisions manually and sending all traffic to the latest revision, which caused a regression last week that affected customers for 40 minutes. The new requirement is to roll out a candidate revision to a small share of traffic, observe error rates for 15 minutes, and move traffic gradually to the new version while keeping instant rollback. The service must also keep at least two warm instances during business hours to meet a latency SLO. Which approach best meets these requirements?
Correct Answer: CExplanationCloud Run lets you deploy a revision without routing traffic to it and then assign percentages across revisions, which supports gradual rollout and immediate rollback by shifting traffic back to the previous revision. Minimum instances controls warm capacity to address the latency SLO. Routing all traffic to the new revision removes the safety net the team needs. A separate service complicates traffic management and maximum instances does not keep instances warm. GKE node pool autoscaling is unrelated to a fully managed Cloud Run service.
-
6 Question 6 Single choice Planning and implementing a cloud solution
A genomics lab runs a nightly pipeline that processes roughly 400 independent sample files. Each file takes about 30 minutes on a 16-vCPU machine, and the work can be retried safely if an instance is reclaimed. The lab wants the lowest-cost compute option that completes the batch within a six-hour window and tolerates preemption. A few samples require a specific instruction set extension that is available only with a custom machine type. Which configuration is the BEST choice?
Correct Answer: DExplanationSpot VMs offer substantially lower prices than standard VMs and are appropriate for fault-tolerant, retryable batch work since they can be preempted. Custom machine types satisfy the specific hardware requirement, and autoscaling to queue depth lets the group expand to finish within six hours. Standard on-demand VMs cost more with no benefit given the retry tolerance. A single VM running sequentially cannot finish 400 thirty-minute jobs in six hours at 96 vCPUs in a reasonable way and has no fault tolerance. Autopilot does not support custom machine types, which rules it out despite its convenience.
-
7 Question 7 Multiple choice Configuring access and security
A company has a GKE Standard cluster named ledger in a project. Application Pods in the ledger-app namespace must call Cloud Storage using their own identity rather than the node service account. The team wants to use Workload Identity Federation for GKE, meaning the Kubernetes service account must be bound to a Google Cloud service account, and no exported keys may exist. The security team also requires that the Google Cloud service account be granted only the storage role it needs on a single bucket. Which TWO actions are required to meet these requirements? (Choose two.)
Correct Answer: A, CExplanationWorkload Identity requires the cluster to have Workload Identity enabled and the Kubernetes service account to be annotated with the Google Cloud service account it should impersonate. The Google Cloud service account must also grant roles/iam.workloadIdentityUser to the Kubernetes identity so the binding is authorised. Exporting a JSON key violates the no-keys rule, and project-wide Storage Admin violates least privilege. GKE_METADATA mode is a node-pool setting that is part of the mechanism but attaching the node service account does not give Pods their own identity.
-
8 Question 8 Single choice Setting up a cloud solution environment
An enterprise has a Google Cloud organisation with folders for each business unit. A central platform team must ensure that the Compute Engine API is enabled only in projects that belong to the 'payments' folder, and that teams there cannot enable the Cloud SQL API themselves. Business units keep self-service project creation. The platform team also wants a single place to see which APIs are enabled across the organisation for audit. Which approach best meets these requirements?
Correct Answer: CExplanationThe Organization Policy constraint that restricts service usage can be applied at the folder level so that projects beneath it may enable only approved services, which allows teams to keep self-service project creation while enforcing the allowed list. Cloud Asset Inventory provides a central, queryable view of resources and their configuration for audit. Granting admin rights to the platform team contradicts the self-service goal, removing the Service Usage API breaks normal operations, and budget alerts do not control enablement.
-
9 Question 9 Order list Ensuring the successful operation of a cloud solution
A team needs to restore a critical Compute Engine VM after a bad package upgrade corrupted its boot disk. Snapshots of the boot disk are taken daily under a scheduled snapshot policy, and the VM must be recovered with minimal data loss while keeping the damaged disk for forensic review. The VM name and internal IP must be preserved for dependent services. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Rename or detach the damaged boot disk so it can be preserved for forensic review.
- Verify application health on the recovered VM and update monitoring checks if needed.
- Stop the corrupted VM instance so that its boot disk is no longer in use.
- Create a new boot disk from the most recent good snapshot in the same zone.
- Create a new VM with the same name and internal IP using the restored disk as its boot disk.
Correct Answer:- Stop the corrupted VM instance so that its boot disk is no longer in use.
- Rename or detach the damaged boot disk so it can be preserved for forensic review.
- Create a new boot disk from the most recent good snapshot in the same zone.
- Create a new VM with the same name and internal IP using the restored disk as its boot disk.
- Verify application health on the recovered VM and update monitoring checks if needed.
ExplanationThe VM must be stopped before its boot disk can be detached or replaced safely. The damaged disk is then preserved by detaching or renaming it, after which a new boot disk is created from the most recent good snapshot. A replacement VM is created with the original name and internal IP, which requires the old instance to be gone first. Health verification comes last to confirm the service works before the incident is closed.
-
10 Question 10 Single choice Configuring access and security
An engineer is troubleshooting a permissions failure. A Cloud Function in project analytics-prod is invoked by Cloud Scheduler and must read objects from a bucket in project data-lake. The function's runtime service account is granted roles/storage.objectViewer on the data-lake bucket, yet calls fail with a 403 error. The bucket has uniform bucket-level access enabled, and a deny policy exists on the data-lake project that denies storage.objects.get for principals with the attribute 'department' equal to 'contractors'. The function's service account belongs to the 'contractors' department, which is set in IAM Conditions metadata. Which action most directly resolves the failure while honouring the deny policy?
Correct Answer: AExplanationDeny policies take precedence over allow grants, so granting a higher role such as Storage Admin cannot override the deny. Since the function's identity carries the 'contractors' attribute that the deny targets, the direct fix is to correct the principal's classification if it is wrong, or to address the deny policy by scoping an exception after review. Public access prevention does not make the bucket readable to the function and is unrelated to the 403. Moving the service account to another project does not change the deny policy's effect because it is evaluated at the data-lake project's boundary for that principal.
-
11 Question 11 Drag and drop Ensuring the successful operation of a cloud solution
A team operates a GKE Autopilot cluster hosting a stateful analytics workload and a set of stateless web Pods. Engineers need to inspect cluster inventory, scale the web tier based on CPU, and prevent resource requests from being set too low on Autopilot, which bills on requested Pod resources. Match each need to the Kubernetes or GKE capability that addresses it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Review nodes, Pods, and Services present in the cluster at a glanceGive each replica of the stateful workload a stable network identity and its own persistent volumeAutomatically increase replica count of the stateless web Deployment based on CPU usageCluster Autoscaler on a manually created node poolkubectl get commands against the clusterHorizontal Pod AutoscalerPodDisruptionBudgetStatefulSetCorrect Answer:- Automatically increase replica count of the stateless web Deployment based on CPU usage → Horizontal Pod Autoscaler
- Give each replica of the stateful workload a stable network identity and its own persistent volume → StatefulSet
- Review nodes, Pods, and Services present in the cluster at a glance → kubectl get commands against the cluster
ExplanationThe Horizontal Pod Autoscaler changes replica counts for a Deployment based on observed metrics such as CPU. StatefulSets provide stable identities and per-replica storage needed by the stateful workload. Inventory of nodes, Pods, and Services is gathered with kubectl get commands. Cluster Autoscaler and node pools are not used on Autopilot, where node management is handled by the platform, and PodDisruptionBudget governs voluntary disruptions rather than scaling or identity.
-
12 Question 12 Single choice Planning and implementing a cloud solution
A global e-commerce company is designing storage for a boot-and-data Compute Engine workload in us-east4 that runs a relational database requiring high IOPS and that must be able to fail over to another zone within the same region with minimal data loss. The team evaluated zonal and regional Persistent Disk and Hyperdisk options. Cost is a secondary concern, and the database uses synchronous replication at the application layer for failover. Which storage choice is BEST for the data volume?
Correct Answer: BExplanationHyperdisk Balanced provides configurable high IOPS and throughput suited to demanding databases, and the application-level synchronous replication to a standby in another zone satisfies the minimal data loss requirement stated in the stem. Regional Persistent Disk replicates across zones but does not deliver the same high-performance profile the workload needs, and the stem already accepts application-level replication, making it less suitable. A zonal disk with nightly snapshots yields data loss up to a day. Local SSD is ephemeral and would lose data on host failure, so it cannot meet the durability requirement.
These are 12 of the 363 questions in the full Associate-Cloud-Engineer pack.
Get All 363 QuestionsGet all 363 questions & answers
Full access options for Google Associate-Cloud-Engineer
Self-study
PDF Version
- 363 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 363 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 363 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Associate-Cloud-Engineer Exam (Google Associate Cloud Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.