Bash, the Crucial Exams Chat Bot
AI Bot

Infrastructure as Code (IaC) Practices Flashcards

CompTIA AutoOps+ AT0-001 Flashcards

Study our Infrastructure as Code (IaC) Practices flashcards for the CompTIA AutoOps+ AT0-001 exam with 44+ flashcards. View as flashcards, a searchable table, or as a fun matching game.
CompTIA AutoOps+ AT0-001 Course Header Image
FrontBack
Declarative vs Imperative IaC differenceDeclarative describes desired state Imperative describes steps to reach state
Explain plan then apply workflowGenerate a plan to preview changes then apply after review to avoid surprises
Give an example of a remote state backendAWS S3 with state locking via DynamoDB
Give an example of an IaC unit testValidate module input validation and generated resource attributes with a test harness
Give examples of secret management backendsHashiCorp Vault AWS Secrets Manager and Azure Key Vault
How can you detect driftUse plan or refresh commands scheduled scans and resource drift APIs
How do IaC tools implement idempotenceCompare current state to desired state and apply only required changes
How to handle provider credentials in CIUse short lived credentials environment injection and least privilege IAM roles
How to manage secrets in IaCReference external secret stores avoid hardcoding and use encryption and access controls
How to perform safe rollbacksUse versioned modules immutable artifacts and automated rollback procedures with tested playbooks
How to structure IaC repositoriesMonorepo for simpler coordination or multiple repos for isolation with clear module registries
List three module design principlesSingle responsibility clear inputs minimal side effects and versioned interfaces
Name a static analysis tool for TerraformTFLint or Checkov
Name three benefits of IaCRepeatability version control auditability and automation for faster reliable deployments
What are common drift remediation strategiesReapply desired configuration notify operators or rebuild affected resources
What are IaC testing levelsUnit testing integration testing and end to end testing
What are provider plugins in TerraformComponents that translate resource types to cloud provider APIs
What does idempotence mean in IaCApplying the same configuration multiple times produces the same result without unintended changes
What does tainting a resource doMarks resource for destruction and recreation on next apply
What is a change review checklist for IaCVerify intent state impact cost security compliance and rollback plan
What is a drift detection automation tipSchedule periodic plan or refresh jobs with alerting for unexpected changes
What is a module registryCentralized storage for versioned reusable modules to share across teams
What is an IaC module or reusable componentEncapsulated configuration that can be reused with inputs and outputs
What is an integration test for IaCProvision resources in a sandbox and verify connectivity and configuration
What is drift in infrastructure configurationWhen real world resources diverge from declared configuration
What is drift remediation as codeAutomated processes that detect drift and either reconcile or open tracked changes
What is end to end testing for IaCDeploy full stack and run application level acceptance tests
What is graph based dependency resolutionIaC tool analyzes resource dependencies to create correct create update and delete order
What is immutability testingValidate that replacing resources yields consistent expected behavior without data loss
What is immutable infrastructureReplace resources instead of mutating them to reduce configuration drift and simplify rollbacks
What is Infrastructure as Code IaCManaging infrastructure using machine readable definitions to automate provisioning and configuration
What is resource targeting and why be cautiousApplying changes to specific resources can skip dependencies and cause inconsistent state
What is semantic versioning for modulesUsing MAJOR.MINOR.PATCH to communicate breaking changes new features and fixes
What is state locking and why is it importantPrevents concurrent runs from corrupting state during updates
What is state management in IaCTracking infrastructure resources metadata to map configuration to real world resources
What is the role of feature branches and PRs in IaCEnable peer review and automated plan validation before merging changes
When to use mutable infrastructureSmall changes during development or when replacement cost is high
Why avoid excessive interpolation and templatesComplex templating increases cognitive load and risk of subtle runtime errors
Why encrypt state filesState contains sensitive data and resource identifiers that must be protected at rest
Why include IaC in CI pipelinesAutomate validation testing linting and plan generation to catch issues early
Why pin module and provider versionsEnsure reproducible deployments and avoid unexpected breaking changes
Why run linters on IaCFind security misconfigurations style issues and early logic errors
Why run plan approvals in a gatePrevent accidental destructive changes and require human review for risk mitigation
Why use a remote state backendShared locking collaboration and centralized state for teams

About the Flashcards

Flashcards for the CompTIA AutoOps+ exam reinforce the skills you need to design, implement, and maintain Infrastructure as Code solutions. Each card distills definitions, comparisons, and key benefits of IaC, from declarative versus imperative approaches to the role of idempotence and immutable infrastructure, helping you quickly recall essential terminology on test day.

Questions also explore state files, remote backends, drift detection, and graph-based dependency planning, ensuring you understand how IaC tools manage real-world resources. Coverage of modules, semantic versioning, testing levels, static analysis, secrets handling, and CI/CD workflows prepares you to evaluate security, reliability, and collaboration practices in complex cloud environments.

Topics covered in this flashcard deck:

  • Infrastructure as Code basics
  • State management & drift
  • Modules & versioning
  • Testing & static analysis
  • Secrets and security
  • CI/CD workflows
Share on...
Follow us on...