Google Cloud Engineer Associate
Tests ability to deploy applications, monitor operations, and manage enterprise solutions on Google Cloud
Time limit
2h
Questions
65
Passing score
70%
Difficulty
Intermediate
Category
Google Cloud Engineer Associate
Sample questions
A few questions from this practice exam, with the correct answer and why it is correct.
1.You must grant a colleague permission to view all resources in the project my-app-prod using the command line, without giving them any ability to modify anything. Which gcloud command accomplishes this?
- Agcloud projects add-iam-policy-binding my-app-prod --member=user:colleague@example.com --role=roles/viewerCorrect answer
- Bgcloud projects add-iam-policy-binding my-app-prod --member=user:colleague@example.com --role=roles/editor
- Cgcloud compute instances add-iam-policy-binding my-app-prod --member=user:colleague@example.com --role=roles/viewer
- Dgcloud iam roles create viewer --project=my-app-prod --member=user:colleague@example.com
Why
Adding an IAM policy binding on the project with the roles/viewer role grants read-only access across the project's services. The add-iam-policy-binding subcommand modifies the project's IAM policy in place. The compute-scoped commands operate on a single resource rather than the project, and roles/editor would grant modification rights the requirement forbids.
2.A new project has been created and your first deployment fails with an error stating that the Compute Engine API has not been used in the project before or is disabled. What must you do?
- ARun gcloud services enable compute.googleapis.com on the projectCorrect answer
- BGrant your account the Compute Admin role on the project
- CRequest a quota increase for CPUs in the target region
- DRaise the budget threshold on the linked billing account
Why
Enable the API on the project with gcloud services enable compute.googleapis.com, since APIs must be explicitly enabled per project before their resources can be created. The failure is not about IAM roles, quota, or billing thresholds: the message specifically reports that the service itself is not enabled, and granting roles or raising quota will not change that.
3.Finance wants an email sent to the billing administrators when a project's forecasted monthly spend reaches ninety percent of the allocated amount, and wants spending to continue uninterrupted. What should you configure?
- AA budget scoped to the project with a ninety percent forecasted-spend alert thresholdCorrect answer
- BA quota override capping the project's vCPU usage
- CAn organization policy that blocks resource creation above a cost limit
- DUnlinking the billing account when the threshold is reached
Why
Create a budget on the billing account scoped to that project with an alert threshold rule at ninety percent, including forecasted spend. Budgets are notification mechanisms and do not stop resource usage, which matches the requirement that spending continue. Removing the billing account or applying a quota override would actually interrupt the workload.
4.You need detailed, line-item Google Cloud usage and cost data that can be queried with SQL and joined against internal cost center tables. What should you set up?
- ABilling export to a BigQuery datasetCorrect answer
- BThe cost breakdown report in the Cloud Console
- CA monthly CSV download of the invoice
- DBudget alerts at multiple thresholds
Why
Configure Cloud Billing export to a BigQuery dataset, which continuously writes detailed usage and cost rows that can be queried with SQL and joined to other tables. The console reports offer summarized views without SQL access, a CSV download is a manual point-in-time snapshot, and budget alerts convey thresholds rather than line-item data.
5.Your organization must ensure that every project created under the Production folder blocks the creation of Compute Engine instances with external IP addresses. What should you apply?
- AAn organization policy constraint denying external IPs, applied at the folderCorrect answer
- BAn egress firewall rule denying all internet-bound traffic in each project
- CRemoving the Compute Admin role from all users in each project
- DA Cloud Monitoring alert that fires when an external IP is assigned
Why
Apply the organization policy constraint that denies external IP addresses for VM instances at the Production folder, where it is inherited by all current and future descendant projects and enforced regardless of a caller's IAM role. Firewall rules do not prevent an address from being assigned, and per-project IAM changes neither cover new projects nor bind project Owners.
Practice all 65 questions
Frequently asked questions
Is the Google Cloud Engineer Associate practice exam free?
You can take it with the free attempts included in your account. After those run out, this exam requires a premium plan, while foundational-level exams stay free and unlimited.
How many questions does it have and how long does it take?
65 questions with a 120-minute time limit, so you practise under the same time pressure as the real exam.
What score do I need to pass?
You need 70% to pass this practice exam. Your score and a per-question review are shown as soon as you finish.
Do I need an account?
Yes, a free account. It is what lets us save your attempt, score it and keep your history.
Can I retake it?
Yes. Each attempt uses one of your free attempts, and a premium plan makes them unlimited.
Are these the real questions from the official exam?
No. NaHero does not reproduce questions from the official exam. These are practice questions written to match its format, topics and difficulty.