Q14 — AWS SOA-C02 Ch.1
Question 14 of 100 | ← Chapter 1
A SysOps administrator is unable to authenticate an AWS CLI call to an AWS service. Which of the following is the cause of this issue?
- A. The IAM password is incorrect.
- B. The server certificate is missing.
- C. The SSH key pair is incorrect.
- D. There is no access key. ✓
Correct Answer: D. There is no access key.
Explanation
AWS CLI的身份验证依赖访问密钥(Access Key ID和Secret Access Key),而非IAM用户密码或SSH密钥。AWS官方文档明确指出,使用AWS CLI时必须配置有效的访问密钥。选项A的IAM密码用于控制台登录,与CLI无关。选项B的服务器证书问题通常影响SSL连接,不影响认证流程。选项C的SSH密钥用于EC2实例访问,不作用于API调用。选项D正确,因为未配置访问密钥会导致AWS CLI无法完成身份验证。