Courseiva
Security →easyMultiple Choice

CCNP Security Practice Question

A security team wants to protect a web application hosted behind a Cisco IOS router from cross-site scripting and SQL injection attacks without modifying the application itself. Which Cisco IOS feature is designed for this purpose?

⚠ Common exam trap

Many exam-takers confuse stateful firewall policy, which permits or denies flows, with intrusion prevention, which inspects payload content for attack signatures.

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

✓

Cisco IOS IPS with signature-based inspection

Detecting and blocking application-layer attacks like cross-site scripting and SQL injection requires payload inspection, which is what Cisco IOS IPS provides through its signature set. Firewalls, CoPP, and IPsec operate at other layers and cannot identify malicious HTTP content, so signature-based IPS is the appropriate feature when the application itself cannot be modified.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Zone-Based Policy Firewall

    Why it's wrong here

    Zone-Based Policy Firewall enforces stateful traffic policy between security zones, controlling which sessions are permitted between network segments. It operates at the flow and port level and does not inspect HTTP payloads for scripting or SQL injection patterns. It is useful for segmentation but cannot detect or block application-layer attacks embedded in otherwise permitted HTTP requests.

  • ✗

    IPsec VPN with AES encryption

    Why it's wrong here

    IPsec provides confidentiality and integrity for traffic in transit between peers, but it does not inspect the contents of decrypted application requests for attack signatures. An attacker sending a malicious HTTP request over an IPsec tunnel would still have that request delivered. Encryption addresses eavesdropping and tampering, not application-layer exploit detection.

  • ✓

    Cisco IOS IPS with signature-based inspection

    Why this is correct

    Cisco IOS Intrusion Prevention System inspects packet payloads against signatures and can detect and drop application-layer attacks such as cross-site scripting and SQL injection. Because it examines the content of HTTP requests, it can block malicious patterns without any change to the hosted application, matching the requirement to protect the web app transparently.

  • ✗

    Control Plane Policing

    Why it's wrong here

    Control Plane Policing rate-limits traffic destined to the router's own control plane, protecting CPU-bound processes from floods. It does not inspect application payloads and has no concept of HTTP request content. While it can mitigate certain denial-of-service conditions against the device, it cannot detect or block cross-site scripting or SQL injection targeting a web application.

Quick reference

VPN Protocol Comparison

ProtocolPortEncryptionAuthenticationUse Case
IKEv2 / IPsecUDP 500 / 4500AES-256Certificates / PSKSite-to-site & remote access
SSL / TLS VPNTCP 443TLS 1.3Certificates / MFAClientless remote access
L2TP / IPsecUDP 1701AES (IPsec)PSK / CertificatesLegacy remote access
WireGuardUDP 51820ChaCha20Public keysModern high-performance VPN
PPTPTCP 1723MPPE (weak)MS-CHAPv2Legacy — avoid in production

PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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 Cisco exam blueprint

This 350-401 practice question is part of Courseiva's free Cisco 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 350-401 exam.