Practice ACE Setting Up a Cloud Solution Environment questions with full explanations on every answer.
Start practicing
Setting Up a Cloud Solution Environment — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
A new engineer needs to set up the gcloud CLI on their local machine and authenticate with a user account. Which command should they run after installing the SDK?
2A startup wants to create a new GCP project for development. They've already created a billing account. Which command can they use to create the project?
3An organization wants to enforce a policy that disables the creation of VMs with external IPs across all projects. Which resource hierarchy level should the policy be attached to for maximum coverage?
4A company wants to track costs for each department by using labels on resources. What is the next step after labeling resources to view costs per label?
5An engineer needs to enable the Compute Engine API for a project using the CLI. Which command should they run?
6A team is using gcloud configurations to manage multiple projects. They want to create a new configuration for a production project. How can they achieve this?
7A junior engineer accidentally deleted a project. Later, they realize they need to restore it. What must be true for project deletion to be reversible?
8An organization needs to separate development, staging, and production environments using the GCP resource hierarchy. Which approach is most effective?
9A Cloud Shell user wants to persist Terraform state files across sessions. What is the best approach?
10An administrator wants to set up a budget alert that triggers at 50%, 90%, and 100% of the monthly spending limit. What is the correct way to configure this?
11An engineer is setting up Cloud Identity for a new domain. What is a prerequisite for creating a Cloud Identity account?
12A company wants to grant a contractor read-only access to all Compute Engine instances in a specific project, but no other resources. Which IAM role should be assigned?
13A company wants to set up a new GCP project and ensure that only approved APIs can be used. Which two steps should they take? (Choose TWO)
14An engineer needs to choose a location for a new GCP project's resources to maximize availability and minimize latency for users in Europe and Asia. Which three actions should they take? (Choose THREE)
15A team wants to export GCP billing data for detailed analysis using SQL. Which three steps are necessary? (Choose THREE)
16A new engineer wants to set up their local environment to interact with Google Cloud. Which command initializes the gcloud CLI and configures the project, region, and zone?
17Your organization has multiple Google Cloud projects. You want to separate development and production environments. Which resource hierarchy structure is recommended?
18A team member accidentally deleted a GCP project. You need to recover it. What must be true for a successful recovery within the 30-day window?
19You want to enable the Kubernetes Engine API for your project using the command line. Which gcloud command should you use?
20You need to grant a user the ability to create and manage Compute Engine instances in a specific project. You want to follow the principle of least privilege. Which IAM role should you assign?
21Your organization wants to enforce that all Compute Engine instances are created only in us-central1 and europe-west1. You need to implement this constraint across all projects in the organization. What should you do?
22Your company wants to track costs per department. Each department has its own project. You need to set up a budget alert in the billing account for each project. What is the most efficient approach?
23You are using Cloud Shell and need to access a file you created two weeks ago. What is the persistence behavior of Cloud Shell home directories?
24Your organization uses Cloud Identity to manage users. A new employee joins and needs access to a GCP project. What is the correct sequence to grant access?
25You are configuring a new project and need to enable the Compute Engine API. However, the command 'gcloud services enable compute.googleapis.com' fails with a permission error. Your user has the role roles/editor on the project. What is the likely cause?
26You need to list all projects in your organization using the gcloud CLI. Which command is correct?
27You want to switch between multiple GCP projects frequently using the gcloud CLI. What is the recommended approach?
28Your company has a production project and a development project. You want to ensure that no one can delete the production project accidentally. Which TWO actions should you take? (Choose 2)
29You are setting up a new GCP project for a microservices application. You need to select which APIs to enable. Which THREE APIs are likely required? (Choose 3)
30Your organization uses GCP organizations with multiple folders. You need to assign a team the ability to create projects only in a specific folder. Which THREE steps should you take? (Choose 3)
31You create a new Google Cloud project using the Cloud Console. After creating the project, you need to enable the Compute Engine API. What is the correct command to do this using the Cloud Shell?
32An organization wants to separate its development and production environments using Google Cloud resource hierarchy. What is the recommended approach?
33You are setting up billing for a new GCP project. You want to receive an alert when the projected cost for the month exceeds 80% of your budget. You also want to be notified if the actual cost reaches 100%. Which budget alert thresholds should you set?
34You want to use gcloud CLI to set the default project to 'my-project' and the default compute zone to 'us-central1-a'. Which two gcloud config commands should you run?
35A company has multiple Google Cloud projects and wants to track costs by department. They have already applied labels to resources with key 'department'. What is the next step to view costs grouped by department?
36You need to install the Google Cloud SDK on a Linux machine. Which command should you use to add the Cloud SDK distribution URI as a package source?
37You are managing a project and need to create a custom IAM role that allows only the permissions compute.instances.list and compute.instances.get. What is the correct way to create this role using gcloud?
38A team is using Cloud Shell to manage resources. They notice that their home directory is persistent across sessions, but they want to ensure that configuration files and scripts are also available after they stop and restart Cloud Shell. What should they do?
39You want to set up a budget alert for a GCP project. You need to receive a notification when the forecasted cost exceeds $1000 and when the actual cost exceeds $1000. Which budget amount should you set?
40A developer wants to use gcloud CLI with application default credentials (ADC) to authenticate to Google APIs from their local machine. Which command should they run first?
41You need to delete a GCP project, but the deletion fails with an error. What is the most likely cause?
42You are setting up a new organization in Google Cloud. You want to restrict the regions where resources can be created to comply with data residency requirements. What should you do?
43A company wants to manage multiple Google Cloud projects and enforce consistent security policies across all of them. Which TWO resources should they use? (Choose two.)
44You need to view the current gcloud configuration settings, including the active account, project, and compute region. Which TWO commands can you use? (Choose two.)
45You are designing a resource hierarchy for a company with three departments: Engineering, Sales, and HR. Each department should have its own projects, and policies should be applied at the department level. Which THREE steps should you take? (Choose three.)
46An engineer needs to create a new GCP project using the Cloud SDK. They have already installed and initialized gcloud with a user account that has Billing Account Administrator and Project Creator roles. Which command creates the project 'my-new-project'?
47A company wants to organize its Google Cloud resources. They have multiple departments (Engineering, Finance, Marketing) and want to apply common policies at the department level. Which resource hierarchy level should they use to create folders for each department?
48An engineer is setting up Cloud Shell for the first time. They notice that their home directory persists across sessions. How much storage is allocated to the home directory in Cloud Shell?
49A team wants to enable Compute Engine API in their project using gcloud. Which command should they run?
50An engineer wants to ensure that no one in their organization can create VMs with public IP addresses. Which Google Cloud tool should they use to enforce this restriction?
51A developer needs to authenticate to Google Cloud from their local machine to run application code that reads from Cloud Storage. They use a service account. Which gcloud command should they use to obtain application credentials?
52An organization has multiple GCP projects and wants to centralize billing analysis across all projects. They need to export detailed billing data (e.g., cost per SKU per project) to a BigQuery dataset. Which billing export option should they configure?
53An engineer tries to delete a project using the Cloud Console but the option is greyed out. The engineer has the Project Owner role. What is the most likely reason?
54A company wants to set up a budget alert at 50% and 90% of their projected monthly spending. Which service should they use?
55What is the basic role that grants full control over all resources in a GCP project?
56An engineer needs to give a data analyst access to run BigQuery queries but prevent them from viewing or modifying data in Cloud Storage. The analyst should be able to create new datasets. Which IAM role should the engineer assign at the project level?
57A company wants to manage multiple GCP projects with different configurations (e.g., different regions and accounts) on the same workstation. Which gcloud feature should they use to switch between these configurations?
58An engineer is setting up a new GCP project for a containerized application. They need to enable the required APIs. Which TWO APIs must be enabled to deploy and manage a Kubernetes cluster and build container images?
59A startup wants to control costs across multiple GCP projects. They want to track spending by department and set budget alerts. Which THREE actions should they take?
60An administrator needs to create a custom IAM role that allows listing projects and viewing billing accounts. Which TWO permissions should be included?
61A new engineer is setting up their GCP environment for the first time. They have a billing account and need to create a new project for development. What is the correct order of steps?
62You are a project owner and need to grant a colleague the ability to create and manage Compute Engine instances, but restrict them from deleting any resources. Which IAM role should you assign?
63An organization has multiple Google Cloud projects and wants to enforce a policy that all Compute Engine instances must use a specific set of approved machine types. Which tool should be used to implement this constraint?
64Which gcloud command is used to set the default project for a configuration profile?
65An engineer needs to enable the Compute Engine API for a project using the gcloud command line. Which command should they run?
66A company wants to track costs by department and project. They have multiple GCP projects used by different teams. Which feature should they use to categorize costs?
67An organization wants to enforce that all projects under a specific folder have a set of constraints, such as disabling default network creation and requiring shielded VMs. What is the most efficient way to achieve this?
68Which of the following is true about Cloud Shell?
69An engineer wants to authenticate to Google Cloud using their own user credentials and also set up application default credentials for a local development environment. Which sequence of gcloud auth commands should they use?
70You need to delete a Google Cloud project. What prerequisite must be met before the project can be deleted?
71A multinational corporation requires that all GCP resources across multiple projects are tagged with a key-value pair 'environment: production' and 'environment: development'. They want to enforce that any resource created without the appropriate label is automatically denied. How can this be achieved?
72What is the purpose of the gcloud init command?
73An organization wants to set up a budget alert for a GCP project. Which TWO options can be configured as alert thresholds?
74A company wants to organize their GCP resources into a hierarchy to separate development, staging, and production environments. Which THREE resources can be used to create this separation?
75An engineer needs to enable the Cloud Build API and the Kubernetes Engine API for a project. Which TWO commands should they run?
76A new engineer needs to enable the Compute Engine API for a project using the gcloud command-line tool. Which command should they run?
77An organization wants to manage GCP resources for multiple teams using a hierarchy of folders and projects. They need to apply a uniform policy that restricts the regions where VM instances can be created across all projects in a folder. Which approach should they use?
78A developer wants to authenticate to GCP from their local machine using their own user account to run gcloud commands that interact with a project. They have already installed the Cloud SDK. Which command should they use to authenticate with their Google account?
79After creating a new GCP project, an engineer attempts to delete it using `gcloud projects delete PROJECT_ID` but receives an error. What is the most likely cause?
80A company wants to track and forecast GCP spending across different departments. They have already set up labels on resources to indicate the department. Which additional step should they take to analyze costs by department in BigQuery?
81A developer is using Cloud Shell and wants to ensure that their gcloud configuration persists after the Cloud Shell session ends. They have set the compute and access settings using `gcloud config set`. What should they do to keep these settings for future sessions?
82An organization is setting up a new GCP environment and needs to create a hierarchy that separates development, staging, and production workloads. Which two resources can be used to group projects for this purpose? (Choose TWO.)
83A DevOps engineer wants to set up budget alerts for a GCP project so that the finance team is notified when costs reach 50% and 90% of the budget. Which two configurations are required? (Choose TWO.)
84A developer wants to use Cloud Shell for managing GCP resources. Which three statements about Cloud Shell are true? (Choose THREE.)
85An engineer needs to create a new project and set up the environment. They are using the gcloud command-line tool. Which two commands are required to create a project and link it to a billing account? (Choose TWO.)
86A company has multiple GCP projects and wants to enforce a policy that prevents the creation of VMs with public IP addresses. Which three methods can be used to enforce this restriction? (Choose THREE.)
87A developer needs to use gcloud CLI to manage multiple projects. They want to switch between configurations quickly. Which three commands are part of managing gcloud configuration profiles? (Choose THREE.)
88A Cloud Architect needs to understand the GCP resource hierarchy to set up proper access control. Which three resources are part of the GCP resource hierarchy? (Choose THREE.)
The Setting Up a Cloud Solution Environment domain covers the key concepts tested in this area of the ACE exam blueprint published by Google Cloud. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all ACE domains — no account required.
The Courseiva ACE question bank contains 88 questions in the Setting Up a Cloud Solution Environment domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Setting Up a Cloud Solution Environment domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included