Timedora
Free Practice Quiz Question List

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.

10 questions
01
Choose one
1 point

Which sequence best describes a typical deployment pipeline?

  1. A

    Build, run automated tests, deploy to a test environment, run cloud integration tests, then promote to production

  2. B

    Build, promote to production, then run automated tests and cloud integration tests

  3. C

    Deploy to production, run cloud integration tests, then build and test the application

  4. D

    Run cloud integration tests, promote to production, then deploy to a test environment

02
Choose one
1 point

A team wants to change environment settings without changing application logic. Which practice best supports this?

  1. A

    Embed each environment's settings directly into application logic

  2. B

    Use the same configuration in every environment and avoid maintaining separate settings

  3. C

    Keep environment-specific configuration separate from application logic

  4. D

    Store production credentials in application code so every environment can access them

03
Choose one
1 point

Which practice is recommended for deployment credentials?

  1. A

    Give deployment credentials to every developer and service

  2. B

    Restrict deployment credentials

  3. C

    Include deployment credentials in application logic

  4. D

    Use one unrestricted credential for every environment

04
Choose one
1 point

How should resource boundaries be handled across deployment environments?

  1. A

    Remove resource boundaries so environments share all resources

  2. B

    Give every environment identical resource access regardless of its role

  3. C

    Set boundaries only for production and leave all other environments unrestricted

  4. D

    Ensure each environment has appropriate resource boundaries

05
Choose one
1 point

Which approach is preferred for production deployment steps?

  1. A

    Use automated, repeatable deployment steps

  2. B

    Make every production deployment a manual sequence with different steps

  3. C

    Avoid documenting or automating production deployment steps

  4. D

    Change the deployment procedure for every release

06
Choose one
1 point

When a gradual release is appropriate, which rollout approach best matches the recommendation?

  1. A

    Move all traffic to the new version immediately and stop monitoring

  2. B

    Keep all traffic on the old version until the new version is retired

  3. C

    Shift a small portion of traffic to the new version and monitor alarms

  4. D

    Send traffic randomly to both versions without monitoring

07
Choose one
1 point

During a gradual rollout, alarms indicate that errors are rising. Which response is recommended?

  1. A

    Continue shifting traffic to the new version regardless of errors

  2. B

    Roll back if errors rise

  3. C

    Disable alarms during the rollout

  4. D

    Promote the release to all traffic before checking errors

08
Choose one
1 point

Which testing plan places both automated tests and cloud integration tests before production promotion?

  1. A

    Run cloud integration tests only after production promotion

  2. B

    Skip automated tests when a test environment is available

  3. C

    Promote to production before running either type of test

  4. D

    Run automated tests, deploy to a test environment, and run cloud integration tests before promotion

09
Choose one
1 point

For a small AWS SAM project, what is sam deploy --guided used for?

  1. A

    Use sam deploy --guided to configure the initial deployment

  2. B

    Use sam deploy --guided to run cloud integration tests

  3. C

    Use sam deploy --guided to promote a release directly to production

  4. D

    Use sam deploy --guided to define automated tests

10
Choose one
1 point

After sam deploy --guided configures an initial deployment, what can a small AWS SAM project use for later deployments?

  1. A

    Repeat the guided setup for every deployment because settings cannot be saved

  2. B

    Replace saved deployment settings with application logic

  3. C

    Use saved settings for later deployments

  4. D

    Use saved settings only to run cloud integration tests