nerdexam
Amazon

DVA-C02 · Question #679

A developer is configuring AWS CodeDeploy to deploy an existing application to on-premises servers. The developer has a copy of all application source files and configurations in a directory on a…

The correct answer is A. Add an AppSpec file to the root of the application's directory. Bundle the directory into an archive. To prepare an application revision for CodeDeploy, the developer must include an AppSpec file in the root of the application directory, bundle the entire directory into an archive (such as a .zip file), and upload this archive to Amazon S3. This package is then used by…

Submitted by tom_us· Mar 5, 2026Deployment

Question

A developer is configuring AWS CodeDeploy to deploy an existing application to on-premises servers. The developer has a copy of all application source files and configurations in a directory on a local development machine. How can the developer prepare an application revision to be ready for deployment?

Options

  • AAdd an AppSpec file to the root of the application's directory. Bundle the directory into an archive
  • BUse the AWS CLI create-deployment command.
  • CCreate an AppSpec file locally. Upload the file to Amazon S3.
  • DUse the AppSpec editor in the CodeDeploy console to specify the AppSpec file for the application

How the community answered

(21 responses)
  • A
    90% (19)
  • B
    5% (1)
  • D
    5% (1)

Explanation

To prepare an application revision for CodeDeploy, the developer must include an AppSpec file in the root of the application directory, bundle the entire directory into an archive (such as a .zip file), and upload this archive to Amazon S3. This package is then used by CodeDeploy for

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice