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

A developer needs to write an AWS CloudFormation template on a local machine and deploy a CloudFormation stack to AWS.

What must the developer do to complete these tasks?

Answer options

Correct answer: C

Explanation

To deploy a CloudFormation stack from a local machine, the developer needs to install the AWS CLI and configure it with programmatic credentials, specifically an IAM access key and secret key. Using a username and password is for AWS Management Console access, not the AWS CLI, and SSH keys or X.509 certificates are not used for standard AWS CLI authentication. While an AWS SDK can deploy stacks, the standard and most direct way to deploy local templates is via the AWS CLI configured with secure programmatic keys.