Deployment and Automation (GCP ACE) Flashcards
GCP Associate Cloud Engineer Flashcards

| Front | Back |
| How can you run Terraform commands without applying changes | Use the terraform plan command |
| How do you check the version of Terraform installed | terraform version |
| How do you create a new gcloud configuration | gcloud config configurations create [NAME] |
| How do you delete a Deployment Manager deployment | gcloud deployment-manager deployments delete [DEPLOYMENT_NAME] |
| How do you deploy a configuration with Deployment Manager | gcloud deployment-manager deployments create [DEPLOYMENT_NAME] --config [CONFIG_FILE] |
| How do you enable verbose logs in gcloud commands | Add the --verbosity flag with appropriate level |
| How do you format and validate Terraform configuration files | terraform fmt and terraform validate |
| How do you import existing infrastructure into Terraform | Tell Terraform the existing resource using terraform import |
| How do you initialize a Terraform project | terraform init |
| How do you list the deployments in Deployment Manager | gcloud deployment-manager deployments list |
| How do you pause or delay execution in Terraform | Terragrunt or external scripting can add pauses as Terraform does not support this natively |
| How do you preview changes with Deployment Manager | Use the deployment-manager-preview flag |
| How do you specify a particular project in gcloud commands | Use --project flag followed by the project ID |
| How do you sync a local folder with a GCP Storage bucket | Use the gcloud storage rsync command |
| How does Terraform differ from Deployment Manager | Terraform is multi-cloud and supports non-GCP resources while Deployment Manager is GCP-specific |
| What are Terraform provider plugins | Plugins that allow Terraform to interface with cloud providers and services |
| What does a Terraform module do | Allows you to group resources and reuse configurations |
| What does a Terraform state file represent | Current state of the infrastructure managed by Terraform |
| What does gcloud deployment-manager deployments create [DEPLOYMENT_NAME] do | Creates a new deployment in Deployment Manager |
| What does gcloud deployment-manager deployments update [DEPLOYMENT_NAME] do | Updates an existing deployment in Deployment Manager |
| What does the terraform output command do | Displays values of output variables in Terraform |
| What does the terraform refresh command do | Updates the state file to match the real-world resources |
| What is a Terraform resource | A single piece of infrastructure managed by Terraform |
| What is gcloud used for in automation | Command-line tool for managing Google Cloud resources |
| What is the function of a Deployment Manager template | Reusable and parameterized configurations for resource creation |
| What is the purpose of a Terraform backend | Stores Terraform state and allows collaboration |
| What is the purpose of Deployment Manager | Simplifies the creation and management of GCP resources through configuration files |
| What is the role of Cloud SDK in GCP automation | Provides tools and libraries for automation and management of GCP resources |
| What is the role of the metadata field in Deployment Manager | Stores additional information about a resource configuration |
| What is the Terraform lock file | Represents specific dependencies and versions used in the configuration |
| What is the Terraform workspace | Logical separation in Terraform for different environments |
| What type of file stores Terraform variables | *.tfvars file |
| When should you use Deployment Manager over Terraform | When managing GCP-only infrastructure with native configuration options |
| Which command applies Terraform configurations | terraform apply |
| Which command deletes an existing gcloud configuration | gcloud config configurations delete [NAME] |
| Which command lists available gcloud configurations | gcloud config configurations list |
| Which Deployment Manager file type defines resources | YAML files |
| Which GCP service is best for storing Terraform state files | Google Cloud Storage |
| Which Terraform command removes resources defined in the configuration | terraform destroy |
| Which tool allows managing GCP permissions programmatically | Cloud IAM with gcloud CLI or Terraform |
About the Flashcards
Flashcards for the GCP Associate Cloud Engineer exam focus on Infrastructure as Code workflows in Google Cloud. Students review how Deployment Manager uses YAML templates and metadata to create, update, preview, and delete resource deployments, alongside essential gcloud commands that list configurations, specify projects, and manage storage buckets.
The deck also drills the Terraform toolchain-init, plan, apply, destroy, import, refresh-and the roles of state files, remote backends, lock files, variables, modules, and workspaces. Provider plugins, Cloud Storage state hosting, and Cloud IAM permission automation appear throughout, helping learners connect multi-cloud concepts with GCP-specific tasks and memorize command syntax quickly.
Topics covered in this flashcard deck:
- Terraform commands & state
- GCP Deployment Manager
- gcloud CLI configuration
- Infrastructure as Code
- Cloud IAM automation