- A
Wait to see whether charges increase
Why wrong: Waiting allows further abuse.
- B
Disable or rotate the key and review actions performed with it
The exposed credential must be invalidated and its use scoped through audit logs. In eradication, responders need action that reduces risk while preserving the investigation record.
- C
Block the developer's laptop from Wi-Fi
Why wrong: The risk is the exposed cloud key, not necessarily the laptop network.
- D
Ask the developer to delete the commit only
Why wrong: Deleted commits may remain in clones and caches; the key is already compromised.
Quick Answer
The correct first step is to disable or rotate the compromised cloud access key and immediately review all actions performed with it. This is because the immediate priority in any cloud access key compromised public repository scenario is to revoke the key to halt further unauthorized use, while simultaneously examining logs to assess the scope of the breach—a critical dual action for both containment and forensic evidence collection. On the CompTIA CySA+ CS0-003 exam, this tests your understanding of incident response priorities in regulated environments like PCI DSS, where failing to disable the key first could lead to non-compliance penalties and data exposure. A common trap is choosing to delete the key or notify law enforcement first, but neither stops active misuse nor preserves evidence. Remember the mnemonic: “Revoke and Review”—revoke access, then review the damage.
CS0-003 Incident Response and Management Practice Question
This CS0-003 practice question tests your understanding of incident response and management. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
In a regulated payment environment, a developer accidentally committed a cloud access key to a public repository. Logs show the key was used from an unfamiliar IP. What should be done first? During eradication, which decision is most defensible? which action best reduces risk without losing evidence?
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.
Clue:
"first"Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
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
Disable or rotate the key and review actions performed with it
Option B is correct because the immediate priority is to revoke the compromised cloud access key to prevent further unauthorized use, while simultaneously reviewing logs to understand the scope of the attacker's actions. In a regulated payment environment (e.g., PCI DSS), failing to disable the key promptly could lead to a data breach and non-compliance penalties. Reviewing actions with the key is essential for incident response and forensic evidence collection.
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.
- ✗
Wait to see whether charges increase
Why it's wrong here
Waiting allows further abuse.
- ✓
Disable or rotate the key and review actions performed with it
Why this is correct
The exposed credential must be invalidated and its use scoped through audit logs. In eradication, responders need action that reduces risk while preserving the investigation record.
Clue confirmation
The clue words "best", "first" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Block the developer's laptop from Wi-Fi
Why it's wrong here
The risk is the exposed cloud key, not necessarily the laptop network.
- ✗
Ask the developer to delete the commit only
Why it's wrong here
Deleted commits may remain in clones and caches; the key is already compromised.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the misconception that containment means physically isolating the user (e.g., blocking Wi-Fi) rather than logically revoking the compromised credential, leading candidates to pick Option C over the correct technical containment action.
Detailed technical explanation
How to think about this question
Cloud access keys (e.g., AWS Access Key ID and Secret Access Key) are long-term credentials that, once compromised, allow API calls to cloud services until rotated or disabled. In a regulated environment, logging services like AWS CloudTrail or Azure Monitor capture every API call with source IP, user agent, and timestamp; reviewing these logs helps determine if the key was used to access sensitive resources (e.g., S3 buckets with payment data). The principle of least privilege and key rotation policies (e.g., IAM key rotation every 90 days) are critical to minimize blast radius.
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 developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.
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.
- →
Incident Response and Management — study guide chapter
Learn the concepts, then practise the questions
- →
Incident Response and Management practice questions
Targeted practice on this topic area only
- →
All CS0-003 questions
503 questions across all exam domains
- →
CompTIA CySA+ CS0-003 study guide
Full concept coverage aligned to exam objectives
- →
CS0-003 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CS0-003 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Security Operations practice questions
Practise CS0-003 questions linked to Security Operations.
Vulnerability Management practice questions
Practise CS0-003 questions linked to Vulnerability Management.
Incident Response and Management practice questions
Practise CS0-003 questions linked to Incident Response and Management.
Reporting and Communication practice questions
Practise CS0-003 questions linked to Reporting and Communication.
CompTIA A+ hardware practice questions
Practise CS0-003 questions linked to CompTIA A+ hardware.
CompTIA A+ mobile devices practice questions
Practise CS0-003 questions linked to CompTIA A+ mobile devices.
CompTIA A+ networking practice questions
Practise CS0-003 questions linked to CompTIA A+ networking.
CompTIA A+ operating systems practice questions
Practise CS0-003 questions linked to CompTIA A+ operating systems.
CompTIA A+ security practice questions
Practise CS0-003 questions linked to CompTIA A+ security.
CompTIA A+ software troubleshooting questions
Practise CS0-003 questions linked to CompTIA A+ software troubleshooting questions.
CompTIA A+ operational procedures questions
Practise CS0-003 questions linked to CompTIA A+ operational procedures questions.
Practice this exam
Start a free CS0-003 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 CS0-003 question test?
Incident Response and Management — This question tests Incident Response and Management — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Disable or rotate the key and review actions performed with it — Option B is correct because the immediate priority is to revoke the compromised cloud access key to prevent further unauthorized use, while simultaneously reviewing logs to understand the scope of the attacker's actions. In a regulated payment environment (e.g., PCI DSS), failing to disable the key promptly could lead to a data breach and non-compliance penalties. Reviewing actions with the key is essential for incident response and forensic evidence collection.
What should I do if I get this CS0-003 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", "first". 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 →
Same concept, more angles
5 more ways this is tested on CS0-003
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 developer accidentally committed a cloud access key to a public repository. Logs show the key was used from an unfamiliar IP. What should be done first? During eradication, which decision is most defensible?
easy- A.Wait to see whether charges increase
- ✓ B.Disable or rotate the key and review actions performed with it
- C.Block the developer's laptop from Wi-Fi
- D.Ask the developer to delete the commit only
Why B: Option B is correct because the immediate priority is to revoke the compromised credential to prevent further unauthorized access. Disabling or rotating the cloud access key stops any ongoing malicious activity, and reviewing the actions performed with it allows the incident response team to assess the scope of the breach, identify affected resources, and determine if any data was exfiltrated or modified. This aligns with the containment and eradication phases of incident response.
Variation 2. During containment of a compromised cloud access key, which actions are appropriate? (Choose two.)
medium- ✓ A.Review audit logs for actions performed with the key
- B.Only delete the public repository commit
- C.Grant the key administrator privileges for investigation
- ✓ D.Disable or rotate the exposed key
Why A: Reviewing audit logs for actions performed with the compromised key is appropriate during containment because it allows the incident response team to determine the scope of unauthorized access, identify affected resources, and understand the attacker's actions. This step is critical for informed decision-making before revoking or rotating the key, ensuring that legitimate operations are not disrupted and that forensic evidence is preserved.
Variation 3. After a high-priority SOC escalation, a developer accidentally committed a cloud access key to a public repository. Logs show the key was used from an unfamiliar IP. What should be done first? During eradication, which decision is most defensible? which response best matches incident-response practice?
easy- A.Wait to see whether charges increase
- ✓ B.Disable or rotate the key and review actions performed with it
- C.Block the developer's laptop from Wi-Fi
- D.Ask the developer to delete the commit only
Why B: Option B is correct because the immediate priority in incident response is to contain the breach by disabling or rotating the compromised cloud access key, which prevents further unauthorized use. Reviewing actions performed with the key is essential to assess the scope of the incident, such as data exfiltration or resource manipulation, aligning with the NIST SP 800-61 containment, eradication, and recovery phases. This approach follows the SANS PICERL model, where containment (disabling the key) precedes eradication and recovery.
Variation 4. During a post-compromise review, a developer accidentally committed a cloud access key to a public repository. Logs show the key was used from an unfamiliar IP. What should be done first? During eradication, which decision is most defensible? which action should be prioritized before closure?
medium- A.Wait to see whether charges increase
- ✓ B.Disable or rotate the key and review actions performed with it
- C.Block the developer's laptop from Wi-Fi
- D.Ask the developer to delete the commit only
Why B: Option B is correct because the immediate priority is to invalidate the compromised credential (rotate or disable the key) to prevent further unauthorized access, and then review the actions performed with it to assess the scope of the breach. This aligns with the NIST SP 800-61 incident response lifecycle, specifically the containment phase, where stopping the attacker's access is paramount before eradication or closure.
Variation 5. While supporting a hybrid workforce, a developer accidentally committed a cloud access key to a public repository. Logs show the key was used from an unfamiliar IP. What should be done first? During eradication, which decision is most defensible? which evidence should guide the decision?
hard- A.Wait to see whether charges increase
- ✓ B.Disable or rotate the key and review actions performed with it
- C.Block the developer's laptop from Wi-Fi
- D.Ask the developer to delete the commit only
Why B: The correct first step is to disable or rotate the compromised cloud access key and review actions performed with it. This immediately revokes the attacker's access, preventing further unauthorized use, while the review of logs and API calls determines the scope of the breach. Waiting or blocking the developer's laptop does not address the exposed credential or the active threat from the unfamiliar IP.
Last reviewed: Jun 11, 2026
This CS0-003 practice question is part of Courseiva's free CompTIA 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 CS0-003 exam.
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.
Sign in to join the discussion.