Curated

Threats, Vulnerabilities, and Attacks 3 (2.4)

0 votes

Questions36

  1. Question 1

    Threats, Vulnerabilities, and Attacks

    A web application shows users a full stack trace, including file paths and database query text, when an unexpected error occurs. What is the BEST way to fix this?

    Show the answer

    Correct answerC. Log detailed errors server-side and show users a generic error message

    AWhy not this: This addresses hardcoded secrets, but the stack trace would still leak paths and query text.

    BWhy not this: Session timeout does not control what error content is displayed to users.

    CWhy this is right: Detailed server-side logs keep diagnostics for staff, and a generic message gives attackers nothing to use.

    DWhy not this: Encrypting for the browser is pointless; the user's client must display it, so details still leak.

    Showing stack traces is unsafe exception handling because it discloses internals that help an attacker. Logging details on the server and returning a generic message keeps diagnostics available without leaking them. Moving the password addresses hardcoded secrets, not error output.

    Open this question
  2. Question 2

    Threats, Vulnerabilities, and Attacks

    A security analyst reviews source code for hardcoded secrets. Which of the following findings are examples of hardcoded secrets? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. An API key assigned to a variable in the application's source codeE. A private SSH key embedded in a container imageF. A database password written as a string in a config file committed to the repository

    AWhy not this: A session timeout is a session management setting and holds no credential.

    BWhy not this: A length rule is a password policy control, not a stored credential in code.

    CWhy this is right: An API key written into source code is a hardcoded secret that is exposed to anyone who reads the code.

    DWhy not this: A generic error message is safe exception handling and stores no secret.

    EWhy this is right: A private key baked into an image is a secret that anyone who obtains the image can extract.

    FWhy this is right: A password committed in a config file is a stored credential that anyone with repository access can read.

    Hardcoded secrets are credentials, keys or tokens stored in plain form in code, configuration files or images. A password length rule, a generic error message and a session timeout are not stored secrets. The generic error message is a safe exception-handling practice.

    Open this question
  3. Question 3

    Threats, Vulnerabilities, and Attacks

    A static scan of a company's mobile app finds a live cloud storage access key in the compiled binary. The key was removed from the source repository last year, but old releases are still installed. What is the BEST first action?

    Show the answer

    Correct answerC. Revoke and rotate the exposed key, then move secrets to a managed vault retrieved at runtime

    AWhy not this: Obfuscation only delays extraction, and the leaked key stays valid in every installed old release.

    BWhy not this: Installed copies still contain the key, and leaving it active leaves the exposure fully open.

    CWhy this is right: Revoking invalidates the leaked key, and a vault keeps future secrets out of the code and binaries.

    DWhy not this: Input validation does not help; the attacker uses the key directly against the storage service.

    A key embedded in a shipped binary must be treated as compromised, because anyone with an old release can extract it. Revoking and rotating it, and then retrieving secrets at runtime from a vault, fixes the cause. Obfuscation only slows extraction and leaves the key valid.

    Open this question
  4. Question 4

    Threats, Vulnerabilities, and Attacks

    In a time-of-check to time-of-use race condition, what is the time of use?

    Show the answer

    Correct answerA. The moment the application acts on a resource it already checked

    AWhy this is right: Using the resource after the earlier check is the time of use, which is where a changed resource causes harm.

    BWhy not this: Authentication is a separate event and does not define the use step of a race condition.

    CWhy not this: Publishing an update is unrelated to the check-then-use sequence of a race condition.

    DWhy not this: Verifying the state is the time of check, the first half of the race window.

    Time of use is when the application actually uses the resource, such as opening or writing a file, relying on an earlier check. If the resource changed after the check, the result is stale. Verifying the state is the time of check.

    Open this question
  5. Question 5

    Threats, Vulnerabilities, and Attacks

    An updater verifies a downloaded installer's hash, then launches it. An attacker replaces the file after the hash check but before launch. Which operation is the time of use?

    Show the answer

    Correct answerC. Launching the installer

    AWhy not this: Downloading only fetches the file and happens before any check or use.

    BWhy not this: Hashing is the verification step, so it is the time of check.

    CWhy this is right: Launching consumes the file based on the stale hash result, which makes it the time of use.

    DWhy not this: Replacement is the attacker's action exploiting the window, not a step the application performs.

    The launch is when the application relies on the earlier hash result and actually uses the file, so it is the time of use and runs the substituted file. The hash check is the time of check. The replacement is the attacker's action in the gap.

    Open this question
  6. Question 6

    Threats, Vulnerabilities, and Attacks

    An application confirms that a user may write to a file and writes to it milliseconds later. An attacker swaps the file in between. Which event is the time of check?

    Show the answer

    Correct answerC. The permission verification before the write

    AWhy not this: The swap is the attacker's action inside the gap, not the application's check.

    BWhy not this: Launching the application is unrelated to the verify-then-act sequence that creates the race.

    CWhy this is right: The check validates a condition, the permission, and the result can go stale before the file is used.

    DWhy not this: The write is when the checked result is acted on, which is the time of use, not the check.

    Time of check is the moment the application verifies a condition, here the user's write permission. The write is the time of use, when the application acts on the earlier result. The attacker exploits the gap between the two.

    Open this question
  7. Question 7

    Threats, Vulnerabilities, and Attacks

    Customers install a vendor's signed patch from its official update server, and it deploys a backdoor because the vendor's build pipeline was compromised. What type of vulnerability is this?

    Show the answer

    Correct answerD. Malicious update

    AWhy not this: A time-of-check race needs a resource to change after verification, but the patch was malicious from the start.

    BWhy not this: Memory injection places code into a running process, not through an update mechanism.

    CWhy not this: A time-of-use race needs a swap between check and use, but nothing is replaced here.

    DWhy this is right: Malicious code arrives through a trusted vendor update channel and passes the signature check, which defines a malicious update.

    A malicious update delivers harmful code through a trusted update channel, so users install it believing it is legitimate. Race conditions need an attacker to change a resource between a check and its use, which does not occur here.

    Open this question
  8. Question 8

    Threats, Vulnerabilities, and Attacks

    An attacker exploits a flaw in a supported, IT-managed server. The vendor released a fix for that flaw four months ago. Which vulnerability type does this describe?

    Show the answer

    Correct answerB. Unpatched system

    AWhy not this: The product is still supported, so the vendor does issue fixes for it.

    BWhy this is right: A released fix was left uninstalled on a managed, supported server, which defines an unpatched system.

    CWhy not this: A zero-day has no vendor fix at the time of attack, but here a fix existed for months.

    DWhy not this: The server is managed by IT, so the problem is the missed update, not lack of oversight.

    A fix was available and the product is still supported, but the update was never applied, which makes this an unpatched system. A zero-day would have no fix yet available, and an unsupported product would no longer receive fixes.

    Open this question
  9. Question 9

    Threats, Vulnerabilities, and Attacks

    What is the main risk of leaving vendor security updates uninstalled on a system?

    Show the answer

    Correct answerB. Attackers can exploit publicly known flaws

    AWhy not this: A rogue device is unauthorized on the network; skipping patches does not change that status.

    BWhy this is right: Known flaws stay open, so attackers can use public details or exploits against the system.

    CWhy not this: Stale credentials come from poor account lifecycle management, not missing patches.

    DWhy not this: Support ends on the vendor's lifecycle schedule, not because a customer skips updates.

    Missing updates leave known vulnerabilities open, and details or exploit code for them are often public. Ending vendor support is a separate lifecycle event that is not caused by skipped updates.

    Open this question
  10. Question 10

    Threats, Vulnerabilities, and Attacks

    A factory still runs a 20-year-old control workstation that its vendor has retired. Which risks does this create? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. No further security updates will be released for itB. Replacement parts may be unobtainable, prolonging outagesF. Current endpoint security agents may not run on it

    AWhy this is right: A retired product gets no new security fixes, so newly found flaws stay open permanently.

    BWhy this is right: Scarce parts for aged hardware turn failures into long outages that are hard to repair.

    CWhy not this: Available but uninstalled fixes describe an unpatched system, not a retired one.

    DWhy not this: Unapproved deployment describes shadow IT, which nothing in this scenario suggests.

    EWhy not this: Age does not make credentials expire; stale credentials are an account lifecycle issue.

    FWhy this is right: Old platforms are frequently incompatible with modern agents, which leaves gaps in protection.

    Obsolete systems no longer get updates, often cannot run modern security tooling, and depend on hardware that is hard to replace. Uninstalled fixes describe unpatched systems, since an obsolete system has no new fixes to install.

    Open this question
  11. Question 11

    Threats, Vulnerabilities, and Attacks

    A vendor has ended support for the database engine behind a payroll application that cannot be migrated for twelve months. No further security updates will ship. What is the BEST interim action?

    Show the answer

    Correct answerB. Isolate it on a restricted segment with compensating controls

    AWhy not this: Hiding the system from scans removes visibility and leaves the risk in place.

    BWhy this is right: Segmentation and access restrictions reduce exposure when the product can no longer be fixed by the vendor.

    CWhy not this: Virtualization and snapshots help recovery but leave the unpatched engine just as exploitable.

    DWhy not this: Patch frequency is irrelevant when the vendor no longer issues security updates for the product.

    With support ended, no patches will be released, so exposure must be reduced through isolation and compensating controls until migration. Patching more often fails because no patches exist, and snapshots protect availability rather than stop exploitation.

    Open this question
  12. Question 12

    Threats, Vulnerabilities, and Attacks

    Which of the following is an example of an operating system-based vulnerability?

    Show the answer

    Correct answerA. A privilege escalation flaw in the OS kernel

    AWhy this is right: The flaw lies in the OS kernel code, which is what makes a vulnerability OS-based.

    BWhy not this: An exposed key in a public repository is a repository exposure issue, not a flaw in the OS.

    CWhy not this: A hypervisor flaw that lets a guest escape is a virtualization vulnerability, not a flaw in the guest or host OS.

    DWhy not this: A weak Bluetooth pairing process is a wireless and low-powered communications weakness, not an OS flaw.

    A kernel privilege escalation flaw is in the OS code itself, so it is an OS-based vulnerability. A VM escape flaw lies in the hypervisor, which is a virtualization vulnerability.

    Open this question
  13. Question 13

    Threats, Vulnerabilities, and Attacks

    What best describes an unmanaged system?

    Show the answer

    Correct answerA. A device that IT does not patch, configure or monitor

    AWhy this is right: Being outside IT's patching, configuration and monitoring is what makes a system unmanaged.

    BWhy not this: This describes a rogue device, which is defined by lack of authorization rather than lack of management.

    CWhy not this: This describes a zero-day, which is about vendor awareness of a flaw, not about who manages the system.

    DWhy not this: This describes an unsupported or obsolete product, where the vendor has ended updates, not a management gap.

    An unmanaged system sits outside IT's patching, configuration and monitoring processes, so flaws and misconfigurations go unnoticed. A system without vendor updates is unsupported or obsolete, which is a different weakness.

    Open this question
  14. Question 14

    Threats, Vulnerabilities, and Attacks

    Company-owned kiosks run a vendor-supported OS, but no IT tool patches, configures or monitors them. What is the BEST first step to reduce the risk?

    Show the answer

    Correct answerC. Enroll the kiosks in centralized endpoint management

    AWhy not this: The OS is already vendor-supported, so a replacement addresses end of support, which is not the problem here.

    BWhy not this: Credential rotation helps with stale credentials but does not give IT patching, configuration or monitoring control.

    CWhy this is right: Central management lets IT patch, baseline and monitor the kiosks, which removes what makes them unmanaged.

    DWhy not this: The kiosks are company-owned and known, so they are not rogue devices; removing them does not fix the management gap.

    The kiosks are known and supported, but outside IT's control, so bringing them under central patching, configuration and monitoring fixes the gap. Replacing the OS targets unsupported software, which these kiosks do not run.

    Open this question
  15. Question 15

    Threats, Vulnerabilities, and Attacks

    A scan shows TCP 21 open to the internet on a public web server that only needs to serve HTTPS. Administrators upload files over SFTP. What is the BEST action?

    Show the answer

    Correct answerB. Disable the FTP service and close TCP 21

    AWhy not this: FTPS encrypts the traffic but keeps an unnecessary service exposed, since SFTP already meets the upload need.

    BWhy this is right: Disabling an unneeded service and closing its port removes the exposure entirely, following least functionality.

    CWhy not this: Stronger passwords make guessing harder but leave the unneeded service running and exposed.

    DWhy not this: A nonstandard port is only obscurity; the unneeded service remains reachable and exploitable.

    Nothing needs FTP, so removing the unneeded service and its open port shrinks the attack surface. Encrypting or relocating a service that serves no purpose still leaves an exposed service to attack.

    Open this question
  16. Question 16

    Threats, Vulnerabilities, and Attacks

    An advisory describes a file system driver bug in the server OS that lets a local user gain administrator rights. The vendor has released a fix. Which action addresses the flaw at its source?

    Show the answer

    Correct answerD. Apply the vendor's OS security update

    AWhy not this: Application updates do not change the OS driver, so the vulnerable code remains.

    BWhy not this: A virtual machine would still run the same vulnerable OS code, so the flaw would remain.

    CWhy not this: MFA protects authentication but does not stop a logged-in local user from exploiting the driver bug.

    DWhy this is right: The vendor's OS update replaces the faulty driver code, correcting the flaw at its source.

    The bug is in OS code, so only the vendor's OS update corrects it. Updating applications leaves the vulnerable driver in place, because the flaw is not in them.

    Open this question
  17. Question 17

    Threats, Vulnerabilities, and Attacks

    A fully patched, vendor-supported server is breached through a flaw the vendor first learns of from the incident report. Which vulnerability type is this?

    Show the answer

    Correct answerA. Zero-day

    AWhy this is right: Zero-day describes a flaw unknown to the vendor with no fix at the time of exploitation.

    BWhy not this: A fix must already exist for a system to be unpatched, but the vendor did not know of this flaw.

    CWhy not this: Nothing suggests a weak setting; the flaw is in the product code and is unknown to the vendor.

    DWhy not this: The server is vendor-supported, so it is not obsolete; the flaw is simply undiscovered until the attack.

    A zero-day is a flaw unknown to the vendor, so no fix exists when it is exploited, even on a fully patched, supported system. An unpatched system has a fix available that was not applied, which does not fit a flaw the vendor had never heard of.

    Open this question
  18. Question 18

    Threats, Vulnerabilities, and Attacks

    Which actions reduce the risk from stale credentials? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Review and remove dormant accounts regularlyC. Disable accounts of departed staff promptlyE. Rotate service account secrets on a schedule

    AWhy this is right: Dormant accounts are unwatched entry points, so periodic review and removal closes them.

    BWhy not this: Never rotating service account secrets lets old, possibly exposed credentials stay valid forever.

    CWhy this is right: Leftover accounts of departed staff stay usable by attackers until they are disabled.

    DWhy not this: Leaving dormant accounts enabled keeps unused credentials valid for attackers; they should be disabled until they are needed.

    EWhy this is right: Scheduled rotation limits how long a leaked or forgotten secret remains useful.

    Stale credentials are accounts and secrets that are no longer needed or never changed, so disabling, rotating and removing them shrinks the attack surface. Exempting service accounts from rotation keeps old secrets valid indefinitely, which is the problem itself. Keeping dormant accounts enabled leaves unused credentials valid.

    Open this question
  19. Question 19

    Threats, Vulnerabilities, and Attacks

    The vendor of an internet-facing VPN appliance reports active exploitation of a flaw for which no patch exists yet. What is the BEST interim action?

    Show the answer

    Correct answerB. Limit its exposure and monitor for signs of exploitation

    AWhy not this: A stronger certificate key does not address a flaw in the appliance software.

    BWhy this is right: Restricting access and monitoring are compensating controls that reduce risk until a fix is released.

    CWhy not this: A patch management tool cannot install an update that does not exist yet.

    DWhy not this: Waiting a month leaves an actively exploited appliance exposed with no added protection.

    With no patch available, compensating controls such as restricting access and monitoring reduce risk until a fix ships. Waiting for the next scan cycle leaves the appliance exposed to active exploitation in the meantime.

    Open this question
  20. Question 20

    Threats, Vulnerabilities, and Attacks

    A stolen database holding unsalted MD5 password hashes was cracked within hours. Which change BEST keeps stored passwords resistant to cracking if the database leaks again?

    Show the answer

    Correct answerC. Store a unique salt with a slow hash such as bcrypt

    AWhy not this: Longer passwords help, but the fast unsalted hash remains the cryptographic weakness.

    BWhy not this: The key sits on the same server, so a repeat theft exposes the key and the hashes together.

    CWhy this is right: Per-password salts and a deliberately slow algorithm make bulk cracking costly even after a leak.

    DWhy not this: SHA-256 without a salt is still fast and open to precomputed and parallel cracking.

    A unique salt defeats precomputed tables and shared cracking, and a slow hash makes each guess expensive, fixing the weakness at its source. Encrypting the hashes fails because an attacker who steals the database can also take the key stored on the same server.

    Open this question
  21. Question 21

    Threats, Vulnerabilities, and Attacks

    An attacker breaks out of a guest virtual machine and runs code on the hypervisor host. Which vulnerability is this?

    Show the answer

    Correct answerD. VM escape

    AWhy not this: Sideloading installs apps from outside the official store on mobile devices, not a guest-to-host break.

    BWhy not this: Shadow IT is unapproved technology use by staff, not a flaw in guest isolation.

    CWhy not this: Jailbreaking removes OS restrictions on a mobile device and has nothing to do with hypervisor isolation.

    DWhy this is right: VM escape means guest code crosses the isolation boundary to the hypervisor or host.

    A VM escape lets code in a guest break the isolation boundary and reach the hypervisor or host, which is a virtualization vulnerability. Jailbreaking also bypasses restrictions, but it removes OS limits on a mobile device and does not cross a hypervisor boundary.

    Open this question
  22. Question 22

    Threats, Vulnerabilities, and Attacks

    A department hosted its own customer portal on a cloud VM without telling IT. Quarterly vulnerability scans show no findings for it. What is the MOST likely reason?

    Show the answer

    Correct answerA. IT does not know the portal exists, so it was never scanned

    AWhy this is right: Unsanctioned systems fall outside the asset inventory and scan scope, so the clean results reflect missing coverage, not safety.

    BWhy not this: A zero-day could go undetected, but the stem points to a system IT never knew about, which is the likelier explanation.

    CWhy not this: Hypervisors do not generally block scan traffic; the issue is that the portal is not a scan target.

    DWhy not this: Obsolete operating systems usually generate many findings; they do not cause scanners to skip a host.

    Scans only cover assets in the inventory, and a system deployed without IT's knowledge is not in it. An old OS would normally produce findings, not hide them, and a zero-day does not explain a portal that was never scanned.

    Open this question
  23. Question 23

    Threats, Vulnerabilities, and Attacks

    Logs show a successful VPN login using the account of a contractor whose engagement ended five months ago. Which weakness does this MOST likely reveal?

    Show the answer

    Correct answerB. Accounts left active after offboarding

    AWhy not this: A zero-day would be exploited without credentials; here a valid but obsolete account was used.

    BWhy this is right: The contractor's account stayed active after the engagement ended, which is a stale credential that anyone holding the password can use.

    CWhy not this: A gateway patch gap would let an attacker bypass authentication, not log in with a legitimate contractor account.

    DWhy not this: A rogue device is an unauthorized endpoint; the problem here is a valid account that should have been disabled.

    The login used a valid account that belonged to someone who no longer works with the company, so it was never deprovisioned at offboarding. A gateway flaw or zero-day would not need a valid contractor login, so those are less likely.

    Open this question
  24. Question 24

    Threats, Vulnerabilities, and Attacks

    A switch port in an unused conference room shows an unrecognized device that is absent from the asset inventory, and no department claims it. Which term fits BEST?

    Show the answer

    Correct answerC. Rogue device

    AWhy not this: Shadow IT is technology a team deploys for its own work; here no team claims the device.

    BWhy not this: An obsolete system is outdated technology that is past its useful or supported life; the stem gives no age clue.

    CWhy this is right: An unauthorized, unowned device on the network is the definition of a rogue device.

    DWhy not this: An unmanaged system is a known organizational asset outside IT management, not an unknown device.

    A device connected to the network without authorization and with no owner is a rogue device. Shadow IT requires a business unit that deployed the technology for its own use, and an unmanaged system is a known asset that IT does not manage.

    Open this question
  25. Question 25

    Threats, Vulnerabilities, and Attacks

    Employees use personal cloud storage accounts to share work files without IT's approval. Which term describes this?

    Show the answer

    Correct answerD. Shadow IT

    AWhy not this: An unpatched system lacks available vendor fixes; the stem is about approval, not patching.

    BWhy not this: An unsupported product no longer receives vendor support; the stem says nothing about vendor support.

    CWhy not this: A rogue device is an unauthorized piece of hardware on the network, not a cloud service.

    DWhy this is right: Unapproved services used for work without IT's knowledge are shadow IT.

    Shadow IT is hardware, software or services used for work without IT's approval or knowledge. A rogue device is an unauthorized endpoint on the network, which is not what unapproved cloud accounts are.

    Open this question
  26. Question 26

    Threats, Vulnerabilities, and Attacks

    Developers paste proprietary source code into a public LLM service to debug it. What is the primary security risk?

    Show the answer

    Correct answerB. The code may be retained and later reproduced in outputs to other users

    AWhy not this: Pasting text into a web service does not execute it on the company's endpoints at all.

    BWhy this is right: Prompts sent to a public service can be stored and used in training, exposing confidential code to others.

    CWhy not this: Support lifecycle is unrelated to pasting code; the risk is data exposure, not end of support.

    DWhy not this: The model lives with the provider, not on the company network, so there is nothing internal to steal.

    Public LLM services may retain prompts and use them for training, so confidential input can leak into responses given to others. The code is not executed on company endpoints, so privilege-related risk is not the concern.

    Open this question
  27. Question 27

    Threats, Vulnerabilities, and Attacks

    Why is a compromised identity provider (IdP) so damaging to an organization that uses single sign-on?

    Show the answer

    Correct answerD. Every connected application trusts the authentication assertions it issues

    AWhy not this: An IdP handles authentication, not application data storage; the data stays in each application.

    BWhy not this: An IdP has no role in managing hypervisors; that confuses identity with virtualization.

    CWhy not this: An IdP does not host repositories; public repositories are a separate attack surface.

    DWhy this is right: Applications trust the IdP's tokens, so controlling it lets an attacker sign in as any user everywhere.

    With single sign-on, applications accept assertions or tokens from the IdP, so an attacker controlling it can authenticate as any user to every connected app. The IdP does not store the applications' data.

    Open this question
  28. Question 28

    Threats, Vulnerabilities, and Attacks

    An attacker walks through a lobby with a concealed reader and copies credentials from employees' battery-free access badges at a range of a few centimeters. Which attack surface is exploited?

    Show the answer

    Correct answerB. Low-powered wireless

    AWhy not this: The badges are passive cards, not phones or tablets, so mobile device risks such as app or OS flaws do not apply.

    BWhy this is right: Battery-free badges use short-range RFID radio, so a nearby reader can read and clone them.

    CWhy not this: A rogue device is an unauthorized device attached to the network; the attacker's reader never connects to it.

    DWhy not this: An unmanaged system is a host outside IT control; the badges are the target here, not an unmanaged host.

    Proximity badges communicate over short-range, low-powered radio (RFID/NFC), so a nearby reader can skim or clone them. The reader never joins the network and the badges are not phones, so rogue device and mobile device do not fit.

    Open this question
  29. Question 29

    Threats, Vulnerabilities, and Attacks

    An employee installs an app on a work phone from a website instead of the official app store. What is this practice called?

    Show the answer

    Correct answerC. Sideloading

    AWhy not this: Jailbreaking removes OS-imposed restrictions on the device; it is not just installing one outside app.

    BWhy not this: Geofencing limits device features by location; it does not describe installing apps.

    CWhy this is right: Sideloading means installing apps from outside the official store, skipping its vetting.

    DWhy not this: Tethering shares a phone's internet connection with another device; it has nothing to do with app sources.

    Sideloading is installing apps from outside the official store, bypassing its vetting and exposing the device to malware. Jailbreaking removes OS restrictions rather than just installing an app from another source.

    Open this question
  30. Question 30

    Threats, Vulnerabilities, and Attacks

    A company's chatbot retrains nightly on user feedback ratings. After attackers submitted thousands of crafted ratings, it began recommending a malicious download link to all users, though the model software was fully patched. Which vulnerability was exploited?

    Show the answer

    Correct answerB. Training data poisoning

    AWhy not this: A zero-day is an unknown software flaw; here the model code worked as designed on corrupted data.

    BWhy this is right: Crafted feedback fed into nightly retraining altered the model itself, a persistent effect for all users.

    CWhy not this: The stem states the software was fully patched, so missing updates are not the cause.

    DWhy not this: Prompt injection manipulates one session's input; it does not change what the model learned from retraining.

    The attackers corrupted the data the model learns from, which persistently changed its behavior for every user. Prompt injection only manipulates a single session's input at run time and would not persist across users.

    Open this question
  31. Question 31

    Threats, Vulnerabilities, and Attacks

    A developer pushed a cloud access key to a public repository, then removed the file in a new commit ten minutes later. What should security do NEXT?

    Show the answer

    Correct answerC. Revoke the key and issue a replacement

    AWhy not this: An ignore list only affects future commits and does not invalidate the exposed key.

    BWhy not this: Renaming does not remove the history, and anyone who already copied the key keeps it.

    CWhy this is right: The key remains in history and may have been scraped, so only revocation and replacement removes its value.

    DWhy not this: The old commit still contains the key, so deleting the file does not undo the exposure.

    The key stays in the repository's commit history and may already have been copied or scraped, so it must be treated as compromised. Revoking and replacing it is the only step that removes the attacker's access.

    Open this question
  32. Question 32

    Threats, Vulnerabilities, and Attacks

    What is the main risk of a developer committing a cloud access key to a public code repository?

    Show the answer

    Correct answerC. Anyone who views the repository can copy and use the credential

    AWhy not this: Committing a file does not change the host's support status for the project.

    BWhy not this: Repository hosting does not weaken any cipher because of a committed file.

    CWhy this is right: Public repositories are open to everyone, and automated scanners harvest embedded secrets quickly.

    DWhy not this: Committing a file does not change the workstation's management state.

    A public repository is readable by anyone, and attackers scan for exposed secrets, so a committed key can be copied and used. Committing code has no effect on support status, encryption or device management.

    Open this question
  33. Question 33

    Threats, Vulnerabilities, and Attacks

    A firewall runs current, vendor-supported firmware, yet attackers log in to its admin console with the vendor's default password. Which vulnerability type does this show?

    Show the answer

    Correct answerB. Misconfiguration

    AWhy not this: No unknown software flaw is exploited; the attacker just uses a known default login.

    BWhy this is right: Leaving a default password unchanged is an insecure setting, which is the definition of misconfiguration.

    CWhy not this: The firmware is vendor-supported, so the product's support status is not the problem.

    DWhy not this: The firmware is current, so missing patches are not the cause.

    Leaving default credentials in place is a setup error, so it is a misconfiguration. The firmware is current and supported, which rules out unpatched and unsupported products, and no unknown flaw is exploited.

    Open this question
  34. Question 34

    Threats, Vulnerabilities, and Attacks

    Auditors find that a cloud storage bucket holding customer exports allows anonymous read access. What is the BEST remediation?

    Show the answer

    Correct answerB. Block public access and grant read permission only to named identities

    AWhy not this: A region change leaves the access policy unchanged, so the bucket stays public.

    BWhy this is right: Removing anonymous access and limiting reads to named identities directly fixes the exposure.

    CWhy not this: Server-side encryption is transparent to anyone the policy allows, so anonymous readers still get the data.

    DWhy not this: Versioning protects against overwrites and deletions, not unauthorized reads.

    The flaw is open access permissions, so the fix is to block public access and apply least-privilege policies. Encryption at rest is transparent to authorized readers and does not stop anonymous reads.

    Open this question
  35. Question 35

    Threats, Vulnerabilities, and Attacks

    A user roots a managed phone to gain administrative control of the OS, and the MDM still lists the phone as enrolled. Which weakness does rooting MOST directly introduce?

    Show the answer

    Correct answerB. Bypassed OS protections such as application sandboxing

    AWhy not this: Rooting changes privileges, not support status; the OS can still receive vendor updates.

    BWhy this is right: Rooting removes OS restrictions, so apps and malware can escape sandboxing and gain administrative control.

    CWhy not this: Rooting does not alter the cellular link's cipher; it changes local OS privilege.

    DWhy not this: The phone is enrolled in MDM, so it is a known device, not a rogue one.

    Rooting gives apps and malware administrative access and defeats OS protections like sandboxing and signed-app enforcement. The phone is still enrolled and patched, so it is neither a rogue device nor an unsupported product.

    Open this question
  36. Question 36

    Threats, Vulnerabilities, and Attacks

    A factory's 1990s CNC controller cannot run a modern OS or encryption, and no replacement parts or patches exist. Replacement is unfunded this year. Which action BEST reduces the risk?

    Show the answer

    Correct answerD. Isolate it on a segmented network with tightly restricted access

    AWhy not this: Scanning only finds weaknesses; it removes none, and the controller still cannot be remediated.

    BWhy not this: MDM manages phones and tablets; it cannot enforce security on a legacy industrial controller.

    CWhy not this: Patching assumes updates exist; for obsolete hardware none are published, so there is nothing to deploy.

    DWhy this is right: Segmentation limits exposure of a system that cannot be fixed, which is the standard compensating control for obsolete equipment.

    An obsolete system cannot be patched or upgraded, so a compensating control such as network segmentation limits who and what can reach it. Patching is the tempting fix, but no patches exist for hardware this old.

    Open this question