TechNuggets Academy

Setting Up a Cloud Solution Environment

Free Google Cloud Certified - Associate Cloud Engineer practice — 6 questions on Setting Up a Cloud Solution Environment, with explanations. No sign-up. Full 12-question mixed test →

Question 1 of 6 · Setting Up a Cloud Solution Environment
An organization's Cloud Billing team wants every new Google Cloud project created inside the 'Production' folder to be automatically linked to the 'Production-Billing' billing account, and every project created inside 'Dev' or 'Test' folders to be linked to 'Dev-Billing' — with zero manual steps by engineers. Which approach BEST meets this requirement?
There is no native org-policy constraint that auto-assigns a billing account by folder. Google's documented pattern for this exact use case is a Cloud Function triggered by Pub/Sub project-creation notifications that programmatically calls projects.updateBillingInfo based on the project's parent folder.
Question 2 of 6 · Setting Up a Cloud Solution Environment
A team deploys a large batch of Compute Engine instances in us-central1 and the deployment fails with a 'Quota exceeded: CPUS' error, even though IAM & Admin > Quotas shows plenty of unused global CPU quota for the project. What is the most likely cause and correct fix?
Compute Engine CPU quotas are tracked both globally (per project) and per region. A project can have ample global CPU quota while a specific region's CPU quota is exhausted; the fix is requesting a regional quota increase for that specific region.
Question 3 of 6 · Setting Up a Cloud Solution Environment
Which command displays the current quota limits AND usage (CPUs, disks, in-use IP addresses) for a specific region within a project?
gcloud compute regions describe REGION returns a quotas array scoped to that region, including CPUS, DISKS_TOTAL_GB, and IN_USE_ADDRESSES limits and current usage.
Question 4 of 6 · Setting Up a Cloud Solution Environment
An organization requires that Compute Engine API and Cloud SQL Admin API be enabled automatically on every new project, without engineers performing any manual gcloud or Console steps after project creation. Which approach BEST achieves this at scale across the organization?
There is no native Console/org-policy feature that force-enables specific APIs on project creation. The standard, exam-recognized practice is an infrastructure-as-code 'project factory' pipeline that provisions the project and enables required APIs atomically as part of the same automation.
Question 5 of 6 · Setting Up a Cloud Solution Environment
A cloud engineer manages resources for two different clients using the same workstation. Each client requires a different default project, default region, and active user account. Which gcloud CLI feature lets the engineer instantly switch between these entire sets of settings without re-entering each value every time?
Named gcloud configurations bundle project, region/zone, and active account into a single named profile. gcloud config configurations activate CONFIG_NAME switches the entire active set instantly.
Question 6 of 6 · Setting Up a Cloud Solution Environment
Which statement correctly differentiates a Google Cloud 'folder' from a 'project' in the resource hierarchy?
Projects are the fundamental unit for billing and resource deployment in Google Cloud. Folders exist purely to group projects and other folders for applying IAM policies and organization policies consistently — they hold no billable resources themselves.
Ready for the real thing?

The full course: two full-length practice tests, video lessons for every exam domain, hands-on labs and detailed explanations.

$99.99 $34.99 with code FREETEST33 — valid through September 14.

Get my $34.99 deal →