SDLC Automation

A team packages a Linux application revision for a CodeDeploy EC2/On-Premises deployment. Which capabilities can its AppSpec file define? (Choose three.)

Choose 3 answers

Show the answer

Correct answersB. Set permissions on deployed files and directories.C. Associate scripts with deployment lifecycle events.D. Map revision files to destination directories.

AWhy not this: Task definition references are used by ECS deployments, not EC2/On-Premises AppSpec files.

BWhy this is right: The permissions section configures ownership and permissions for Linux deployment files and directories.

CWhy this is right: The hooks section associates scripts with supported deployment lifecycle events.

DWhy this is right: The files section maps files in the application revision to installation destinations.

EWhy not this: Image Builder recipes are separate image-building resources, not AppSpec configuration.

FWhy not this: Lambda traffic shifting is not a capability of an EC2/On-Premises AppSpec file.

An EC2/On-Premises AppSpec file can define file mappings, lifecycle hooks, and Linux file permissions. ECS task definitions belong to the ECS deployment platform, not EC2/On-Premises deployments.