Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An administrator is managing resources in a Google Cloud project and needs to inspect all deployed virtual machines from the command line.
The administrator needs a multi-zone summary table that provides the following details for each virtual machine:
Which gcloud command should the administrator run?
gcloud compute instances describe isThe gcloud compute instances describe command is used to retrieve detailed, granular configuration metadata about a single, specific Compute Engine virtual machine.
--zone flag) as an argument; it cannot list or discover multiple VMs across the project simultaneously.You needed to inspect deep configuration settings, service account scopes, attached disk modes, or metadata key-value pairs for one specific VM instance whose name and zone are already known.
gcloud compute instances list isThe gcloud compute instances list command is the primary Google Cloud CLI utility used to discover and display an aggregated summary of all Compute Engine virtual machine (VM) instances across all zones within a targeted project.
gcloud compute instances list queries every zone in the active project and consolidates the results into a single table.NAME, ZONE, MACHINE_TYPE, PREEMPTIBLE, INTERNAL_IP, EXTERNAL_IP, and STATUS.RUNNING, STOPPING, or TERMINATED state, along with its assigned network IP addresses without additional parameter tuning.--format="table(name,zone,machineType,status)" or machine-readable exports via --format=json and --format=yaml.--filter flag to narrow results by zone, operational status, or custom metadata labels.gcloud compute instances list is specifically designed for fleet-wide discovery and inventory monitoring. Unlike single-resource inspection tools, it presents all essential instance parameters in a standardized table with no extra configuration needed.
gcloud compute project-info describe isThe gcloud compute project-info describe command queries top-level Compute Engine configuration, regional quotas, and common metadata applied across the entire Google Cloud project.
You needed to check project-wide custom metadata or verify quota utilization limits (such as total available vCPUs or in-use IP addresses) for the Compute Engine service.
gcloud compute machine-types list isThe gcloud compute machine-types list command lists the predefined hardware specifications (such as e2-standard-2, n2-highmem-4, or c3-standard-22) available for provisioning within Google Cloud zones.
You were planning instance sizing and needed to discover available CPU and memory hardware configurations supported in a particular zone before creating a VM.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated