Which sequence best describes a typical deployment pipeline?
Deployment Pipelines and AWS SAM Online Quiz Questions
Use this free practice quiz with 10 questions to review Deployment Pipelines and AWS SAM, test your knowledge, and prepare for your next test or exam.
A team wants to change environment settings without changing application logic. Which practice best supports this?
- A
Embed each environment's settings directly into application logic
- B
Use the same configuration in every environment and avoid maintaining separate settings
- C
Keep environment-specific configuration separate from application logic
- D
Store production credentials in application code so every environment can access them
Which practice is recommended for deployment credentials?
- A
Give deployment credentials to every developer and service
- B
Restrict deployment credentials
- C
Include deployment credentials in application logic
- D
Use one unrestricted credential for every environment
How should resource boundaries be handled across deployment environments?
- A
Remove resource boundaries so environments share all resources
- B
Give every environment identical resource access regardless of its role
- C
Set boundaries only for production and leave all other environments unrestricted
- D
Ensure each environment has appropriate resource boundaries
Which approach is preferred for production deployment steps?
- A
Use automated, repeatable deployment steps
- B
Make every production deployment a manual sequence with different steps
- C
Avoid documenting or automating production deployment steps
- D
Change the deployment procedure for every release
When a gradual release is appropriate, which rollout approach best matches the recommendation?
- A
Move all traffic to the new version immediately and stop monitoring
- B
Keep all traffic on the old version until the new version is retired
- C
Shift a small portion of traffic to the new version and monitor alarms
- D
Send traffic randomly to both versions without monitoring
During a gradual rollout, alarms indicate that errors are rising. Which response is recommended?
- A
Continue shifting traffic to the new version regardless of errors
- B
Roll back if errors rise
- C
Disable alarms during the rollout
- D
Promote the release to all traffic before checking errors
Which testing plan places both automated tests and cloud integration tests before production promotion?
- A
Run cloud integration tests only after production promotion
- B
Skip automated tests when a test environment is available
- C
Promote to production before running either type of test
- D
Run automated tests, deploy to a test environment, and run cloud integration tests before promotion
For a small AWS SAM project, what is sam deploy --guided used for?
- A
Use
sam deploy --guidedto configure the initial deployment - B
Use
sam deploy --guidedto run cloud integration tests - C
Use
sam deploy --guidedto promote a release directly to production - D
Use
sam deploy --guidedto define automated tests
After sam deploy --guided configures an initial deployment, what can a small AWS SAM project use for later deployments?
- A
Repeat the guided setup for every deployment because settings cannot be saved
- B
Replace saved deployment settings with application logic
- C
Use saved settings for later deployments
- D
Use saved settings only to run cloud integration tests
Related study packs and tools
AWS Cloud Concepts
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
12 study toolsAWS Cloud Practitioner Practice Test
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
15 study toolsAWS Cloud Technology and Services: Cloud Databases
Focused study of relational and nonrelational databases and service selection concepts.
12 study toolsAWS Cloud Technology and Services: Container Services
Focused study of containers, orchestration and container service use cases.
27 study toolsAWS Cloud Technology and Services: EC2 Compute
Focused study of instances, instance types, scaling and compute use cases.
12 study toolsAWS Cloud Technology and Services: S3 Storage
Focused study of objects, buckets, storage classes and storage use cases.
12 study tools