Question 169 of 1,738
Management and Security GovernancehardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to use the IAM Credential Report to identify and disable inactive IAM users. This report generates a CSV file containing critical columns like `password_last_used` and `access_key_last_used_date`, which directly show the last time a user authenticated or used their access keys, making it the most accurate native method to find users with no activity for 90 days. On the AWS Certified Security Specialty SCS-C02 exam, this scenario tests your ability to audit user credentials efficiently without third-party tools, and a common trap is to suggest CloudTrail or Config rules, which are overkill for a simple user-level inactivity check. The key distinction is that the Credential Report is purpose-built for this exact task—it aggregates all user activity in one export. Memory tip: think of the Credential Report as your "inactivity radar" for both passwords and keys, giving you a single CSV snapshot to spot and disable stale accounts.

SCS-C02 Management and Security Governance Practice Question

This SCS-C02 practice question tests your understanding of management and security governance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A security engineer notices that an IAM user has been inactive for 90 days. What is the best way to identify and disable such users?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use IAM Credential Report and disable users with no activity in 90 days

The IAM Credential Report provides a comprehensive CSV export of all IAM users in the account, including the `password_last_used` and `access_key_last_used_date` columns. This allows a security engineer to directly identify users who have had no activity for 90 days and then disable them by applying an IAM policy with a `Deny` effect or removing their credentials. It is the most straightforward, native, and accurate method for this specific task.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use CloudTrail to identify users with no recent events

    Why it's wrong here

    CloudTrail logs events but not aggregated inactivity.

  • Use AWS Config rule to detect inactive users

    Why it's wrong here

    Config does not track user activity.

  • Use IAM Credential Report and disable users with no activity in 90 days

    Why this is correct

    Credential Report shows last usage.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use AWS Organizations to disable users

    Why it's wrong here

    Organizations does not track user activity.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse CloudTrail (which logs events) with the IAM Credential Report (which directly reports user activity), or they assume AWS Config can evaluate user inactivity when it is designed for resource configuration compliance, not behavioral monitoring.

Detailed technical explanation

How to think about this question

The IAM Credential Report is generated on demand via the AWS Management Console, CLI (`generate-credential-report`), or API, and it includes granular timestamps for password last used, access key 1 last used, and access key 2 last used. A common real-world scenario is a security engineer automating this check with a script that parses the report, compares dates against a 90-day threshold, and then applies a `DenyAll` IAM policy to the identified users. Note that the report only captures activity within the last 365 days; if a user has never logged in, the field will show `N/A` or `no_information`.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SCS-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SCS-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SCS-C02 question test?

Management and Security Governance — This question tests Management and Security Governance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use IAM Credential Report and disable users with no activity in 90 days — The IAM Credential Report provides a comprehensive CSV export of all IAM users in the account, including the `password_last_used` and `access_key_last_used_date` columns. This allows a security engineer to directly identify users who have had no activity for 90 days and then disable them by applying an IAM policy with a `Deny` effect or removing their credentials. It is the most straightforward, native, and accurate method for this specific task.

What should I do if I get this SCS-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on SCS-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A security engineer notices that an IAM user has been performing suspicious actions in an AWS account. The engineer needs to generate a credential report to identify the age of the user's access keys. Which AWS CLI command should the engineer run?

hard
  • A.aws iam get-account-authorization-details
  • B.aws iam generate-credential-report && aws iam get-credential-report
  • C.aws iam generate-service-last-accessed-details
  • D.aws iam list-access-keys --user-name suspectUser

Why B: Option C is correct because generate-credential-report creates the report, and get-credential-report retrieves it. Option A is wrong because list-access-keys only lists keys without age. Option B is wrong because get-account-authorization-details is not for credential reports. Option D is wrong because generate-service-last-accessed-details is for services.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SCS-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SCS-C02 exam.