0
0
Terraformcloud~20 mins

Terraform vs CloudFormation vs Pulumi - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cloud Infrastructure Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Key Difference in State Management

Which tool manages infrastructure state locally by default, requiring explicit remote backend configuration for team collaboration?

ATerraform
BCloudFormation
CPulumi
DAll manage state remotely by default
Attempts:
2 left
💡 Hint

Think about which tool uses a state file that can be stored locally or remotely.

Architecture
intermediate
2:00remaining
Infrastructure as Code Language Support

Which tool allows you to write infrastructure code using general-purpose programming languages like TypeScript, Python, or Go?

ATerraform
BNone support general-purpose languages
CCloudFormation
DPulumi
Attempts:
2 left
💡 Hint

Consider which tool integrates with common programming languages for infrastructure definitions.

service_behavior
advanced
2:00remaining
CloudFormation Stack Update Behavior

What happens if you update a CloudFormation stack with a template that removes a resource without specifying a deletion policy?

AThe resource remains unchanged in the cloud environment
BThe resource is deleted from the cloud environment
CCloudFormation throws an error and refuses the update
DThe resource is backed up automatically before deletion
Attempts:
2 left
💡 Hint

Think about default behavior when a resource is removed from the template.

security
advanced
2:00remaining
Secret Management in Terraform vs Pulumi

Which statement correctly describes secret handling differences between Terraform and Pulumi?

ATerraform encrypts secrets in state files by default, Pulumi stores secrets in plain text
BBoth Terraform and Pulumi store secrets unencrypted by default
CPulumi encrypts secrets in its state backend by default, Terraform requires manual encryption setup
DNeither Terraform nor Pulumi support secret management
Attempts:
2 left
💡 Hint

Consider which tool has built-in secret encryption in its backend.

Best Practice
expert
3:00remaining
Choosing the Right Tool for Multi-Cloud Infrastructure

You need to manage infrastructure across AWS, Azure, and Google Cloud with a single codebase using familiar programming languages. Which tool is best suited for this requirement?

APulumi
BTerraform
CCloudFormation
DUse separate CloudFormation templates for each cloud
Attempts:
2 left
💡 Hint

Think about multi-cloud support and language flexibility.