The correct answer is server-side request forgery (SSRF) because the log reveals the application making an outbound HTTP request to an internal IP address (10.0.0.1) based on user-supplied input in the 'url' parameter, which is the hallmark of SSRF. This attack exploits the server’s trust to force it into sending crafted requests to internal or external resources, bypassing normal access controls. On the Security+ SY0-701 exam, SSRF detection questions often test your ability to spot server-initiated requests to private IP ranges (like 10.0.0.0/8 or 192.168.x.x) triggered by user input—a pattern that distinguishes SSRF from client-side attacks like XSS or database-focused SQL injection. A common trap is confusing SSRF with cross-site request forgery (CSRF), but remember: SSRF is server-side, while CSRF is client-side. Memory tip: “SSRF = Server Sends to RFC 1918”—if the server is making a request to a private address based on user data, it’s SSRF.
SY0-701 Threats, Vulnerabilities, and Mitigations Practice Question
This SY0-701 practice question tests your understanding of threats, vulnerabilities, and mitigations. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.
Exhibit
Application log excerpt:
GET /thumbnail?imageUrl=http://169.254.169.254/latest/meta-data/iam/security-credentials/
Response status: 200
Returned content includes cloud role names and temporary credentials metadata
Web server outbound connection recorded to the local metadata address
Based on the exhibit, which attack is the developer most likely observing?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Application log excerpt:
GET /thumbnail?imageUrl=http://169.254.169.254/latest/meta-data/iam/security-credentials/
Response status: 200
Returned content includes cloud role names and temporary credentials metadata
Web server outbound connection recorded to the local metadata address
A
Cross-site scripting (XSS)
Why wrong: XSS injects script into a browser response. The exhibit shows a server making its own request to a metadata service instead.
B
Server-side request forgery (SSRF)
The application is being tricked into making a request to an internal metadata endpoint using a user-controlled URL parameter. That is server-side request forgery. SSRF is common in cloud environments because it can expose instance metadata, credentials, or internal services that should not be reachable from the outside.
C
SQL injection
Why wrong: SQL injection targets database queries by inserting malicious SQL syntax. The evidence here involves a URL parameter and an internal web request, not a database query string.
D
CSRF
Why wrong: CSRF tricks a logged-in user's browser into sending unwanted requests to another site. The exhibit shows the server itself requesting internal metadata, which is a different pattern.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Server-side request forgery (SSRF)
The developer is most likely observing a server-side request forgery (SSRF) attack because the log shows the application making an outbound HTTP request to an internal IP address (10.0.0.1) initiated by user-supplied input (the 'url' parameter). SSRF occurs when an attacker manipulates the server to send crafted requests to internal or external resources, bypassing access controls. The exhibit's pattern of a server-side request to a private IP range directly indicates SSRF, not client-side or database attacks.
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.
✗
Cross-site scripting (XSS)
Why it's wrong here
XSS injects script into a browser response. The exhibit shows a server making its own request to a metadata service instead.
✓
Server-side request forgery (SSRF)
Why this is correct
The application is being tricked into making a request to an internal metadata endpoint using a user-controlled URL parameter. That is server-side request forgery. SSRF is common in cloud environments because it can expose instance metadata, credentials, or internal services that should not be reachable from the outside.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
SQL injection
Why it's wrong here
SQL injection targets database queries by inserting malicious SQL syntax. The evidence here involves a URL parameter and an internal web request, not a database query string.
✗
CSRF
Why it's wrong here
CSRF tricks a logged-in user's browser into sending unwanted requests to another site. The exhibit shows the server itself requesting internal metadata, which is a different pattern.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse SSRF with CSRF because both involve requests, but SSRF is server-initiated while CSRF is client-initiated; the key clue is the server making a request to a private IP, not the user's browser.
Trap categories for this question
Command / output trap
XSS injects script into a browser response. The exhibit shows a server making its own request to a metadata service instead.
Detailed technical explanation
How to think about this question
SSRF exploits the trust relationship between the server and internal networks, often targeting cloud metadata endpoints (e.g., http://169.254.169.254/latest/meta-data/) to steal credentials. Under the hood, the attacker controls the 'url' parameter, and the server's HTTP client (e.g., cURL, Guzzle) resolves the host without proper validation, allowing access to RFC 1918 addresses. In real-world scenarios, SSRF can pivot to internal services like Redis or databases, leading to remote code execution.
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 security analyst at a medium-sized enterprise encounters this scenario during an investigation or architecture review. The correct answer reflects best practice for the specific threat or control described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Security exam questions test whether you can match controls to threats in context — not just recall definitions.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this SY0-701 question in full detail.
Threats, Vulnerabilities, and Mitigations — This question tests Threats, Vulnerabilities, and Mitigations — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Server-side request forgery (SSRF) — The developer is most likely observing a server-side request forgery (SSRF) attack because the log shows the application making an outbound HTTP request to an internal IP address (10.0.0.1) initiated by user-supplied input (the 'url' parameter). SSRF occurs when an attacker manipulates the server to send crafted requests to internal or external resources, bypassing access controls. The exhibit's pattern of a server-side request to a private IP range directly indicates SSRF, not client-side or database attacks.
What should I do if I get this SY0-701 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: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 →
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.
This SY0-701 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 SY0-701 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.