Question 30
A business rents virtual machines and must configure operating systems, installed services, and application patches. Which service model is this?
- SaaS model
- IaaS model
- PaaS model
- Public cloud deployment
Explanation
Correct Answer
B:Infrastructure as a service supplies foundational compute and network resources while customers administer guest workloads. It affords flexibility with greater operational responsibility.
Incorrect Answers
A:Software as a service exposes a complete application to customers; it helps explain consumption of a complete vendor-hosted application, but not customer control over virtual machines and guest software.
C:This choice is useful for a managed runtime for deployed application code but leaves customer control over virtual machines and guest software unproven.
D:A public cloud offers services broadly from provider-operated resources; it affects provider-operated services available to multiple customers, while the identified issue is customer control over virtual machines and guest software.
Question 31
A team asserts that every stored procedure is safe even when one constructs SQL strings from arguments. What is the correct assessment?
- Least-privilege database account
- Input allowlisting
- Escaping limitation
- Stored procedure safety boundary
Explanation
Correct Answer
D:Stored procedures can still be injectable if they build dynamic SQL unsafely. Parameters and careful query construction matter inside procedures too.
Incorrect Answers
A:Application database identities should possess only the tables and operations required; it describes the permissions available to compromised application SQL; the observed condition calls for dynamic SQL built from untrusted procedure parameters.
B:Allowlisting restricts a value to explicitly permitted members of a known set; the scenario tests dynamic SQL built from untrusted procedure parameters, which is distinct from unexpected SQL keyword values in a finite choice.
C:Ad hoc escaping is error-prone and varies with SQL dialect; that can clarify reliance on handwritten quote escaping but cannot establish dynamic SQL built from untrusted procedure parameters.
Question 32
Monitoring shows a single common password attempted against many distinct accounts at a slow rate. Which pattern best explains the activity?
- Offline password hash attack
- Credential stuffing
- Online password spraying
- Brute-force guessing
Explanation
Correct Answer
C:Password spraying spreads a small set of guesses across many identities to avoid per-user failure thresholds. MFA and conditional access can limit successful use.
Incorrect Answers
A:Offline guessing evaluates candidate passwords against acquired hash material without online authentication attempts; it serves password guesses made against exposed hashes and cannot by itself resolve one common guess distributed across accounts.
B:Credential stuffing reuses previously compromised credential pairs on another service; it can help assess reuse of leaked credential pairs on a new service but would not demonstrate one common guess distributed across accounts.
D:Brute-force guessing systematically tries possible credentials until one matches or controls stop attempts; many candidate passwords against one identity is its purpose, whereas the case requires one common guess distributed across accounts.
Question 33
Two scanners disagree about urgency, and the assessor needs the standardized intrinsic severity characteristics of a flaw. What metric is relevant?
- CVSS environmental context
- CVSS base score
- CVE identifier
- CPE product naming
Explanation
Correct Answer
B:The CVSS base score summarizes properties such as attack complexity and impact under a defined version. Local exposure and business criticality still influence remediation priority.
Incorrect Answers
A:Environmental considerations account for asset-specific importance and protections; evidence about deployment-specific security impact would not answer the concern about standardized intrinsic technical severity.
C:CVE IDs identify publicly known vulnerabilities consistently across tools and advisories; it describes cross-tool naming of a disclosed vulnerability; the observed condition calls for standardized intrinsic technical severity.
D:CPE names platform and software configurations for correlation with vulnerability intelligence; normalized product and version identification is its purpose, whereas the case requires standardized intrinsic technical severity.
Question 34
A gateway inspects passing traffic and can drop packets matching a policy before forwarding. Which capability is described?
- Stateless packet filter
- Host-based IDS
- Network IDS
- Stateful firewall
- Network IPS
Explanation
Correct Answer
E:A network intrusion prevention system operates inline to enforce blocking decisions. Availability planning matters because the device sits on the traffic path.
Incorrect Answers
A:Stateless ACLs evaluate packet fields independently; that mechanism concerns filtering without connection-state tracking instead of inline prevention of suspicious network traffic.
B:Host-based detection sees operating-system events and files unavailable to a network-only sensor; its technical boundary is alerts from host telemetry and file integrity rather than inline prevention of suspicious network traffic.
C:A network intrusion detection system inspects traffic and reports suspected threats; it is aimed at out-of-band alerting from observed packets and would not resolve inline prevention of suspicious network traffic.
D:Stateful inspection tracks connection context so permitted flows can receive corresponding replies; the underlying behavior concerns connection-state-aware filtering of return packets, distinct from inline prevention of suspicious network traffic.
Question 35
A developer regenerates a user’s session identifier immediately after successful login. Which defensive session-management measure is being applied?
- SameSite cookie attribute
- Secure cookie attribute
- Session ID regeneration
- HttpOnly cookie attribute
Explanation
Correct Answer
C:Regenerating the identifier prevents pre-authentication token knowledge from carrying into the authenticated session. It is important when sessions cross privilege boundaries.
Incorrect Answers
A:SameSite restricts when cookies accompany cross-site requests; it can help assess unwanted cookie inclusion on cross-site requests but would not demonstrate reuse of a token known before login.
B:The Secure cookie attribute restricts cookie transmission to secure transports such as HTTPS. It does not rotate a session identifier after authentication or mitigate fixation by itself.
D:HttpOnly makes a cookie inaccessible through normal document cookie APIs; it is useful for script access to a browser session cookie but leaves reuse of a token known before login unproven.
Question 36
An accounts-payable clerk receives an email tailored to their active project and impersonating the CFO. Which targeted variant is more specific than generic mass-email phishing?
- Vishing
- Whaling
- Phishing email
- Spear phishing
Explanation
Correct Answer
D:Spear phishing uses personal or organizational context to increase credibility with selected recipients. Tailored content distinguishes it from untargeted mass phishing.
Incorrect Answers
A:Vishing conducts social manipulation through voice conversations or calls; this is tied to identity deception during a voice call rather than confirming a highly tailored message to a selected individual.
B:Whaling focuses on senior executives or other high-value decision-makers; it focuses on phishing directed at organizational leadership and therefore does not demonstrate a highly tailored message to a selected individual.
C:Phishing uses deceptive messages to induce victims; the relevant outcome would be deceptive email targeting many recipients, not a highly tailored message to a selected individual.
Question 37
An auditor needs copies of selected switch-port traffic delivered to a passive monitoring interface. What switch feature provides that?
- Dynamic ARP inspection
- SPAN mirror port
- ARP cache poisoning
- Promiscuous mode
Explanation
Correct Answer
B:A switch mirror or SPAN session copies selected traffic to a monitoring port. Oversubscription can cause drops, so captures may be incomplete.
Incorrect Answers
A:Dynamic ARP inspection validates ARP packets against trusted bindings or configured rules; it affects switch-level checking of ARP bindings, while the identified issue is intentional duplication of switch traffic to a sensor.
C:ARP poisoning introduces false IPv4 IP-to-MAC bindings on a local segment; this can contribute to false local IPv4 address-to-MAC mappings but does not prove intentional duplication of switch traffic to a sensor.
D:Promiscuous mode changes how a network interface accepts locally visible frames; this addresses local capture beyond frames addressed to the NIC, a different concern from intentional duplication of switch traffic to a sensor.
Question 38
An authorized tester sends trace and service requests to a target host to learn its network behavior. Which reconnaissance mode is this?
- Certificate transparency logs
- Archived web snapshots
- WHOIS or RDAP lookup
- Passive reconnaissance
- Active reconnaissance
Explanation
Correct Answer
E:Active reconnaissance interacts with systems under assessment and can create observable traffic. It requires explicit authorization and sensible request limits.
Incorrect Answers
A:Certificate transparency systems log publicly trusted certificate issuance and can expose SAN hostnames; the actual requirement is direct network interaction with scoped hosts, not hostnames appearing in issued public certificates.
B:Web archives can preserve earlier publicly accessible page content and design; this is tied to historical public versions of the website rather than confirming direct network interaction with scoped hosts.
C:RDAP and WHOIS services offer domain registration information where disclosure policies allow it; it focuses on domain registration and registrar metadata and therefore does not demonstrate direct network interaction with scoped hosts.
D:Passive reconnaissance collects information from third-party or public sources; the relevant outcome would be collection without direct target-host probing, not direct network interaction with scoped hosts.
Question 39
An operations analyst sends ping requests to check whether devices answer ordinary echo traffic. Which probe is being used?
- ICMP echo discovery
- UDP service scan
- TCP connect scan
- TCP SYN scan
Explanation
Correct Answer
A:ICMP echo requests ask a host to return echo replies when permitted. Firewalls may suppress responses even when the host is running.
Incorrect Answers
B:UDP scanning probes datagram ports and interprets responses such as ICMP unreachable; the gap to resolve is echo responsiveness of reachable hosts, not the separate matter of discovery of UDP rather than TCP services.
C:A TCP connect scan attempts full transport-layer connections to destination ports. An ICMP echo request is a different probe used to test echo responsiveness.
D:This choice is aimed at initial TCP port state without a full handshake and would not resolve echo responsiveness of reachable hosts.
Question 40
A business must protect corporate app data on employee-owned phones without managing all personal device settings. Which approach best aligns?
- Mobile device management enrollment
- Android verified boot
- iOS entitlements
- Android app permissions
- Mobile application management
Explanation
Correct Answer
E:MAM applies controls to supported work applications and their data, sometimes without full device enrollment. It separates business protection from personal-device administration.
Incorrect Answers
A:MDM enrollment allows approved administrators to apply device policies and supported remote actions; the result would concern central policy and remote response for managed phones, leaving work-app controls without full personal-device administration unresolved.
B:Verified Boot checks a chain of trusted boot components and can signal tampering; despite its value for integrity of mobile boot components, it cannot substantiate work-app controls without full personal-device administration.
C:This does not verify work-app controls without full personal-device administration, because its scope is capabilities granted to signed iOS applications.
D:Android runtime and install-time permission models constrain app access; selecting it would address unnecessary access to contacts by a mobile application instead of work-app controls without full personal-device administration.