Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Architect practice bank has 2,335 more like it. Try 10 free: instant score, no account.
An enterprise is establishing an Infrastructure as Code (IaC) strategy on Google Cloud to manage multi-tier compute workloads across development, testing, and production environments.
The infrastructure team has outlined the following technical requirements:
Which operational approach best fulfills these requirements?
Configuration management (CM) tools like Ansible, Puppet, and Chef are primarily designed to configure operating systems, install packages, manage software services, and enforce internal OS states within existing virtual machines.
The primary goal was managing in-guest operating system software configurations and applying internal server patches after VMs were already provisioned.
HashiCorp Terraform is a declarative Infrastructure as Code (IaC) tool that lets platform engineers define, provision, and manage Google Cloud infrastructure using HashiCorp Configuration Language (HCL). Declarative configurations describe the intended end-state of infrastructure rather than sequential execution scripts.
terraform.tfstate), typically stored centrally in a secure Cloud Storage bucket backend. The state file maps declared configuration objects to real-world cloud resources, tracks metadata, detects configuration drift, and allows Terraform to determine necessary creates, updates, and destroys during terraform plan and terraform apply operations.terraform plan command provides visibility into pending infrastructure changes before modifications are applied to live environments.This approach combines reusable architectural templates, strict state tracking, and source control governance, providing the highest level of repeatability, security, and lifecycle management for Google Cloud infrastructure.
gcloud) committed to Git, and run imperative scripts directly against each target environmentImperative scripting involves writing procedural bash or PowerShell scripts that execute discrete Google Cloud CLI (gcloud) commands (such as gcloud compute instances create) sequentially to provision resources.
You needed to execute quick, one-off operational commands, manual diagnostics, or isolated sandbox experiments without establishing a formal IaC framework.
Manual provisioning involves using the interactive Google Cloud console web UI to create and configure virtual machine instances, networks, and related cloud components by hand.
An engineer needed to quickly test a feature in an ephemeral sandbox environment where building an automated pipeline would introduce unnecessary overhead.
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 Validated