SAM Templates Quiz

5 questions Pass: 70% +25 pts

Quiz covering CI/CD Deployment

SAM Templates Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which AWS SAM template section is used to define the serverless resources, such as Lambda functions and API Gateways?

  2. 2

    What is the primary purpose of the 'Transform: AWS::Serverless-2016-10-31' declaration at the top of a SAM template?

  3. 3

    You want to define a default timeout for all Lambda functions in your SAM template to avoid repeating the configuration. Which section should you use?

  4. 4

    When using 'sam deploy --guided', where are the deployment configuration settings (such as stack name and region) saved for future use?

  5. 5

    You are deploying a SAM template that includes an API Gateway and a Lambda function. You want to implement a 'Canary' deployment strategy. Which SAM feature allows you to automate this traffic shifting?