
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































Google Cloud Associate Cloud Engineer Exam 2026: Certification Practice Test — Cloud Setup, Deployment, Operations, Security & Resource Management — 190 Multiple-Choice Questions with Answers & Detailed Rationales Section 1: Setting Up a Cloud Solution Environment Question 1 A Cloud Engineer needs to grant a new team member the ability to view all resources in a project but prevent them from making any modifications. Which IAM role should be assigned? A. roles/viewer B. roles/editor C. roles/owner D. roles/browser Correct Answer : A Explanation: The viewer role provides read-only access to all project resources without modification permissions, following least privilege principles. Question 2 An organization wants to enforce a policy that prevents users from creating Compute Engine instances outside of the us-central1 region. What should be configured? A. IAM conditional role binding B. Organization Policy constraint C. VPC firewall rule D. Resource quota limit
Correct Answer : B Explanation: Organization Policy constraints allow administrators to restrict resource creation based on location at the organization or folder level. Question 3 A company needs to programmatically manage user accounts and groups in Cloud Identity without manual intervention. Which solution should be implemented? A. Cloud Identity API with Google Workspace Admin SDK B. Manual user provisioning via Cloud Console C. Compute Engine service accounts D. Cloud IAM custom roles Correct Answer : A Explanation: The Cloud Identity API and Admin SDK enable automated user and group lifecycle management for scalable identity operations. Question 4 A project has exceeded its default quota for external IP addresses. What action should the Cloud Engineer take? A. Create a new project to bypass the quota B. Request a quota increase through the Cloud Console C. Use only internal IP addresses D. Disable the Compute Engine API and re-enable it
Explanation: The gcloud services enable command activates specific APIs by their service endpoint name, such as container.googleapis.com for GKE. Question 7 A multinational corporation needs to organize projects by department and apply different policies to each department. What resource hierarchy structure should be used? A. Organization > Folders > Projects B. Organization > Projects > Subscriptions C. Billing Account > Projects > Resources D. Organization > Teams > Instances Correct Answer : A Explanation: Folders within an organization allow hierarchical policy application and delegation of administrative control by business unit. Question 8 A Cloud Engineer is setting up billing for a new project and needs to ensure costs are attributed to the correct department. What should be implemented? A. Separate billing accounts per project B. Labels on resources for cost allocation C. Multiple service accounts D. Resource quotas per department Correct Answer : B
Explanation: Labels enable cost breakdown and attribution in billing reports, allowing tracking across teams sharing a project. Question 9 An organization wants to analyze their cloud resource inventory and identify unused resources. Which service should be used? A. Cloud Asset Inventory B. Cloud Monitoring C. Cloud Logging D. Cloud Trace Correct Answer : A Explanation: Cloud Asset Inventory provides a comprehensive view of all Google Cloud resources and their metadata for auditing and optimization. Question 10 A company needs to establish network connectivity between their on-premises data center and Google Cloud using a dedicated physical connection. Which solution should be selected? A. Cloud VPN B. VPC Network Peering C. Cloud Interconnect D. Cloud NAT Correct Answer : C
Explanation: Cloud Identity groups with organization-level IAM bindings enable centralized access management that cascades to all projects. Question 13 An organization requires that all resources have a specific label indicating the cost center. Which mechanism enforces this requirement? A. Cloud Monitoring alert B. Organization Policy constraint C. IAM conditional binding D. Billing budget Correct Answer : B Explanation: Organization Policies can enforce label requirements on resource creation across the entire resource hierarchy. Question 14 A Cloud Engineer needs to grant a service account permission to publish messages to a Pub/Sub topic. Which role should be assigned? A. roles/pubsub.viewer B. roles/pubsub.publisher C. roles/pubsub.admin D. roles/pubsub.subscriber Correct Answer : B
Explanation: The pubsub.publisher role provides the minimal permissions required to publish messages to topics, following least privilege. Question 15 A company wants to export their billing data to BigQuery for custom analysis. What should be configured? A. Cloud Monitoring export B. Billing export to BigQuery C. Cloud Storage transfer D. Dataflow pipeline Correct Answer : B Explanation: Billing export to BigQuery enables detailed cost analysis using SQL queries on exported billing data. Question 16 An engineer needs to configure a standalone organization without a Google Workspace domain. What is required? A. A Cloud Identity account with a verified domain B. A Gmail account C. A billing account only D. A Compute Engine instance Correct Answer : A
Explanation: Folder Admin role delegated at the folder level allows departmental administration without organization-wide access. Question 19 A Cloud Engineer needs to identify which APIs are enabled in a project. Which gcloud command should be used? A. gcloud projects describe B. gcloud services list --enabled C. gcloud apis list D. gcloud components list Correct Answer : B Explanation: The gcloud services list --enabled command displays all active APIs for the current project. Question 20 A company requires that all new projects automatically inherit specific IAM policies. What should be configured? A. Project templates B. Organization-level IAM bindings C. Service account keys D. VPC firewall rules Correct Answer : B
Explanation: IAM policies applied at the organization level automatically cascade to all projects within the hierarchy. Question 21 An engineer needs to create a billing account for a new Google Cloud organization. What information is required? A. A Google Workspace domain B. A payment method and billing profile C. A Compute Engine instance D. A Cloud Storage bucket Correct Answer : B Explanation: Creating a billing account requires a payment method (credit card or invoicing) and billing profile information. Question 22 A company wants to ensure that no one can create resources without proper labeling. Which policy type should be used? A. IAM deny policy B. Organization Policy constraint C. VPC Service Controls D. Cloud Armor policy Correct Answer : B
Explanation: Shared VPC uses a host project that owns the network and service projects that deploy resources into shared subnets. Question 25 A Cloud Engineer needs to determine the cost of running a specific VM instance for 30 days. Which tool should be used? A. Cloud Monitoring B. Google Cloud Pricing Calculator C. Cloud Trace D. Cloud Logging Correct Answer : B Explanation: The Google Cloud Pricing Calculator estimates costs for configured resources based on region, machine type, and usage. Question 26 A company wants to automatically disable billing for a project when spending reaches a threshold. What should be configured? A. Budget alert with Pub/Sub notification B. IAM quota limit C. Cloud Monitoring alert D. VPC firewall rule Correct Answer : A
Explanation: Budget alerts can trigger Pub/Sub notifications that, when combined with Cloud Functions, can automatically disable billing. Question 27 An engineer is configuring Cloud Identity and needs to verify domain ownership. What method is used? A. DNS TXT record verification B. Email confirmation only C. Phone verification D. Credit card verification Correct Answer : A Explanation: Domain verification for Cloud Identity requires adding a DNS TXT record to prove ownership of the domain. Question 28 A project requires that all API calls originate from within the VPC network. Which security control should be implemented? A. VPC Service Controls B. Cloud Armor C. Cloud NAT D. IAP Correct Answer : A
Explanation: Cloud Monitoring can create alerting policies based on audit log entries to notify administrators of configuration changes. Question 31 A company needs to ensure that their Cloud Storage buckets are not publicly accessible. Which control should be implemented? A. Public Access Prevention B. Object lifecycle management C. Retention policy D. Bucket Lock Correct Answer : A Explanation: Public Access Prevention at the organization, folder, or bucket level blocks public IAM bindings and ACLs. Question 32 A Cloud Engineer is setting up a new project and needs to link it to an existing billing account. What is required? A. Billing Account Administrator role B. Project Owner role only C. Organization Admin role D. Compute Admin role Correct Answer : A
Explanation: Linking projects to billing accounts requires the Billing Account Administrator role on the target billing account. Question 33 An engineer needs to configure custom IAM roles for their organization's specific access requirements. Where can custom roles be created? A. Only at the project level B. At the organization or project level C. Only at the folder level D. Only by Google support Correct Answer : B Explanation: Custom IAM roles can be created at either the organization level (for broader use) or project level. Question 34 A company wants to monitor resource utilization across all projects in their organization from a single dashboard. Which service should be used? A. Cloud Monitoring with multi-project scope B. Cloud Logging C. Cloud Trace D. Cloud Profiler Correct Answer : A
Explanation: Cloud Storage bucket location settings ensure data is stored in a specific region or multi-region. Question 37 A Cloud Engineer needs to audit who accessed a specific Compute Engine instance and when. Which service provides this information? A. Cloud Audit Logs B. Cloud Monitoring C. Cloud Trace D. Error Reporting Correct Answer : A Explanation: Cloud Audit Logs capture administrative and data access activities with timestamps and actor identity. Question 38 A company wants to implement infrastructure as code for their Google Cloud resources. Which tools are recommended? (Select the best answer) A. Terraform and Config Connector B. Cloud Shell only C. Cloud Console only D. gcloud CLI exclusively Correct Answer : A
Explanation: Terraform and Config Connector are Google-recommended Infrastructure as Code tools for managing cloud resources declaratively. Section 2: Planning and Implementing a Cloud Solution Question 39 A startup needs to deploy a containerized web application with automatic scaling and minimal operational overhead. Which compute option is most appropriate? A. Compute Engine with managed instance groups B. Cloud Run C. Google Kubernetes Engine with Autopilot D. Cloud Functions Correct Answer : B Explanation: Cloud Run provides fully managed container execution with automatic scaling and no infrastructure management. Question 40 A company needs to run a batch processing workload that can tolerate interruptions and wants to minimize costs. Which VM type should be selected? A. Standard VM B. Spot VM C. Sole-tenant node D. Preemptible VM with extended runtime Correct Answer : B