nerdexam
Amazon

DVA-C02 · Question #54

A developer is using AWS CodeDeploy to deploy an application running on Amazon EC2. The developer wants to change the file permissions for a specific deployment file. Which lifecycle event should a…

The correct answer is A. AfterInstall. You can use the AfterInstall deployment lifecycle event for tasks such as configuring your application or changing file permissions. https://aws.amazon.com/codedeploy/faqs/

Submitted by akirajp· Mar 5, 2026Deployment

Question

A developer is using AWS CodeDeploy to deploy an application running on Amazon EC2. The developer wants to change the file permissions for a specific deployment file. Which lifecycle event should a developer use to meet this requirement?

Options

  • AAfterInstall
  • BDownloadBundle
  • CBeforeInstall
  • DValidateService

How the community answered

(63 responses)
  • A
    87% (55)
  • B
    5% (3)
  • C
    2% (1)
  • D
    6% (4)

Explanation

You can use the AfterInstall deployment lifecycle event for tasks such as configuring your application or changing file permissions. https://aws.amazon.com/codedeploy/faqs/

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice