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
In AWS CodePipeline, which artifact store type is used by default to pass artifacts between stages?
Answer: Amazon S3
CodePipeline uses an Amazon S3 bucket as its default artifact store to pass source code, build outputs, and other artifacts between pipeline stages.
Which AWS CloudFormation resource type allows you to run custom provisioning logic using Lambda functions during stack operations?
Answer: AWS::CloudFormation::CustomResource
AWS::CloudFormation::CustomResource (or Custom::*) invokes a Lambda function or SNS topic to perform custom provisioning logic not natively supported by CloudFormation.
A company needs to ensure that all EC2 instances launched in their AWS account have a specific tag applied. Which service and feature enforces this?
Answer: AWS Config with required-tags managed rule
AWS Config's required-tags managed rule continuously checks resources and flags non-compliant instances that are missing specified tags.
What does the buildspec.yml file define in an AWS CodeBuild project?
Answer: The sequence of commands and settings for the build process
The buildspec.yml file is a collection of build commands and settings, organized into phases (install, pre_build, build, post_build), that CodeBuild uses to run a build.
A solutions architect needs to deploy identical infrastructure across 15 AWS accounts in 3 regions. Which service is most appropriate?
Answer: AWS CloudFormation StackSets
CloudFormation StackSets enables deploying a single CloudFormation template across multiple accounts and regions in a single operation.
Which lifecycle hook in AWS CodeDeploy runs validation tests AFTER traffic has been shifted to a new deployment but BEFORE the old instances are terminated?
Answer: AfterAllowTraffic
The AfterAllowTraffic hook runs after traffic is routed to the replacement instances, allowing validation tests before the original instances are deregistered and terminated.
A team wants AWS Elastic Beanstalk to automatically apply operating system and platform updates during a maintenance window. Which feature provides this?
Answer: Managed Platform Updates
Elastic Beanstalk Managed Platform Updates automatically applies platform and OS patches during a weekly maintenance window you configure.