AWS Certified Developer – Associate (DVA-C02) — Question 424

A developer is working on an application that will be deployed on AWS. The developer needs to test and debug the code locally. The code is packaged and stored in an Amazon S3 bucket.

How can the developer test and debug the code locally with the LEAST amount of configuration?

Answer options

Correct answer: D

Explanation

The codedeploy-local tool allows developers to test and debug deployments locally without configuring full deployment groups, pipelines, or registering the local machine as an on-premises instance in the AWS Management Console. By installing the CodeDeploy agent and executing the codedeploy-local command with the --bundle-location option, the developer can directly pull and test the S3-hosted package with minimal overhead. Other options either require extensive cloud-side configuration or do not support direct local execution and debugging.