“Last accessed information and the credential report both sound like IAM ‘reports,’ and I can’t decide which one to choose.”
“Whenever the word ‘audit’ appears, I end up choosing AWS Artifact.”
AWS Certified Cloud Practitioner (exam code CLF-C02, CLF below) asks questions that test whether you can tell which tool to use for checking IAM by its purpose. From a purpose such as the one in this question, “a list of the MFA and access key status of all IAM users,” you choose which tool is the answer.
This article is Question 28 of a series that explains CLF practice questions one at a time. The author wrote the questions to match the scope of the exam; they are not actual exam questions. Choose your answer first, then read the explanation.
Question
An external auditor has asked a company to provide, as a list document, whether MFA is enabled and the date each access key was last rotated for every IAM user in its AWS account. Which method requires the least effort?
- A. Check IAM last accessed information (access advisor) user by user
- B. Generate an IAM credential report and download the CSV file
- C. Download a compliance report from AWS Artifact
- D. Look through the AWS CloudTrail event history for each user’s operations
Once you have chosen your answer, open the section below.
Show the answer (click to open)
Answer: B
The IAM credential report puts the status of passwords, access keys, and MFA for all IAM users into a single CSV file list. You can hand it to the auditor as is, so it is the method that requires the least effort.
The answer is B
The correct answer is B, the IAM credential report.
The credential report puts the status of passwords, access keys, and MFA for all IAM users in the account into a single CSV file list. You can hand it to the auditor as is, so it is the method that requires the least effort. Let’s look at the options one at a time.
Explanation of each option
A: Last accessed information is for reviewing permissions (incorrect)

Last accessed information is also called access advisor. As in the diagram, it shows when one user last accessed the services they are allowed to use.
You use it to find permissions for services that have not been accessed for a long time and remove them, moving closer to least privilege. It is not a list of MFA or access key rotation status. Because you view it one user at a time, it also takes effort.
B: The credential report is a CSV list (correct)

The IAM credential report collects the credential status of all IAM users in the account, and of the root user, into a CSV file.
As in the diagram, the columns show whether MFA is enabled, the date the access key was last rotated, the date the password was last used, and so on. You can also spot users without MFA right away. A report can be generated once every four hours, and you can hand it to the auditor as is.
C: Artifact provides AWS’s own reports (incorrect)

What you can get from AWS Artifact are compliance reports about AWS itself, such as SOC and PCI reports.
Words such as audit and report fit, but the content is about AWS’s environment. It does not show the status of the IAM users inside the customer’s account.
D: CloudTrail records operations (incorrect)

The CloudTrail event history is a record of who performed which operation, and when. As in the diagram, operations are listed in time order.
Searching for each user’s operations in it takes effort. Moreover, tracing the records of operations does not give you a list of whether MFA is enabled now.
Tools for checking IAM
Here are the tools for checking IAM, organized by purpose. Use each one according to your purpose.
| Tool | What it shows and what it is for |
|---|---|
| Credential report | The credential status of all IAM users (CSV) / passwords, access keys, MFA → provide to auditors |
| Last accessed information | When each service was last accessed / → remove permissions you do not use |
| IAM Access Analyzer | Finds resources shared with external parties |
Key points
- The MFA, access key, and password status of all IAM users → credential report (CSV)
- Finding permissions you do not use → last accessed information
- AWS’s own audit reports → Artifact
- Records of operations → CloudTrail
The course articles explain the credential report, last accessed information, and the principle of least privilege in detail.
- Lecture 10, Part 5: IAM and least privilege, in the “The principle of least privilege and access reports” section
- Lecture 10, Part 9: Compliance and information sources, in the “AWS Artifact” section
You can read all 14 lectures of AWS Cloud Practitioner Exam Prep in order from its series page.
The CLF-C02 Practice Questions series (100 questions)
All 100 questions with a reading guide: CLF-C02 Practice Questions
In this group (Questions 19–30: The shared responsibility model and security):
- Question 19: Principle of least privilege (IAM policies and SCPs)
- Question 20: Shared responsibility model (what AWS is responsible for with EC2 and S3)
- Question 21: Examples of shared controls (IT controls in the shared responsibility model)
- Question 22: Compliance reports and agreements (AWS Artifact)
- Question 23: Threat detection (Amazon GuardDuty)
- Question 24: Continuous vulnerability scanning (Amazon Inspector)
- Question 25: Discovering sensitive data in S3 (Amazon Macie)
- Question 26: Encryption at rest for S3 and managing the keys (SSE-KMS and client-side encryption)
- Question 27: Finding out who made a change (AWS CloudTrail)
- Question 28: A list of IAM users’ credentials (credential report) (this article)
- Question 29: Granting permissions to an application on EC2 (IAM roles)
- Question 30: Automatic rotation of database passwords (AWS Secrets Manager)
This series is the English edition of 【CLF-C02 試験対策問題】, originally written in Japanese.


コメント