Flashcardsfor IT Certifications

D3: Infrastructure as Code with SAM & CloudFormation

AWS Associate AWS Certified Developer – Associate exam practice questions · 12 flashcards

Question
SAM Transform line?
1 / 12

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 12 Infrastructure as Code with SAM & CloudFormation practice questions and answers
  1. SAM Transform line?
    Transform: AWS::Serverless-2016-10-31.
  2. SAM resource types?
    AWS::Serverless::Function, Api, HttpApi, SimpleTable, LayerVersion, StateMachine, Application.
  3. SAM Globals section?
    Common properties for all functions/APIs (runtime, timeout, env vars).
  4. SAM policy templates?
    Predefined least-privilege policies like DynamoDBCrudPolicy, S3ReadPolicy.
  5. SAM AutoPublishAlias?
    Publishes a new version and updates alias on each deploy.
  6. SAM DeploymentPreference?
    Configures CodeDeploy traffic shifting (Canary10Percent5Minutes, Linear10PercentEvery1Minute, AllAtOnce) with alarms and hooks.
  7. CloudFormation intrinsic functions?
    Ref, Fn::GetAtt, Fn::Sub, Fn::Join, Fn::ImportValue, Fn::If, Fn::FindInMap.
  8. CloudFormation Parameters?
    Inputs at deploy time (e.g. environment name).
  9. CloudFormation Outputs and Exports?
    Expose values, optionally exported for cross-stack references.
  10. Update existing template safely?
    Use change sets to preview resource replacement before executing.
  11. Updating a resource property that requires replacement?
    CloudFormation creates new resource and deletes old — beware data loss.
  12. AWS CDK for developers?
    Define infrastructure in code languages; cdk synth/deploy.