hardMultiple Choice
CCSP Practice Question: During a threat modeling session for a cloud…
During a threat modeling session for a cloud application, the team identifies a risk where an attacker could trick the application into making HTTP requests to the cloud metadata endpoint (e.g., http://169.254.169.254). What is the most critical impact of this attack?
⚠ Common exam trap
CCSP often tests the misconception that SSRF to metadata only leads to information disclosure of instance details, when in fact the most critical impact is the retrieval of temporary IAM credentials that can be used for lateral movement and privilege escalation.
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
✓
Retrieval of temporary IAM credentials for the instance
The cloud metadata endpoint (169.254.169.254) is a link-local address accessible from within the instance, and it serves temporary IAM credentials to the instance's role. If an attacker can trick the application into making HTTP requests to this endpoint (via SSRF), they can retrieve those credentials and use them to access cloud resources with the instance's permissions. This is the most critical impact because it leads to privilege escalation and potential full account compromise, far exceeding DoS, configuration modification, or source code exposure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Denial of service to the metadata service
Why it's wrong here
Denial of service to the metadata service is not the objective; the endpoint remains reachable and the attacker gains nothing from disrupting it. It is tempting because SSRF requests could flood the endpoint. The attack's real impact is credential theft, since the metadata service returns IAM role tokens.
- ✗
Modification of the cloud instance's configuration
Why it's wrong here
Modification of instance configuration is not achievable through the metadata endpoint, which is read-only for credentials and instance data. It is tempting because SSRF reaches internal services. The critical impact is credential theft, enabling the attacker to assume the instance's IAM role and access cloud resources.
- ✓
Retrieval of temporary IAM credentials for the instance
Why this is correct
The instance metadata service answers unauthenticated requests from the instance itself, so server-side request forgery reaches it and returns the attached role's temporary IAM credentials. Those credentials permit API calls at the instance profile's privilege level, making credential theft the critical impact.
- ✗
Exposure of the application's source code
Why it's wrong here
The metadata endpoint returns instance credentials and configuration, not application source code, which resides in deployment artefacts or repositories. It is tempting because SSRF can reach internal services. Source code exposure would require a separate vulnerability, such as path traversal or an exposed repository.
Go deeper
Related to this question
About these practice questions
One of 934 original CCSP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official ISC2 exam blueprint
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.