0
0
Azurecloud~20 mins

ARM vs Bicep vs Terraform decision in Azure - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Infrastructure as Code Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Choosing the right tool for Azure infrastructure as code

You want to deploy Azure resources using infrastructure as code. Which tool is best if you want native Azure support with simple syntax and no external dependencies?

AAzure CLI scripts, because they are easy to write and run commands directly.
BTerraform, because it supports multiple clouds and has a large community.
CBicep, because it is a domain-specific language that compiles to ARM templates and offers simpler syntax.
DARM templates, because they are native JSON templates directly supported by Azure.
Attempts:
2 left
💡 Hint

Think about which tool is directly supported by Azure without extra layers.

Architecture
intermediate
2:00remaining
Selecting a tool for multi-cloud infrastructure management

Your company manages infrastructure across Azure, AWS, and Google Cloud. Which tool is best suited to manage all clouds with a single configuration language?

ATerraform, because it supports multiple cloud providers with one language.
BBicep, because it simplifies ARM templates for Azure but does not support other clouds.
CARM templates, because they are designed for Azure resources only.
DAzure Resource Manager portal, because it provides a graphical interface for all clouds.
Attempts:
2 left
💡 Hint

Consider which tool supports multiple cloud providers natively.

security
advanced
2:30remaining
Handling secrets securely in infrastructure as code

You need to deploy Azure resources and include sensitive data like passwords. Which approach best secures secrets when using Bicep or ARM templates?

AEmbed secrets directly in the ARM or Bicep files as parameters.
BUse Azure Key Vault references in the templates to fetch secrets at deployment time.
CStore secrets in plain text files alongside the templates.
DHardcode secrets in the deployment scripts that call the templates.
Attempts:
2 left
💡 Hint

Think about how to avoid storing secrets in code files.

Best Practice
advanced
2:30remaining
Maintaining infrastructure code readability and reuse

Which practice improves readability and reuse when writing infrastructure as code for Azure using Bicep?

AUse Bicep modules to break down infrastructure into smaller reusable parts.
BWrite all resources in one large Bicep file without modules.
CCopy and paste resource definitions across multiple Bicep files.
DAvoid comments and documentation to keep files short.
Attempts:
2 left
💡 Hint

Think about how to organize code for reuse and clarity.

service_behavior
expert
3:00remaining
Understanding deployment behavior differences between ARM and Terraform

You deploy the same Azure resource using ARM template and Terraform. After deployment, you update the resource outside the tools. What happens when you redeploy with each tool?

ABoth ARM and Terraform detect external changes and update the resource accordingly.
BARM redeploys and overwrites changes; Terraform ignores external changes and does not update the resource.
CARM redeploys and overwrites changes; Terraform detects drift and can update the resource to match the configuration.
DTerraform redeploys and overwrites changes; ARM ignores external changes and does not update the resource.
Attempts:
2 left
💡 Hint

Consider how each tool tracks resource state and handles drift.