Question 270
A key-management service must generate unpredictable encryption keys instead of drawing values from a reproducible simulation seed. Which primitive class is needed?
- Key derivation from shared secret
- Nonce reuse risk
- Cryptographic random-number generator
- Authenticated encryption
Explanation
Correct Answer
C:A cryptographically secure random-number generator produces unpredictable key material from appropriate entropy and state management. Ordinary deterministic simulation generators are unsuitable for secret generation.
Incorrect Answers
A:This choice serves production of multiple purpose-separated cryptographic keys and cannot by itself resolve unpredictable random material for encryption keys.
B:Nonce reuse in modes such as GCM can severely undermine confidentiality and authentication; even if useful for repeated IV values in nonce-sensitive encryption, it does not establish unpredictable random material for encryption keys.
D:AEAD modes such as AES-GCM combine encryption with integrity authentication; the relevant outcome would be confidentiality and authenticity in one encryption operation, not unpredictable random material for encryption keys.
Question 271
Two domains resolve to one IP address but should be served by different websites. Which server capability separates them?
- Expired server certificate
- Reverse proxy routing
- TLS certificate validation
- Virtual host mapping
Explanation
Correct Answer
D:Virtual hosting uses requested hostnames and related protocol fields to select site configurations on shared infrastructure. DNS resolution alone does not choose content.
Incorrect Answers
A:Certificate renewal and deployment restore a valid identity period for trusted TLS connections; despite its value for validity period of the deployed TLS identity, it cannot substantiate selection of a website on a shared address.
B:A reverse proxy receives client traffic and routes it to appropriate backends; it serves controlled forwarding from a public edge to backends and cannot by itself resolve selection of a website on a shared address.
C:The server certificate needs a valid hostname identity and trusted chain; that observation explains the authenticated server name in TLS without demonstrating selection of a website on a shared address.
Question 272
A report claims weak TLS without identifying an endpoint, captured parameters, or reproducible proof. Which finding-quality component is missing?
- Vulnerability report evidence
- Remediation verification
- Active exploitation versus assessment
- Vulnerability exception
Explanation
Correct Answer
A:Actionable findings identify affected assets, observed evidence, impact, and verified remediation guidance. Specific evidence lets owners reproduce and fix the condition.
Incorrect Answers
B:This choice is aimed at post-fix confirmation of the original weakness and would not resolve traceable technical support for a reported finding.
C:Vulnerability identification does not automatically authorize exploitation; the actual requirement is traceable technical support for a reported finding, not the difference between discovery and exploit authorization.
D:An approved vulnerability exception documents risk ownership, rationale, and a review date. It does not supply technical evidence substantiating the reported TLS finding.
Question 273
A tester sees a received IPv4 packet with TTL 48 and guesses the sender must have started with a TTL of 64. Which limitation makes that conclusion uncertain?
- The original TTL is not included in the packet and hop count or configured defaults can vary
- IPv4 packets are required to start with TTL 64 on every operating system
- A TCP three-way handshake always reveals the source host’s initial TTL
- A DNS PTR record encodes the original TTL for each outgoing packet
Explanation
Correct Answer
A:The value on arrival reflects the sender’s chosen initial hop limit minus forwarding decrements; that initial value is not transmitted separately. Traceroute and known path behavior can add evidence, but one observation is not definitive.
Incorrect Answers
B:Initial TTL defaults vary across operating systems, configurations, and applications. IPv4 does not mandate that every originating host use 64.
C:A TCP handshake exchanges sequence, acknowledgment, and flags, not a validated record of the original IPv4 TTL. It cannot alone prove the sender’s initial hop limit.
D:PTR records provide reverse names for IP addresses and do not document per-packet TTL initialization. DNS naming is not evidence of this network-layer sender setting.
Question 274
A developer's service account must be able to list pods in one namespace but not modify cluster-wide settings. Which mechanism enforces that?
- Kubernetes RBAC
- Kubernetes network policy
- Container image scanning
- Container escape risk
Explanation
Correct Answer
A:Kubernetes RBAC authorizes API verbs on resources at appropriate scopes through roles and bindings. Namespace Roles differ from cluster-wide ClusterRoles.
Incorrect Answers
B:NetworkPolicy defines permitted pod ingress and egress; it affects pod-to-pod network reachability restrictions, while the identified issue is authorization of workload API actions within a namespace.
C:Image scanning inspects packaged software and operating-system layers for known issues; that mechanism concerns known vulnerabilities bundled into a container image instead of authorization of workload API actions within a namespace.
D:A container escape breaks isolation between a workload and its host; the scenario tests authorization of workload API actions within a namespace, which is distinct from crossing the container-to-host isolation boundary.
Question 275
A fraudulent onboarding portal says every teammate has already submitted their payroll details. Which psychological influence is exploited?
- Business email compromise
- Dumpster diving
- Authority impersonation
- Social proof manipulation
Explanation
Correct Answer
D:Social proof encourages imitation of perceived group behavior. The claim that others complied is not evidence that the request is legitimate.
Incorrect Answers
A:Business email compromise exploits trusted organizational correspondence to divert payments or information; this pertains to fraud in legitimate-looking business email workflows, not to conformity pressure from alleged peer behavior.
B:Dumpster diving extracts information from improperly discarded physical materials; information recovery from discarded materials is its purpose, whereas the case requires conformity pressure from alleged peer behavior.
C:Authority cues encourage compliance by invoking an apparently powerful organization or role; it serves pressure based on a claimed position of authority and cannot by itself resolve conformity pressure from alleged peer behavior.
Question 276
A packet capture contains readable usernames sent through a legacy service without encryption. What is the principal weakness?
- VLAN hopping risk
- Cleartext protocol exposure
- DNS cache poisoning
- TLS inspection limitation
Explanation
Correct Answer
B:Protocols carrying credentials in cleartext expose them to observers on the traffic path. Protected transport and removal of legacy services reduce risk.
Incorrect Answers
A:Improper trunk negotiation can allow unintended access to VLAN-tagged traffic; it is aimed at segmentation between switch virtual LANs and would not resolve readable login secrets on the wire.
C:DNS cache poisoning corrupts cached name-resolution results, sending clients to unintended endpoints; the underlying behavior concerns forged answers retained by a recursive DNS cache, distinct from readable login secrets on the wire.
D:TLS protects application data in transit against ordinary passive observation; this is tied to lack of plaintext application content in a TLS capture rather than confirming readable login secrets on the wire.
Question 277
A test account sends mail through a server neither as a local sender nor to a local recipient. What misconfiguration would that demonstrate?
- RPC endpoint mapper
- SMTP VRFY risk
- Kerberos service principal names
- SMTP open relay
Explanation
Correct Answer
D:An open relay accepts and forwards unauthenticated third-party mail beyond intended policy. It can facilitate abuse and reputation damage.
Incorrect Answers
A:The RPC endpoint mapper helps clients locate services listening on allocated endpoints; the gap to resolve is unauthorized relaying of third-party email, not the separate matter of mapping registered RPC interfaces to network endpoints.
B:SMTP VRFY may reveal recipient validity when enabled and unrestricted; it describes recipient verification through an SMTP command; the observed condition calls for unauthorized relaying of third-party email.
C:Service principal names associate a network service instance with an account; this addresses identities associated with Kerberos-enabled services, a different concern from unauthorized relaying of third-party email.
Question 278
A development team assumes an ORM makes dynamically constructed raw SQL strings safe. What practice must still be verified?
- Database error sanitization
- Stored input data integrity
- Stacked query risk
- ORM parameter binding
Explanation
Correct Answer
D:ORMs often parameterize generated queries, but raw-query APIs can reintroduce unsafe interpolation. Verify binding at every custom SQL boundary.
Incorrect Answers
A:The mechanism relates to disclosure of schema and query internals to clients rather than unsafe interpolation within ORM raw-query interfaces.
B:Integrity is affected when unauthorized SQL modifies persisted business records; selecting it would address unauthorized changes to database records instead of unsafe interpolation within ORM raw-query interfaces.
C:Statement stacking can let injected input alter more than the intended query; it affects execution of unintended additional SQL statements, while the identified issue is unsafe interpolation within ORM raw-query interfaces.
Question 279
A public API allows each authenticated client only a bounded number of requests per minute. Which protection is applied?
- CDN edge absorption
- DDoS scrubbing center
- Anycast routing
- Rate limiting
Explanation
Correct Answer
D:Rate limiting caps request frequency or volume per defined identity or source. It reduces abuse but requires policies that avoid unfairly blocking shared clients.
Incorrect Answers
A:A CDN can cache and serve content across many sites; the scenario tests per-client request volume constraints, which is distinct from distribution of demand away from one origin.
B:Scrubbing services separate unwanted volumes from legitimate flows at upstream capacity; that can clarify upstream filtering of attack traffic but cannot establish per-client request volume constraints.
C:Anycast routes packets toward one of several sites announcing the same destination; selecting it would address distributed delivery to several network sites instead of per-client request volume constraints.
Question 280
Two simultaneous withdrawals each pass a balance check before either deduction is committed. Which application flaw is demonstrated?
- Mass assignment
- Password reset token expiry
- Authentication rate control
- Race condition
- Business logic abuse
Explanation
Correct Answer
D:Race conditions arise when concurrent operations observe or modify shared state without adequate atomicity. Transactions or locking preserve invariant checks.
Incorrect Answers
A:Mass assignment occurs when untrusted properties are bound to sensitive model fields; this can contribute to automatic binding of unauthorized object properties but does not prove non-atomic concurrent updates to shared state.
B:Password recovery tokens should be short-lived, single-purpose, and invalidated after use; the underlying behavior concerns the limited usable lifetime of a recovery token, distinct from non-atomic concurrent updates to shared state.
C:Adaptive throttling and related abuse controls slow online credential attacks; it may reveal limits on repeated online login attempts, but the scenario is about non-atomic concurrent updates to shared state.
E:Business logic flaws violate intended transaction rules despite syntactically valid requests; it helps explain violation of an application-specific transaction rule, but not non-atomic concurrent updates to shared state.