🔥 40% Off Crucial Exams Memberships — Deal ends today!

3 hours, 33 minutes remaining!
Bash, the Crucial Exams Chat Bot
AI Bot

Deployment and Automation (GCP ACE)  Flashcards

GCP Associate Cloud Engineer Flashcards

Use the deployment-manager-preview flag
terraform init
How do you initialize a Terraform project
gcloud config configurations create [NAME]
How do you preview changes with Deployment Manager
What is the role of Cloud SDK in GCP automation
What is gcloud used for in automation
What does gcloud deployment-manager deployments create [DEPLOYMENT_NAME] do
Provides tools and libraries for automation and management of GCP resources
How do you create a new gcloud configuration
Creates a new deployment in Deployment Manager
Command-line tool for managing Google Cloud resources
FrontBack
How can you run Terraform commands without applying changesUse the terraform plan command
How do you check the version of Terraform installedterraform version
How do you create a new gcloud configurationgcloud config configurations create [NAME]
How do you delete a Deployment Manager deploymentgcloud deployment-manager deployments delete [DEPLOYMENT_NAME]
How do you deploy a configuration with Deployment Managergcloud deployment-manager deployments create [DEPLOYMENT_NAME] --config [CONFIG_FILE]
How do you enable verbose logs in gcloud commandsAdd the --verbosity flag with appropriate level
How do you format and validate Terraform configuration filesterraform fmt and terraform validate
How do you import existing infrastructure into TerraformTell Terraform the existing resource using terraform import
How do you initialize a Terraform projectterraform init
How do you list the deployments in Deployment Managergcloud deployment-manager deployments list
How do you pause or delay execution in TerraformTerragrunt or external scripting can add pauses as Terraform does not support this natively
How do you preview changes with Deployment ManagerUse the deployment-manager-preview flag
How do you specify a particular project in gcloud commandsUse --project flag followed by the project ID
How do you sync a local folder with a GCP Storage bucketUse the gcloud storage rsync command
How does Terraform differ from Deployment ManagerTerraform is multi-cloud and supports non-GCP resources while Deployment Manager is GCP-specific
What are Terraform provider pluginsPlugins that allow Terraform to interface with cloud providers and services
What does a Terraform module doAllows you to group resources and reuse configurations
What does a Terraform state file representCurrent state of the infrastructure managed by Terraform
What does gcloud deployment-manager deployments create [DEPLOYMENT_NAME] doCreates a new deployment in Deployment Manager
What does gcloud deployment-manager deployments update [DEPLOYMENT_NAME] doUpdates an existing deployment in Deployment Manager
What does the terraform output command doDisplays values of output variables in Terraform
What does the terraform refresh command doUpdates the state file to match the real-world resources
What is a Terraform resourceA single piece of infrastructure managed by Terraform
What is gcloud used for in automationCommand-line tool for managing Google Cloud resources
What is the function of a Deployment Manager templateReusable and parameterized configurations for resource creation
What is the purpose of a Terraform backendStores Terraform state and allows collaboration
What is the purpose of Deployment ManagerSimplifies the creation and management of GCP resources through configuration files
What is the role of Cloud SDK in GCP automationProvides tools and libraries for automation and management of GCP resources
What is the role of the metadata field in Deployment ManagerStores additional information about a resource configuration
What is the Terraform lock fileRepresents specific dependencies and versions used in the configuration
What is the Terraform workspaceLogical separation in Terraform for different environments
What type of file stores Terraform variables*.tfvars file
When should you use Deployment Manager over TerraformWhen managing GCP-only infrastructure with native configuration options
Which command applies Terraform configurationsterraform apply
Which command deletes an existing gcloud configurationgcloud config configurations delete [NAME]
Which command lists available gcloud configurationsgcloud config configurations list
Which Deployment Manager file type defines resourcesYAML files
Which GCP service is best for storing Terraform state filesGoogle Cloud Storage
Which Terraform command removes resources defined in the configurationterraform destroy
Which tool allows managing GCP permissions programmaticallyCloud IAM with gcloud CLI or Terraform
Front
How do you create a new gcloud configuration
Click the card to flip
Back
gcloud config configurations create [NAME]
Front
Which GCP service is best for storing Terraform state files
Back
Google Cloud Storage
Front
Which command deletes an existing gcloud configuration
Back
gcloud config configurations delete [NAME]
Front
What does the terraform output command do
Back
Displays values of output variables in Terraform
Front
How do you preview changes with Deployment Manager
Back
Use the deployment-manager-preview flag
Front
What are Terraform provider plugins
Back
Plugins that allow Terraform to interface with cloud providers and services
Front
Which Terraform command removes resources defined in the configuration
Back
terraform destroy
Front
What is the role of the metadata field in Deployment Manager
Back
Stores additional information about a resource configuration
Front
What does gcloud deployment-manager deployments update [DEPLOYMENT_NAME] do
Back
Updates an existing deployment in Deployment Manager
Front
What is gcloud used for in automation
Back
Command-line tool for managing Google Cloud resources
Front
When should you use Deployment Manager over Terraform
Back
When managing GCP-only infrastructure with native configuration options
Front
How do you deploy a configuration with Deployment Manager
Back
gcloud deployment-manager deployments create [DEPLOYMENT_NAME] --config [CONFIG_FILE]
Front
How do you format and validate Terraform configuration files
Back
terraform fmt and terraform validate
Front
What does gcloud deployment-manager deployments create [DEPLOYMENT_NAME] do
Back
Creates a new deployment in Deployment Manager
Front
How do you sync a local folder with a GCP Storage bucket
Back
Use the gcloud storage rsync command
Front
What does the terraform refresh command do
Back
Updates the state file to match the real-world resources
Front
Which command applies Terraform configurations
Back
terraform apply
Front
What is the Terraform lock file
Back
Represents specific dependencies and versions used in the configuration
Front
What is the Terraform workspace
Back
Logical separation in Terraform for different environments
Front
What is the purpose of a Terraform backend
Back
Stores Terraform state and allows collaboration
Front
What does a Terraform state file represent
Back
Current state of the infrastructure managed by Terraform
Front
What is a Terraform resource
Back
A single piece of infrastructure managed by Terraform
Front
How can you run Terraform commands without applying changes
Back
Use the terraform plan command
Front
What does a Terraform module do
Back
Allows you to group resources and reuse configurations
Front
How do you enable verbose logs in gcloud commands
Back
Add the --verbosity flag with appropriate level
Front
What type of file stores Terraform variables
Back
*.tfvars file
Front
How do you check the version of Terraform installed
Back
terraform version
Front
How do you list the deployments in Deployment Manager
Back
gcloud deployment-manager deployments list
Front
How do you pause or delay execution in Terraform
Back
Terragrunt or external scripting can add pauses as Terraform does not support this natively
Front
Which tool allows managing GCP permissions programmatically
Back
Cloud IAM with gcloud CLI or Terraform
Front
Which Deployment Manager file type defines resources
Back
YAML files
Front
What is the role of Cloud SDK in GCP automation
Back
Provides tools and libraries for automation and management of GCP resources
Front
What is the function of a Deployment Manager template
Back
Reusable and parameterized configurations for resource creation
Front
How do you import existing infrastructure into Terraform
Back
Tell Terraform the existing resource using terraform import
Front
Which command lists available gcloud configurations
Back
gcloud config configurations list
Front
How do you delete a Deployment Manager deployment
Back
gcloud deployment-manager deployments delete [DEPLOYMENT_NAME]
Front
How do you initialize a Terraform project
Back
terraform init
Front
How does Terraform differ from Deployment Manager
Back
Terraform is multi-cloud and supports non-GCP resources while Deployment Manager is GCP-specific
Front
How do you specify a particular project in gcloud commands
Back
Use --project flag followed by the project ID
Front
What is the purpose of Deployment Manager
Back
Simplifies the creation and management of GCP resources through configuration files
1/40
This deck addresses topics related to deploying applications, managing resources, and using automation tools like Cloud SDK, Deployment Manager, and Terraform.
Share on...
Follow us on...