easyMultiple Choice
CCSP Practice Question: Is a cloud-specific vulnerability that can lead…
Which of the following is a cloud-specific vulnerability that can lead to exposure of IAM credentials through the metadata service?
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
✓
SSRF to metadata endpoint
Server-Side Request Forgery (SSRF) that targets the cloud metadata endpoint (e.g., http://169.254.169.254) can retrieve IAM credentials. This is a cloud-specific issue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
SQL injection
Why it's wrong here
SQL injection manipulates database queries through unsanitised input, exposing data held in the database rather than IAM credentials served by the instance metadata endpoint. It is tempting because it is a classic injection flaw, but it would be correct for a question about database compromise, not cloud metadata service credential exposure.
- ✓
SSRF to metadata endpoint
Why this is correct
Server-side request forgery tricks an application into requesting the cloud instance metadata endpoint, which returns temporary IAM credentials to any process that reaches it. This satisfies the stem's cloud-specific requirement: the metadata service is unique to cloud platforms, and SSRF is the documented vector for credential exposure.
- ✗
Insecure deserialization
Why it's wrong here
Insecure deserialization exploits untrusted serialised object reconstruction in application code, yielding remote code execution or data tampering, not credential theft from the instance metadata endpoint. It is tempting because it is a recognised cloud application risk, but it would be the answer for a question about vulnerable object handling, not metadata service abuse.
- ✗
Cross-site scripting (XSS)
Why it's wrong here
Cross-site scripting executes attacker script in a victim's browser session, enabling session theft or client-side actions, not retrieval of IAM credentials from the instance metadata endpoint. It is tempting as a common web vulnerability, but it would be the answer for browser-side compromise, not server-side metadata service credential exposure.
About these practice questions
This CCSP question is part of Courseiva's 934-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.