Free Practice · No Signup Required
30 Free GCP GCP-ACE Practice Questions
Real practice questions for the GCP Cloud Engineer (GCP-ACE) exam, with answers and detailed explanations. Updated 2026.
Free questions
30
Passing score
Not publicly disclosed (scaled scoring)
Exam time
120 minutes
Question pool
179+ Questions
Below are 30 real practice questions for the GCP Cloud Engineer (GCP-ACE) exam. Each question shows the correct answer and a detailed explanation when you reveal it. Use these to benchmark your readiness — if you score below 70% on these 30 questions, plan for at least 4 more weeks of study before booking.
GCP-ACE Practice Questions
- FreePracticeQuiz.questionLabelCloud SolutionsYou significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes. What should you do?AUse granular logging statements within a Deployment Manager template authored in Python.BMonitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.CExecute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.DExecute the Deployment Manager template using the C-preview option in the same project, and observe the state of interdependent resources.
- FreePracticeQuiz.questionLabelNetworkingYour company has a 3-tier solution running on Compute Engine. The configuration of the current infrastructure is shown below. Each tier has a service account that is associated with all instances within it. You need to enable communication on TCP port 8080 between tiers as follows: Instances in tier #1 must communicate with tier #2. Instances in tier #2 must communicate with tier #3. What should you do? A1. Create an ingress firewall rule with the following settings: Targets: all instances. Source filter: IP ranges (with the range set to 10.0.2.0/24). Protocols: allow all. 2. Create an ingress firewall rule with the following settings: Targets: all instances. Source filter: IP ranges (with the range set to 10.0.1.0/24). Protocols: allow all.B1. Create an ingress firewall rule with the following settings: Targets: all instances with tier #2 service account. Source filter: all instances with tier #1 service account. Protocols: allow TCP: 8080. 2. Create an ingress firewall rule with the following settings: Targets: all instances with tier #3 service account. Source filter: all instances with tier #2 service account. Protocols: allow TCP: 8080.C1. Create an ingress firewall rule with the following settings: Targets: all instances with tier #2 service account. Source filter: all instances with tier #1 service account. Protocols: allow all. 2. Create an ingress firewall rule with the following settings: Targets: all instances with tier #3 service account. Source filter: all instances with tier #2 service account. Protocols: allow all.D1. Create an egress firewall rule with the following settings: Targets: all instances. Source filter: IP ranges (with the range set to 10.0.2.0/24). Protocols: allow TCP: 8080. 2. Create an egress firewall rule with the following settings: Targets: all instances. Source filter: IP ranges (with the range set to 10.0.1.0/24). Protocols: allow TCP: 8080.
- FreePracticeQuiz.questionLabelBillingYou are analyzing Google Cloud Platform service costs from three separate projects. You want to use this information to create service cost estimates by service type, daily and monthly, for the next six months using standard query syntax. What should you do?AExport your bill to a Cloud Storage bucket, and then import into Cloud Bigtable for analysis.BExport your bill to a Cloud Storage bucket, and then import into Google Sheets for analysis.CExport your transactions to a local file, and perform analysis with a desktop tool.DExport your bill to a BigQuery dataset, and then write time window-based SQL queries for analysis.
- FreePracticeQuiz.questionLabelCloud SolutionsYou want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate your application to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do?AEnable the Cloud Pub/Sub API in the API Library on the GCP Console.BRely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.CUse Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.DGrant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/Sub.
- FreePracticeQuiz.questionLabelCloud SolutionsYou have a website hosted on App Engine standard environment. You want 1% of your users to see a new test version of the website. You want to minimize complexity.ADeploy the new version in the same application and use the –-migrate option.BDeploy the new version in the same application and use the –-splits option to give a weight of 99 to the current version and a weight of 1 to the new version.CCreate a new App Engine application in the same project. Deploy the new version in that application. Use the App Engine library to proxy 1% of the requests to the new version.DCreate a new App Engine application in the same project. Deploy the new version in that application. Configure your network load balancer to send 1% of the traffic to that new application.
- FreePracticeQuiz.questionLabelStorageYour organization is a financial company that needs to store audit log files for 3 years. Your organization has hundreds of Google Cloud projects. You need to implement a cost-effective approach for log file retention.ACreate an export to the sink that saves logs from Cloud Audit to BigQuery.BCreate an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket.CWrite a custom script that uses logging API to copy the logs from Stackdriver logs to BigQuery.DExport these logs to Cloud Pub/Sub and write a Cloud Dataflow pipeline to store logs to Cloud SQL.
- FreePracticeQuiz.questionLabelIAMYou built an application on Google Cloud that uses Cloud Spanner. Your support team needs to monitor the environment but should not have access to table data. You need a streamlined solution to grant the correct permissions to your support team, and you want to follow Google-recommended practices. What should you do?AAdd the support team group to the roles/monitoring.viewer role.BAdd the support team group to the roles/spanner.databaseUser role.CAdd the support team group to the roles/spanner.databaseReader role.DAdd the support team group to the roles/stackdriver.accounts.viewer role.
- FreePracticeQuiz.questionLabelStorageYou want to run a single caching HTTP reverse proxy on GCP for a latency-sensitive website. This specific reverse proxy consumes almost no CPU. You want to have a 30-GB in-memory cache, and need an additional 2 GB of memory for the rest of the processes. You want to minimize cost. How should you run this reverse proxy?ACreate a Cloud Memorystore for Redis instance with 32-GB capacity.BRun it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory.CPackage it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes.DRun it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB.
- FreePracticeQuiz.questionLabelCloud SolutionsYou have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use Virtual Machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do?ACreate a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.BCreate an instance template, and use the template in a Managed Instance Group with autoscaling configured.CCreate an instance template, and use the template in a Managed Instance Group that scales up and down based on the time of day.DUse a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.
- FreePracticeQuiz.questionLabelIAMYou need to set up permissions for a set of Compute Engine instances to enable them to write data into a particular Cloud Storage bucket. You want to follow Google-recommended practices. What should you do?ACreate a service account with an access scope. Use the access scope 'https://www.googleapis.com/auth/devstorage.write_only'.BCreate a service account with an access scope. Use the access scope 'https://www.googleapis.com/auth/cloud-platform'.CCreate a service account and add it to the IAM role 'storage.objectCreator' for that bucket.DCreate a service account and add it to the IAM role 'storage.objectAdmin' for that bucket.
- FreePracticeQuiz.questionLabelStorageYou have an object in a Cloud Storage bucket that you want to share with an external company. The object contains sensitive data. You want access to the content to be removed after four hours. The external company does not have a Google account to which you can grant specific user-based access privileges. You want to use the most secure method that requires the fewest steps. What should you do?ACreate a signed URL with a four-hour expiration and share the URL with the company.BSet object access to 'public' and use object lifecycle management to remove the object after four hours.CConfigure the storage bucket as a static website and furnish the object's URL to the company. Delete the object from the storage bucket after four hours.DCreate a new Cloud Storage bucket specifically for the external company to access. Copy the object to that bucket. Delete the bucket after four hours have passed.
- FreePracticeQuiz.questionLabelCloud SolutionsYou need to create an autoscaling Managed Instance Group for an HTTPS web application. You want to make sure that unhealthy VMs are recreated. What should you do?ACreate a health check on port 443 and use that when creating the Managed Instance Group.BSelect Multi-Zone instead of Single-Zone when creating the Managed Instance Group.CIn the Instance Template, add the label 'health-check'.DIn the Instance Template, add a startup script that sends a heartbeat to the metadata server.
- FreePracticeQuiz.questionLabelCloud SolutionsYou are deploying an application to a Compute Engine VM in a Managed Instance Group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?ASet autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.BSet autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.CSet autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.DSet autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
- FreePracticeQuiz.questionLabelNetworkingYou 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?ACreate a single custom VPC with 2 subnets. Create each subnet in a different region and with a different CIDR range.BCreate a single custom VPC with 2 subnets. Create each subnet in the same region and with the same CIDR range.CCreate 2 custom VPCs, each with a single subnet. Create each subnet is a different region and with a different CIDR range.DCreate 2 custom VPCs, each with a single subnet. Create each subnet in the same region and with the same CIDR range.
- FreePracticeQuiz.questionLabelNetworkingYou have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?AConfigure an HTTP(S) load balancer.BConfigure an internal TCP load balancer.CConfigure an external SSL proxy load balancer.DConfigure an external TCP proxy load balancer.
- FreePracticeQuiz.questionLabelCloud SolutionsYou have a web application deployed as a Managed Instance Group. You have a new version of the application to gradually deploy. Your web application is currently receiving live web traffic. You want to ensure that the available capacity does not decrease during the deployment. What should you do?APerform a rolling-action start-update with maxSurge set to 0 and maxUnavailable set to 1.BPerform a rolling-action start-update with maxSurge set to 1 and maxUnavailable set to 0.CCreate a new Managed Instance Group with an updated instance template. Add the group to the backend service for the load balancer. When all instances in the new Managed Instance Group are healthy, delete the old Managed Instance Group.DCreate a new instance template with the new application version. Update the existing Managed Instance Group with the new instance template. Delete the instances in the Managed Instance Group to allow the Managed Instance Group to recreate the instance using the new instance template.
- FreePracticeQuiz.questionLabelIAMYou need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?ARun gcloud iam roles describe roles/spanner.databaseUser. Add the users to the role.BRun gcloud iam roles describe roles/spanner.databaseUser. Add the users to a new group. Add the group to the role.CRun gcloud iam roles describe roles/spanner.viewer –project my-project. Add the users to the role.DRun gcloud iam roles describe roles/spanner.viewer –project my-project. Add the users to a new group. Add the group to the role.
- FreePracticeQuiz.questionLabelBillingYou need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?AVerify that you are Project Billing Manager for the GCP project. Update the existing project to link it to the existing billing account.BVerify that you are Project Billing Manager for the GCP project. Create a new billing account and link the new billing account to the existing project.CVerify that you are Billing Administrator for the billing account. Create a new project and link the new project to the existing billing account.DVerify that you are Billing Administrator for the billing account. Update the existing project to link it to the existing billing account.
- FreePracticeQuiz.questionLabelGeneralYou have sensitive data stored in three Cloud Storage buckets and have enabled data access logging. You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do?AUsing the GCP Console, filter the Activity log to view the information.BUsing the GCP Console, filter the Stackdriver log to view the information.CView the bucket in the Storage section of the GCP Console.DCreate a trace in Stackdriver to view the information.
- FreePracticeQuiz.questionLabelCloud SolutionsYou need to run an important query in BigQuery but expect it to return a lot of records. You want to find out how much it will cost to run the query. You are using on-demand pricing. What should you do?AArrange to switch to Flat-Rate pricing for this query, then move back to on-demand.BUse the command line to run a dry run query to estimate the number of bytes read. Then convert that bytes estimate to dollars using the Pricing Calculator.CUse the command line to run a dry run query to estimate the number of bytes returned. Then convert that bytes estimate to dollars using the Pricing Calculator.DRun a select count (*) to get an idea of how many records your query will look through. Then convert that number of rows to dollars using the Pricing Calculator.
- FreePracticeQuiz.questionLabelGeneralYou need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?AUse Shared VPC to connect all projects, and link Stackdriver to one of the projects.BFor each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.CConfigure a single Stackdriver account, and link all projects to the same account.DConfigure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.
- FreePracticeQuiz.questionLabelCloud SolutionsYou need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google's recommended practices. Which method should you use?ADeployment Manager.BCloud Composer.CManaged Instance Group.DUnmanaged Instance Group.
- FreePracticeQuiz.questionLabelNetworkingYou created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do?AInstall a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.BInstall a RDP client in your desktop. Set a Windows username and password in the GCP Console. Use the credentials to log in to the instance.CSet a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.DSet a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
- FreePracticeQuiz.questionLabelBillingYou are the organization and billing administrator for your company. The engineering team has the Project Creator role on the organization. You do not want the engineering team to be able to link projects to the billing account. Only the finance team should be able to link a project to a billing account, but they should not be able to make any other changes to projects. What should you do?AAssign the finance team only the Billing Account User role on the billing account.BAssign the engineering team only the Billing Account User role on the billing account.CAssign the finance team the Billing Account User role on the billing account and the Project Billing Manager role on the organization.DAssign the engineering team the Billing Account User role on the billing account and the Project Billing Manager role on the organization.
- FreePracticeQuiz.questionLabelCloud SolutionsYou are creating a Google Kubernetes Engine (GKE) cluster with a cluster autoscaler feature enabled. You need to make sure that each node of the cluster will run a monitoring pod that sends container metrics to a third-party monitoring solution. What should you do?ADeploy the monitoring pod in a StatefulSet object.BDeploy the monitoring pod in a DaemonSet object.CReference the monitoring pod in a Deployment object.DReference the monitoring pod in a cluster initializer at the GKE cluster creation time.
- FreePracticeQuiz.questionLabelCloud SolutionsYou create a new Google Kubernetes Engine (GKE) cluster and want to make sure that it always runs a supported and stable version of Kubernetes. What should you do?AEnable the Node Auto-Repair feature for your GKE cluster.BEnable the Node Auto-Upgrades feature for your GKE cluster.CSelect the latest available cluster version for your GKE cluster.DSelect 'Container-Optimized OS (cos)' as a node image for your GKE cluster.
- FreePracticeQuiz.questionLabelStorageYour 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 Storage.BRegional Storage.CNearline Storage.DColdline Storage.
- FreePracticeQuiz.questionLabelStorageYou need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket are moved to Coldline after 90 days, and then deleted after one year from their creation. How should you set up the policy?AUse Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 275 days (365-90).BUse Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 365 days.CUse gsutil rewrite and set the Delete action to 275 days (365-90).DUse gsutil rewrite and set the Delete action to 365 days.
- FreePracticeQuiz.questionLabelBillingYour company has an existing GCP organization with hundreds of projects and a billing account. Your company recently acquired another company that also has hundreds of projects and its own billing account. You would like to consolidate all GCP costs of both GCP organizations onto a single invoice. You would like to consolidate all costs as of tomorrow. What should you do?ALink the acquired company's projects to your company's billing account.BConfigure the acquired company's billing account and your company's billing account to export the billing data into the same BigQuery dataset.CMigrate the acquired company's projects into your company's GCP organization. Link the migrated projects to your company's billing account.DCreate a new GCP organization and a new billing account. Migrate the acquired company's projects and your company's projects into the new GCP organization and link the projects to the new billing account.
- FreePracticeQuiz.questionLabelCloud SolutionsYou want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance. What should you do?ACreate an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group.BCreate an instance template for the instances. Set 'Automatic Restart' to off. Set 'On-host maintenance' to Terminate VM instances. Add the instance template to an instance group.CCreate an instance group for the instances. Set the 'Autohealing' health check to healthy (HTTP).DCreate an instance group for the instance. Verify that the 'Advanced creation options' setting for 'do not retry machine creation' is set to off.
Ready for the full GCP-ACE exam?
Get all 179+ Questions, timed simulation, and weak-area analytics. Plans from $2.99 — credits never expire.
Frequently Asked Questions
Are these real GCP-ACE practice questions?+
Is the GCP-ACE exam hard?+
How many questions are on the real GCP-ACE exam?+
Do I need to sign up to use these questions?+
Keep studying
Pass GCP-ACE on your first try
Join candidates using DummyExams to practice with realistic timed exams, detailed explanations, and weak-area analytics.
Start full GCP-ACE practice exam