โ† All AWS Flashcard Decks

Deployment and Management 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 Deployment and Management flashcards as text
  1. A company wants to deploy an application using a blue/green deployment strategy with zero downtime. Which AWS service best supports this?

    Answer: AWS CodeDeploy with Blue/Green deployment type

    AWS CodeDeploy's Blue/Green deployment type shifts traffic from the original (blue) environment to a replacement (green) environment with zero downtime.

  2. Which AWS CloudFormation feature allows you to preview changes to your stack before executing them?

    Answer: Change Set

    A CloudFormation Change Set lets you preview how proposed changes will affect your stack resources before applying them.

  3. An operations team needs to run commands on a fleet of EC2 instances without SSH access. Which service should they use?

    Answer: AWS Systems Manager Run Command

    AWS Systems Manager Run Command allows you to remotely execute commands on EC2 instances without opening inbound ports or managing SSH keys.

  4. What is the purpose of an AWS Elastic Beanstalk environment's .ebextensions directory?

    Answer: Define custom configuration and resource provisioning for the environment

    The .ebextensions directory contains YAML or JSON configuration files that customize and configure the Elastic Beanstalk environment during deployment.

  5. A developer wants to ensure that their AWS CloudFormation stack cannot be accidentally deleted. Which feature should they use?

    Answer: Termination Protection

    CloudFormation Termination Protection prevents a stack from being accidentally deleted, requiring it to be explicitly disabled before deletion is allowed.

  6. Which deployment preference type in AWS SAM allows you to gradually shift traffic to a new Lambda function version over time?

    Answer: Canary

    A Canary deployment shifts a small percentage of traffic to the new version first, then shifts all remaining traffic after a specified interval if no alarms trigger.

  7. An engineer needs to store sensitive configuration values like database passwords for use in AWS CodeBuild. What is the recommended approach?

    Answer: Store values in AWS Secrets Manager and reference them in the buildspec

    AWS Secrets Manager integrates with CodeBuild, allowing buildspec.yml to reference secrets by name without exposing plaintext values in the project configuration.