Bash, the Crucial Exams Chat Bot
AI Bot
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 |
Front
What is gcloud used for in automation
Click the card to flip
Back
Command-line tool for managing Google Cloud resources
Front
What does gcloud deployment-manager deployments update [DEPLOYMENT_NAME] do
Back
Updates an existing deployment in Deployment Manager
Front
How do you create a new gcloud configuration
Back
gcloud config configurations create [NAME]
Front
What does gcloud deployment-manager deployments create [DEPLOYMENT_NAME] do
Back
Creates a new deployment in Deployment Manager
Front
Which command deletes an existing gcloud configuration
Back
gcloud config configurations delete [NAME]
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
What are Terraform provider plugins
Back
Plugins that allow Terraform to interface with cloud providers and services
Front
Which GCP service is best for storing Terraform state files
Back
Google Cloud Storage
Front
What is the purpose of a Terraform backend
Back
Stores Terraform state and allows collaboration
Front
Which Terraform command removes resources defined in the configuration
Back
terraform destroy
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
What is the role of Cloud SDK in GCP automation
Back
Provides tools and libraries for automation and management of GCP resources
Front
What does the terraform refresh command do
Back
Updates the state file to match the real-world resources
Front
How do you format and validate Terraform configuration files
Back
terraform fmt and terraform validate
Front
What does the terraform output command do
Back
Displays values of output variables in Terraform
Front
How do you specify a particular project in gcloud commands
Back
Use --project flag followed by the project ID
Front
When should you use Deployment Manager over Terraform
Back
When managing GCP-only infrastructure with native configuration options
Front
How do you check the version of Terraform installed
Back
terraform version
Front
What is a Terraform resource
Back
A single piece of infrastructure managed by Terraform
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 delete a Deployment Manager deployment
Back
gcloud deployment-manager deployments delete [DEPLOYMENT_NAME]
Front
How can you run Terraform commands without applying changes
Back
Use the terraform plan command
Front
How do you sync a local folder with a GCP Storage bucket
Back
Use the gcloud storage rsync command
Front
Which command lists available gcloud configurations
Back
gcloud config configurations list
Front
How do you deploy a configuration with Deployment Manager
Back
gcloud deployment-manager deployments create [DEPLOYMENT_NAME] --config [CONFIG_FILE]
Front
What is the Terraform workspace
Back
Logical separation in Terraform for different environments
Front
What is the function of a Deployment Manager template
Back
Reusable and parameterized configurations for resource creation
Front
What is the role of the metadata field in Deployment Manager
Back
Stores additional information about a resource configuration
Front
What does a Terraform module do
Back
Allows you to group resources and reuse configurations
Front
Which Deployment Manager file type defines resources
Back
YAML files
Front
Which command applies Terraform configurations
Back
terraform apply
Front
How do you preview changes with Deployment Manager
Back
Use the deployment-manager-preview flag
Front
What is the Terraform lock file
Back
Represents specific dependencies and versions used in the configuration
Front
What is the purpose of Deployment Manager
Back
Simplifies the creation and management of GCP resources through configuration files
Front
How do you list the deployments in Deployment Manager
Back
gcloud deployment-manager deployments list
Front
How do you initialize a Terraform project
Back
terraform init
Front
How do you import existing infrastructure into Terraform
Back
Tell Terraform the existing resource using terraform import
Front
What does a Terraform state file represent
Back
Current state of the infrastructure managed by Terraform
Front
Which tool allows managing GCP permissions programmatically
Back
Cloud IAM with gcloud CLI or Terraform
1/40
This deck addresses topics related to deploying applications, managing resources, and using automation tools like Cloud SDK, Deployment Manager, and Terraform.