SAM Templates Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering CI/CD Deployment

What you'll be asked

  1. Which AWS SAM template section is used to define the serverless resources, such as Lambda functions and API Gateways?
  2. What is the primary purpose of the 'Transform: AWS::Serverless-2016-10-31' declaration at the top of a SAM template?
  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. When using 'sam deploy --guided', where are the deployment configuration settings (such as stack name and region) saved for future use?
  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?

Answers and explanations come after you submit.