312-39 practice question 8 of 35
An attacker, in an attempt to exploit the vulnerability in the dynamically generated welcome page, inserted code at the end of the company’s URL as…
Choose your answer, then check it against the explanation and the full breakdown below.
Question breakdown
Key idea: Cross-site scripting injects script code into a dynamically generated page through user-controlled input, such as URL parameters, that the page reflects back to the user.
How to reach the answer
- Clue: 'dynamically generated welcome page' plus code appended to the URL.
- A welcome page that echoes a username or parameter from the URL is the classic reflected XSS target.
- The script payload appears to have been stripped from the question text, but the scenario still matches reflected XSS.
- There is no database query manipulation (SQLi), resource exhaustion (DoS) or session token abuse described.
Each option
Common trap: Any 'code inserted in URL' scenario tempts candidates to pick SQL injection, but a reflected welcome page signals script injection.
In practice: Analysts look for encoded , javascript: or event-handler strings in web server and WAF logs to detect XSS attempts.
Remember: Code in a URL that is reflected into a dynamic page is XSS; SQL syntax aimed at a database is SQLi.
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free 312-39 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 312-39 practice questions
- Question 1What type of event is recorded when an application driver loads successfully in Windows?
- Question 2Wesley is an incident handler in a company named Maddison Tech. One day, he was learning …
- Question 3Which of the following attack can be eradicated by disabling of "allow_url_fopen and allo…
- Question 4Which of the following technique protects from flooding attacks originated from the valid…
- Question 5John, SOC analyst wants to monitor the attempt of process creation activities from any of…
- Question 6Mike is an incident handler for PNP Infosystems Inc. One day, there was a ticket raised r…
