AWS Certified Cloud Practitioner (CLF-C02) — Question 604
A developer needs to interact with AWS by using the AWS CLI.
Which security feature or AWS service must be provisioned in the developer's account to meet this requirement?
Answer options
- A. User name and password
- B. AWS Systems Manager
- C. Root password access
- D. AWS access key
Correct answer: D
Explanation
To access AWS resources programmatically via the AWS CLI or SDKs, an AWS access key (consisting of an Access Key ID and a Secret Access Key) is required. Traditional usernames and passwords, as well as root password access, are used for AWS Management Console login rather than CLI access. AWS Systems Manager is a management service and is not the authentication mechanism required for basic CLI access.