ACTUAL EXAMINATION TEST 2026
◉ Where should be the build artifacts for our CodeDeploy? Answer:
They should be either in S3 or in Github
◉ Which daemon should be running in the EC2 instances for
CodeDeploy to work? Answer: CodeDeploy Agent
◉ How are the CodeDeployAgents communicating to CodeDeploy?
Answer: Polling
◉ What happens after a trigger in CodeDeploy? (new code artifacts)
Answer: The CodeDeploy Agent pulls the new artifacts and reads the
appspec.yml
◉ What are the primary components of CodeDeploy? Answer:
Application, Deployment Configuration (rules for success, failure),
Deployment Groups, Compute Platform (EC2, Lambdas, ECS, ...),
Deployment Type (In place, Blue/Green), Service Role (IAM Role for
CodeDeploy to perform operations on AWS services like EC2, ASG,
ELB, ...), Application Revision (app code + appspec.yml), Instance
Profile (roles for the EC2 instance to pull from S3 or Github), target
Revision
,◉ What are all the available Hooks in CodeDeploy? Answer:
AplicationStop
DownloadBundle
BeforeInstall
Install
AfterInstall
ApplicationStart
ValidateService
BeforeAllowTraffic
AllowTraffic
AfterAllowTraffic
◉ What are the two main attributes in the appspec.yml ? Answer:
Files and Hooks
◉ What are the different Deployment Configurations in CodeDeploy?
Answer: One at a time
Half at a time
All at once
Blue/Green
Custom
,◉ What do I need to do a Blue/Green Deployment with CodeDeploy?
Answer: An ALB
◉ What should you do to upload objects larger than 100MB in S3?
Answer: Multipart Upload
◉ What platforms does support ElasticBeanstalk? Answer: Java,
Node, Python, Single Docker Container
◉ What are the common components of CloudFormation templates?
Answer: Description
Metadata
Parameters
Mappings
Conditions
Transform
Resources
Outputs
◉ What does Dynamo Read Capacity Unit represent? Answer: A
Read Capacity Unit (RCU) represents one strongly consistent read
per second, or two eventually consistent reads per second, for an
item up to 4 KB in size.
, ◉ Should I include RDS instances in ElasticBeanstalk? Answer: No, it
is better to decouple it, and launch it externally.
◉ How to ensure DynamoDB is encrypted at rest? Answer: No need
to do anything, it is already provided by AWS itself.
◉ What does AssumeRoleWithWebIdentity in STS return? Answer:
Temporary AWS credentials
◉ How to encrypt in S3 using SSE? Answer: Use the header "x-amz-
server-side-encryption"
◉ Which Elastic Beanstalk deployment type maintains full capacity
and launches a new batch of instances before taking any our of
service? Answer: Rolling with Additional Batch
◉ What flavor of Elasticache for multi AZ redundancy? Answer:
Redis
◉ What flavor of Elasticache for lists, hashes, sets, leaderboards,
persistence? Answer: Redis