AWS Certified Developer – Associate — Question 426
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
- A. Install the AWS CLI. Configure the AWS CLI by using an IAM user name and password.
- B. Install the AWS CLI. Configure the AWS CLI by using an SSH key.
- C. Install the AWS CLI. Configure the AWS CLI by using an IAM user access key and secret key.
- D. Install an AWS software development kit (SDK). Configure the SDK by using an X.509 certificate.
Correct answer: C
Explanation
To deploy a CloudFormation template from a local machine, the developer needs to install the AWS CLI and configure it with programmatic access credentials. Programmatic access via the CLI requires an IAM user access key ID and secret access key to sign requests. Other credential types, such as usernames with passwords, SSH keys, or X.509 certificates, are not used for standard AWS CLI configuration.