Question 10
An internet circuit saturates under traffic from numerous distributed hosts, but the dominant transport protocol is unknown and the application remains healthy when isolated. Which broad attack class best describes this event?
- ICMP flood
- UDP flood
- Volumetric DDoS
- SYN flood
- Application-layer DoS
Explanation
Correct Answer
C:Volumetric denial of service overwhelms network bandwidth rather than requiring an application defect. Upstream filtering and scrubbing are often essential.
Incorrect Answers
A:ICMP flooding overloads bandwidth or device processing with control packets; even if useful for high-volume ICMP traffic affecting availability, it does not establish link-capacity exhaustion from distributed sources.
B:UDP floods create processing and bandwidth load through large volumes of connectionless packets; the result would concern high-rate datagrams targeting UDP services, leaving link-capacity exhaustion from distributed sources unresolved.
D:A SYN flood can consume connection-state resources before handshakes complete; pressure on incomplete TCP handshakes is its purpose, whereas the case requires link-capacity exhaustion from distributed sources.
E:Application-layer attacks exploit expensive server operations or limited worker pools; the underlying behavior concerns exhaustion of application resources through requests, distinct from link-capacity exhaustion from distributed sources.
Question 11
A web app accepts a session ID supplied before login and keeps it unchanged afterward. Which weakness is most directly implicated?
- Secure cookie attribute
- Session ID regeneration
- Session fixation
- HttpOnly cookie attribute
Explanation
Correct Answer
C:Session fixation occurs when an attacker-chosen or known token remains valid across authentication. Rotating the identifier at login breaks that linkage.
Incorrect Answers
A:This choice may reveal cookies inadvertently sent over plaintext HTTP, but the scenario is about unrotated session identifiers across authentication.
B:Regenerating the identifier prevents pre-authentication token knowledge from carrying into the authenticated session; that mechanism concerns reuse of a token known before login instead of unrotated session identifiers across authentication.
D:HttpOnly makes a cookie inaccessible through normal document cookie APIs; that can clarify script access to a browser session cookie but cannot establish unrotated session identifiers across authentication.
Question 12
A security monitor observes mirrored packets and raises alerts without being inline on the data path. Which control class fits?
- Stateless packet filter
- Network IDS
- Host-based IDS
- Stateful firewall
Explanation
Correct Answer
B:A network intrusion detection system inspects traffic and reports suspected threats. Passive placement ordinarily means it cannot directly drop the original packet.
Incorrect Answers
A:Stateless ACLs evaluate packet fields independently; this is tied to filtering without connection-state tracking rather than confirming out-of-band alerting from observed packets.
C:Host-based detection sees operating-system events and files unavailable to a network-only sensor; this can contribute to alerts from host telemetry and file integrity but does not prove out-of-band alerting from observed packets.
D:Stateful inspection tracks connection context so permitted flows can receive corresponding replies; the question hinges on out-of-band alerting from observed packets, not on connection-state-aware filtering of return packets.
Question 13
A web host runs a publicly vulnerable server release even though its application code is up to date. Which remediation addresses the actual exposure?
- Server banner reduction
- Default sample applications
- Directory listing disabled
- Server software patching
Explanation
Correct Answer
D:Upgrading the affected web server component removes vulnerabilities in that installed package. Application code changes do not repair an outdated server binary.
Incorrect Answers
A:Minimizing version banners removes an easy fingerprinting clue from responses; the gap to resolve is vulnerabilities in the web server implementation, not the separate matter of software-version information in response metadata.
B:Removing unused sample applications reduces exposed functionality but does not repair a known vulnerability in the installed web-server release. The vulnerable server component still needs a patch or upgrade.
C:Disabling directory browsing stops automatic listing of files; this can contribute to exposure of folder contents through autoindex but does not prove vulnerabilities in the web server implementation.
Question 14
A normal customer changes an invoice ID in an API route and retrieves another customer's invoice. What weakness is present?
- Broken function-level authorization
- Broken object-level authorization
- DOM-based XSS
- Stored cross-site scripting
Explanation
Correct Answer
B:Object-level authorization failures occur when the server does not verify access to the requested record. Each identifier needs a user-and-resource permission check.
Incorrect Answers
A:Function-level authorization must enforce allowed roles on privileged operations server-side; it affects server-side permission checks on privileged functions, while the identified issue is cross-account access to individual API records.
C:DOM XSS arises when client-side JavaScript moves untrusted values into dangerous browser sinks; this addresses unsafe client-side DOM interpretation of URL data, a different concern from cross-account access to individual API records.
D:This does not verify cross-account access to individual API records, because its scope is persisted script execution through displayed content.
Question 15
A database-backed login concatenates user input into SQL syntax. Which coding pattern most directly prevents input from becoming query structure?
- Parameterized SQL query
- Stored procedure safety boundary
- Escaping limitation
- Least-privilege database account
- Input allowlisting
Explanation
Correct Answer
A:Prepared statements with bound parameters separate supplied values from SQL syntax. They protect parameterizable data fields without requiring custom escaping.
Incorrect Answers
B:Stored procedures can still construct unsafe dynamic SQL by concatenating input. Calling SQL through a stored procedure does not guarantee that user-supplied data remains outside the query syntax.
C:Ad hoc escaping is error-prone and varies with SQL dialect; this addresses reliance on handwritten quote escaping, a different concern from untrusted values altering the SQL query structure.
D:Application database identities should possess only the tables and operations required; the actual requirement is untrusted values altering the SQL query structure, not the permissions available to compromised application SQL.
E:Allowlisting restricts a value to explicitly permitted members of a known set; it may reveal unexpected SQL keyword values in a finite choice, but the scenario is about untrusted values altering the SQL query structure.
Question 16
A company Wi-Fi network requires each staff member to authenticate using enterprise credentials rather than one shared passphrase. Which mode fits?
- Protected Management Frames
- WPA2-Enterprise 802.1X
- WEP weakness
- WPA2-Personal PSK
Explanation
Correct Answer
B:WPA2-Enterprise uses an 802.1X authentication framework with an EAP method and backend authentication. Access can be managed per identity instead of with one shared PSK.
Incorrect Answers
A:802.11w protected management frames authenticate certain management frames; the result would concern forgery protection for selected wireless management frames, leaving individual enterprise authentication on wireless access unresolved.
C:WEP relies on obsolete cryptographic design with practical key-recovery weaknesses; obsolete protection used for Wi-Fi frames is its purpose, whereas the case requires individual enterprise authentication on wireless access.
D:WPA2-Personal derives access from a pre-shared passphrase shared across clients; the underlying behavior concerns shared-passphrase wireless access, distinct from individual enterprise authentication on wireless access.
Question 17
A company wants centrally enforced screen locks and the ability to wipe lost employee phones. Which management capability is needed?
- Mobile application management
- iOS entitlements
- Android verified boot
- Mobile device management enrollment
Explanation
Correct Answer
D:MDM enrollment allows approved administrators to apply device policies and supported remote actions. Platform and ownership modes affect the available controls.
Incorrect Answers
A:MAM applies controls to supported work applications and their data; it can help assess work-app controls without full personal-device administration but would not demonstrate central policy and remote response for managed phones.
B:The scenario tests central policy and remote response for managed phones, which is distinct from capabilities granted to signed iOS applications.
C:Verified Boot checks a chain of trusted boot components and can signal tampering; that can clarify integrity of mobile boot components but cannot establish central policy and remote response for managed phones.
Question 18
A field camera is reachable over the network with the same factory administrator password used across every unit. Which exposure is most critical?
- IoT default credentials
- Secure boot on embedded device
- IoT firmware signing
- IoT network segmentation
Explanation
Correct Answer
A:Shared vendor defaults enable scalable unauthorized access if not replaced or disabled. Unique strong credentials and controlled management access limit this risk.
Incorrect Answers
B:Secure boot verifies trusted boot components before execution; the scenario tests reuse of factory login secrets across devices, which is distinct from verification of device startup code.
C:Cryptographic firmware signatures let devices verify approved updates before installation; authenticity of software installed on embedded devices is its purpose, whereas the case requires reuse of factory login secrets across devices.
D:Segmenting IoT devices limits reachable systems and restricts permitted flows; selecting it would address network reachability from IoT devices into office workloads instead of reuse of factory login secrets across devices.
Question 19
A team assumes moving virtual machines to a cloud provider transfers all guest operating-system patching to the provider. Which model corrects the assumption?
- SaaS model
- IaaS model
- Shared responsibility model
- PaaS model
Explanation
Correct Answer
C:Cloud responsibilities depend on service type; in IaaS the customer generally manages guest OS security. Provider management of physical hosts does not eliminate tenant duties.
Incorrect Answers
A:Software as a service exposes a complete application to customers; it describes consumption of a complete vendor-hosted application; the observed condition calls for ownership of guest workload security in a cloud deployment.
B:Infrastructure as a service supplies foundational compute and network resources; the scenario tests ownership of guest workload security in a cloud deployment, which is distinct from customer control over virtual machines and guest software.
D:Evidence about a managed runtime for deployed application code would not answer the concern about ownership of guest workload security in a cloud deployment.
Question 20
A large backup needs efficient confidentiality using a secret key shared by approved encrypting and decrypting processes. Which cryptographic family fits?
- HMAC
- Cryptographic hash
- Symmetric encryption
- Asymmetric encryption
- Digital signature
Explanation
Correct Answer
C:Symmetric encryption uses the same secret key for both directions and is efficient for bulk data. Secure key distribution remains a separate challenge.
Incorrect Answers
A:HMAC authenticates the integrity and origin of a message to parties sharing a secret. It does not encrypt the backup or hide its contents, which is the stated requirement.
B:A cryptographic hash produces a one-way digest used in integrity checking. It cannot be reversed to recover plaintext and therefore is not a confidentiality encryption algorithm.
D:Asymmetric encryption uses distinct public and private keys rather than one shared secret key. It is useful for key exchange and small payloads, but is not the efficient bulk-encryption primitive described here.
E:A digital signature helps verify the authenticity and integrity of signed data. Anyone with the verification key can check the signature, but it does not make the signed content confidential.