Question 110
A follow-up review must reduce the risk revealed here: A laptop suddenly selects an unapproved IPv6 gateway announced by a rogue host despite no authorized change to router configuration. Which defensive measure fits the specific failure mode?
- Enable RA Guard and monitor authorized IPv6 routers
- Enable DHCP snooping and rate limits on untrusted access ports
- Trust only approved DHCP uplinks through switch DHCP snooping
- Enable dynamic ARP inspection with trusted DHCP-snooping bindings
Explanation
Correct Answer
A:Switch filtering for unauthorized advertisements protects host routing decisions while retaining legitimate IPv6 neighbor and router discovery. It directly addresses this mechanism: IPv6 router advertisements can configure host routing automatically; fake advertisements may redirect IPv6 traffic even in primarily IPv4-managed networks.
Incorrect Answers
B:Per-port request limits and trusted DHCP server ports reduce lease exhaustion and constrain DHCP-origin abuse at the access layer; its security benefit applies principally to DHCP starvation, not the defect described; the tested fault instead involves IPv6 router-advertisement spoofing.
C:Filtering server replies on user-facing ports prevents unauthorized devices from assigning gateway and resolver settings to clients; the exposure here is IPv6 router-advertisement spoofing, which calls for another protective mechanism.
D:DAI validates ARP claims against established IP-to-MAC bindings and blocks spoofed updates instead of relying on host cache expiration; the action is aimed at ARP cache poisoning; it leaves the central IPv6 router-advertisement spoofing condition unresolved.
Question 111
As part of a sanctioned audit, a reviewer observes: A mail server returns individual members when asked to expand an internal mailing list through an SMTP verb. Which behavior is illustrated?
- SMTP EXPN group expansion
- SMTP VRFY enumeration
- Anonymous LDAP bind
- PTR record enumeration
Explanation
Correct Answer
A:SMTP EXPN may reveal distribution-list membership and addresses when the gateway permits expansion to untrusted requesters. A practical defensive response is to restrict SMTP EXPN and directory-list visibility to authorized users; a restricted expansion policy preserves legitimate mail flow while avoiding needless disclosure of group membership to external peers.
Incorrect Answers
B:SMTP VRFY can reveal recipient validity when a mail server exposes user verification behavior; not every mail server implements it or allows it externally; the relevant mechanism in the observed workflow is SMTP EXPN group expansion instead.
C:Anonymous bind behavior depends on directory configuration; exposing membership attributes enables reconnaissance without granting an application login; those effects are not the SMTP EXPN group expansion pattern evidenced by the assessment.
D:A PTR lookup maps an IP address to a reverse DNS name; the result may reveal server role labels but not proof that services are running; the case demonstrates SMTP EXPN group expansion rather than the alternate mechanism.
Question 112
A security change request summarizes the problem as follows: Offboarding disables a contractor's SSH password, but a previously approved automation public key still grants shell access to a production host long after the contract ends. Which remediation is best suited to it?
- Audit task creation and enforce authorization for scheduled execution
- Require Kerberos preauthentication and strengthen affected account passwords
- Forward protected logs off-host and alert on log-service disruption
- Review authorized keys and centrally manage approved SSH principals
Explanation
Correct Answer
D:Removing unauthorized trust entries and limiting key enrollment close the bypass that persists when only local passwords are changed. The technical basis for the recommendation is that SSH public-key authentication trusts allowed public keys in account configuration; adding an unapproved key can preserve remote access independent of password rotation.
Incorrect Answers
A:Changes to task definitions and launch paths provide persistence evidence; limiting task registration and alerting on anomalies constrain abuse; it would improve scheduled-task persistence, not directly correct the reported SSH authorized-key persistence issue.
B:Enabling preauthentication removes the unauthenticated response path; strong secrets provide additional resistance if password material is exposed; the measure addresses a different trust boundary from the SSH authorized-key persistence finding.
C:Central immutable retention and alerts on clearing events preserve an independent timeline and expose suspicious attempts to erase local evidence; the required correction concerns SSH authorized-key persistence, so this is not the targeted control.
Question 113
A control review considers a verified technical issue: EDR detects a workstation calling the same recently registered domain every few minutes with small encrypted messages even when no interactive software is open. Which mitigation most directly addresses its cause?
- Maintain tested YARA rules and validate matches against behavior
- Collect process command lines and script telemetry with behavioral detection
- Inspect anomalous periodic egress and block unapproved destinations
- Investigate process ancestry and enforce endpoint response policy
Explanation
Correct Answer
C:Network telemetry and destination reputation can reveal remote-control channels even when the payload hides its instructions inside ordinary-looking requests. The specific weakness being corrected is that beaconing is periodic communication to a command-and-control service; stable intervals and destinations may indicate task polling or status reporting.
Incorrect Answers
A:Quality rule design and triage reduce false positives and let analysts detect related artifacts even when their full-file hashes differ; the action is aimed at YARA rule matching; it leaves the central command-and-control beacon condition unresolved.
B:Observing interpreter behavior and memory-backed execution identifies activity that signature scans of executable files may overlook; this is relevant to a separate fileless memory execution scenario, rather than the identified exposure; the tested fault instead involves command-and-control beacon.
D:Parent-child telemetry reveals unusual execution chains and supports containment of suspicious behavior across multiple different payload hashes; that safeguard does not directly close the command-and-control beacon route highlighted by the test.
Question 114
The asset owner wants to stop the verified condition recurring: Two trusted APIs must detect changes to signed-like request messages using an existing shared secret, with no asymmetric private/public key pair provisioned. What is the most targeted improvement?
- Use collision-resistant modern hashes for integrity-sensitive applications
- Rotate and version keys while retaining controlled historical decryption access
- Enforce full-disk encryption with secure boot and recovery-key controls
- Use HMAC with secret-key rotation and canonical message formatting
Explanation
Correct Answer
D:Only holders of the shared secret can produce a valid tag, while consistent serialization prevents verification discrepancies. The specific weakness being corrected is that HMAC combines a cryptographic hash with a shared secret to authenticate message integrity; it does not encrypt message contents.
Incorrect Answers
A:A strong current digest reduces feasible collision attacks; obsolete algorithms such as MD5 should not secure document authenticity claims; the specific root cause belongs to HMAC integrity check, beyond this control's intended scope.
B:Key lifecycle management limits future use of compromised material without inadvertently making existing protected records unrecoverable; that change targets cryptographic key rotation, while the confirmed weakness involves HMAC integrity check.
C:At-rest encryption reduces exposure after physical theft, while platform integrity and key escrow govern startup trust and legitimate recovery; it would improve full-disk encryption boundary, not directly correct the reported HMAC integrity check issue.
Question 115
As part of a sanctioned audit, a reviewer observes: A workstation had malware protection, but a single stolen password still allowed unrestricted access to the application and database. Which behavior is illustrated?
- Least privilege
- Gray-box assessment
- Defense in depth
- Integrity
Explanation
Correct Answer
C:Defense in depth combines independent preventive, detective, and limiting controls, so one failure does not immediately compromise every protected resource. The appropriate hardening measure is to layer MFA, authorization boundaries, monitoring, and network segmentation, since independent controls constrain credential misuse, limit lateral exposure, and generate alerts even when endpoint protection or one authentication factor is bypassed.
Incorrect Answers
A:Least privilege assigns only the specific permissions and duration needed for a task; excess authority expands the impact of error or credential compromise; the observed evidence concerns defense in depth instead.
B:Gray-box testing combines partial internal knowledge with constrained access; it helps examine authorization boundaries while retaining a realistic nonadministrative perspective; the test record points specifically to defense in depth, not this separate mechanism.
D:Integrity concerns whether data remains accurate and protected against unauthorized modification; silent record changes undermine trust without necessarily reducing system uptime; the scenario identifies defense in depth, which has a different triggering condition.
Question 116
A security engineer examines the following result: An authenticated inventory script can list departmental file shares and their names over a Windows file-sharing endpoint. Which described weakness or technique does it demonstrate?
- Rpcbind service inventory
- SMB null-session exposure
- Kerberos SPN listing
- SMB share enumeration
Explanation
Correct Answer
D:SMB enumeration obtains resource details such as shares and access configuration after network discovery; an open port alone does not supply these objects. To constrain the corresponding risk, defenders should restrict share listing and access through SMB permissions and segmentation; share and NTFS permissions plus network isolation reduce unauthorized resource browsing even when SMB must remain available to staff.
Incorrect Answers
A:Rpcbind maps ONC RPC program identifiers to network addresses or ports, providing service discovery without directly enumerating file content; the test record points specifically to SMB share enumeration, not this separate mechanism.
B:An SMB null session may expose information on misconfigured or older systems where anonymous access policy is overly permissive; that behavior is distinct from the SMB share enumeration finding being classified.
C:SPNs bind service identities to Kerberos names; directory enumeration can identify service accounts but does not by itself reveal their passwords; the scenario identifies SMB share enumeration, which has a different triggering condition.
Question 117
The owner asks for a durable safeguard against the issue demonstrated here: A product-recommendation API caches only exact URLs; automated clients add unique tracking parameters to expensive searches so every request misses the cache and strains the database. What is the best response?
- Use upstream filtering and volumetric DDoS mitigation
- Normalize cache keys and rate-limit expensive uncached operations
- Disable public UDP cache access and bind the service privately
- Enable SYN cookies or equivalent connection-state protections
Explanation
Correct Answer
B:Cache configuration and request controls reduce origin amplification from meaningless parameter variations while preserving valid user queries. That correction is linked to the fact that cache busting forces otherwise cacheable requests into unique cache keys, moving traffic and computation from edge cache to vulnerable backend systems.
Incorrect Answers
A:Provider-level controls drop unwanted volume before the limited access link becomes saturated, unlike an application-only request throttle; the measure addresses a different trust boundary from the cache-busting request flood finding.
C:Keeping cache protocols on trusted networks stops an externally reachable reflector instead of merely rate-limiting the eventual victim; its security benefit applies principally to memcached reflection, not the defect described; the tested fault instead involves cache-busting request flood.
D:SYN cookies and tuned backlog handling reduce memory pressure from incomplete handshakes while retaining normal completed TCP connections; the exposure here is cache-busting request flood, which calls for another protective mechanism.
Question 118
A security engineer examines the following result: An assessment of an authorized address block extracts hostnames from reverse DNS without looking up individual service ports. Which described weakness or technique does it demonstrate?
- Rpcbind service inventory
- DNS zone transfer
- PTR record enumeration
- Kerberos SPN listing
Explanation
Correct Answer
C:A PTR lookup maps an IP address to a reverse DNS name; the result may reveal server role labels but not proof that services are running. This is why teams should review reverse zone permissions and publicly visible PTR values; administrative naming policies limit unintended disclosure, though reverse DNS changes do not remove reachable hosts or vulnerable applications.
Incorrect Answers
A:Rpcbind maps ONC RPC program identifiers to network addresses or ports, providing service discovery without directly enumerating file content; the scenario identifies PTR record enumeration, which has a different triggering condition.
B:Zone transfer replicates DNS records between authorized servers; permissive AXFR access can reveal extensive hostnames and address relationships; the defining symptom in the prompt is associated with PTR record enumeration instead.
D:SPNs bind service identities to Kerberos names; directory enumeration can identify service accounts but does not by itself reveal their passwords; the reported conditions are characteristic of PTR record enumeration, not that path.
Question 119
The asset owner wants to stop the verified condition recurring: A shipping service uses a long-unpatched base image that contains vulnerable system packages, although the top-level business application passed its unit and integration tests. What is the most targeted improvement?
- Restrict service-account verbs and binding rights at namespace scope
- Scan signed images and refresh vulnerable base layers
- Continuously assess configurations against preventive policy guardrails
- Block public access and apply explicit identity-based bucket policies
Explanation
Correct Answer
B:Dependency inventories and build gates catch vulnerable packaged components before deployment and promote reproducible patching. The specific weakness being corrected is that container images package operating-system dependencies as well as application files, so image vulnerability exposure can persist beneath otherwise secure code.
Incorrect Answers
A:Precise API permissions prevent application identities from creating or attaching privileges beyond their workload needs; that change targets Kubernetes RBAC escalation, while the confirmed weakness involves unscanned container image.
C:Policy-as-code, change review, and recurring checks detect or block unsafe states after initial deployment; the measure addresses a different trust boundary from the unscanned container image finding.
D:Least-privilege resource policies and public-access guardrails stop anonymous reads while preserving approved application retrieval; the required correction concerns unscanned container image, so this is not the targeted control.
Question 120
The assessor confirmed this exposure: An SOC has logs of suspicious remote service creation but its coverage board tracks only alert names, making it difficult to find unmapped adversary behavior and missing detections. Which change most directly closes the underlying security gap?
- Use tamper-evident logs and tightly scoped write privileges
- Map detections and gaps to techniques with supporting telemetry
- Update the threat model when data flows or trust boundaries change
- Reconcile source review with runtime verification of discovered flaws
Explanation
Correct Answer
B:Technique-level coverage helps identify missing logs and analytics while avoiding false certainty about adversary identity from a single behavior. It targets the actual failure mode: MITRE ATT&CK organizes observed tactics and techniques across attack stages; mapping behavior supports detection coverage and investigation without requiring attribution to a particular actor.
Incorrect Answers
A:Integrity controls make unauthorized modification harder and expose alterations through protected audit trails or cryptographic verification of record changes; the exposure here is MITRE ATT&CK technique mapping, which calls for another protective mechanism.
C:A design-level review must track new integrations and privileges; otherwise earlier assumptions stop representing the system being protected; this is relevant to a separate threat modeling scenario, rather than the identified exposure; the tested fault instead involves MITRE ATT&CK technique mapping.
D:Knowing the code does not itself demonstrate exploitability in the deployed configuration; validated runtime behavior makes the finding dependable; the tested weakness is MITRE ATT&CK technique mapping, not the white-box assessment configuration addressed here.