โ† All AWS Flashcard Decks

DevOps Configuration Management & Infrastructure as Code Flashcards

7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 DevOps Configuration Management & Infrastructure as Code flashcards as text
  1. A team uses AWS CloudFormation and wants to prevent accidental deletion of a production database stack. Which CloudFormation feature should they enable?

    Answer: Stack termination protection

    Stack termination protection prevents a CloudFormation stack from being deleted until the protection is explicitly disabled.

  2. When using AWS CDK, what command synthesizes the CloudFormation template from your CDK app without deploying it?

    Answer: cdk synth

    `cdk synth` generates and prints the CloudFormation template without making any AWS API calls to deploy resources.

  3. A CloudFormation stack update fails and rolls back. Which resource status indicates the resource was successfully rolled back to its previous state?

    Answer: UPDATE_ROLLBACK_COMPLETE

    UPDATE_ROLLBACK_COMPLETE means the stack failed to update and was successfully rolled back to its prior configuration.

  4. Which AWS Systems Manager capability allows you to define and enforce configuration baselines across EC2 instances at scale?

    Answer: State Manager

    State Manager automates the process of keeping EC2 instances in a defined and consistent state by applying configuration documents on a schedule.

  5. In Terraform, which command shows what infrastructure changes will be made before actually applying them?

    Answer: terraform plan

    `terraform plan` creates an execution plan showing which actions Terraform will take without making any actual changes.

  6. A CloudFormation template includes a resource with `DeletionPolicy: Snapshot`. What happens to an RDS instance with this policy when the stack is deleted?

    Answer: A final DB snapshot is created before the instance is deleted

    DeletionPolicy: Snapshot causes CloudFormation to create a snapshot of the resource before deleting it when the stack is removed.

  7. Which AWS service provides a managed Git repository integrated with CodePipeline and supports branch-level access controls using IAM policies?

    Answer: AWS CodeCommit

    AWS CodeCommit is a fully managed Git-based source control service that integrates natively with other AWS Developer Tools and supports IAM-based access control.