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