Computer Science Exit Exam Study Guide · 171 questions
Read the question first. Select the eye beside the reading hint, study the cited module section, then reveal the answer. Each eye controls only its own block. All hints and answers start closed whenever this page opens.
Read the linked study-guide sections before revealing the answer. PDF page references count from the first page of the document.
171 of 171 questions
Question 1
Which one of the following is an attack performed by wiretapping a network and illicitly copy files and programs?
A. Interception
B. Fabrication
C. Interruption
D. Modification
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Wiretapping and copying give an unauthorized party access without changing or destroying the resource. This is the disclosure/interception case on PDF p.4.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
Choice by choice
A · correct — Interception directly matches unauthorized snooping/access. See PDF p.4.
B · incorrect — Fabrication inserts a fake resource; no insertion is described. See PDF p.4.
C · incorrect — Interruption makes the resource unavailable; copying does not imply loss of service. See PDF p.4.
D · incorrect — Modification changes the resource; no change is stated. See PDF p.4.
Question 2
Assuming the UPS is correctly installed and operating normally, which listed item is a protective power-supply control rather than an environmental hazard?
A. Improperly placed heater
B. Humidity
C. Lightning strikes
D. UPS(uninterruptible power supply)
Hint / Module Reference (Where to Read)
Start with the stated attacker path or physical hazard and the limits of each control.
Correct answer: D — UPS(uninterruptible power supply)
A working UPS supplies temporary conditioned power and normally protects equipment against power problems. The other entries name heat-placement, humidity or electrical-surge hazards that can impair operation. The revised question assumes normal installation and operation only for the UPS, rather than claiming it can never cause harm. Battery faults and installation failures remain possible in general, but they are outside this stated comparison.
Evidence in the complete study note
Protect equipment against theft, unauthorized connections, heat, humidity, water, electrical surges and fire. A UPS supplies temporary conditioned power; it is normally protective, but faulty installation/battery failure can itself be hazardous. A disconnected machine loses many network attack paths yet remains exposed to insiders, removable media, supply-chain attacks and physical access. There is no universal “most secure computer” without a threat model.SEC11
Choose protection proportional to asset value and credible threats.SEC11
Uniform configurations simplify patching and prediction but create correlated failures; diversity may reduce common-mode compromise while raising administration cost.SEC11
Choice by choice
A · incorrect — An improperly placed heater can expose equipment to damaging heat.
B · incorrect — Humidity is an environmental condition requiring protection.
C · incorrect — Lightning can produce damaging electrical surges.
D · correct — A correctly installed, working UPS supplies protective conditioned power.
Question 3
Awgichew wants message confidentiality for Meron using asymmetric encryption, not a signature. KPRIV-A/KPUB-A are Awgichew’s keys and KPRIV-M/KPUB-M are Meron’s keys. Which statements are NOT correct for that confidential exchange? Select all that apply.
A. Awgichew uses Meron's private key KPRIV-M to encrypt his plain text
B. Awgichew uses his KPUB-A to encrypt his plain text
C. Meron can decode the encrypted text using her KPRIV-M
D. Meron can decode the scrambled text using her KPUB-M
Hint / Module Reference (Where to Read)
Identify the intended recipient or signer and separate confidentiality from verification.
Correct answers (select all): A, B, D — Awgichew uses Meron's private key KPRIV-M to encrypt his plain text; Awgichew uses his KPUB-A to encrypt his plain text; Meron can decode the scrambled text using her KPUB-M
For confidentiality to Meron, the sender encrypts with Meron’s authenticated public encryption key and she decrypts with her private key. Awgichew should neither possess her private key nor encrypt to his own public key for a message only she should read. Her public key is not the secret decryption key. Thus A, B and D are incorrect directions; C describes the valid recipient decryption step and is not selected in this NOT-correct question.
Evidence in the complete study note
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key. Do not encrypt to A’s public key if only B should read it, and never assume A possesses B’s private key. For a signature, A signs with A’s private signing key and others verify with A’s public key. These are distinct operations; not every public-key algorithm supports encryption.SEC18
For one-way public-key confidentiality the sender need not own a key pair; it needs the recipient’s authenticated public encryption key.SEC18
A sender key pair is needed when the protocol requires its signature or separate recipient role.SEC18
Choice by choice
A · correct — Incorrect exchange step: the sender must not use or assume possession of Meron’s private key.
B · correct — Incorrect exchange step: encrypting to Awgichew’s public key addresses the wrong recipient.
C · incorrect — This is a valid decryption step, so it must not be selected as NOT correct.
D · correct — Incorrect exchange step: Meron decrypts with her private key, not her public key.
Question 4
In a two-way confidential exchange, both participants send and receive encrypted messages. Which statement correctly describes symmetric versus asymmetric encryption key arrangements?
A. Both use the same shared secret as their sole confidentiality key
B. Symmetric key requires the sender and receiver to have a public and private key
C. Asymmetric encryption requires each participant, acting as a recipient, to have its own public/private encryption key pair
D. Both are recovery methods
Hint / Module Reference (Where to Read)
Identify the intended recipient or signer and separate confidentiality from verification.
Correct answer: C — Asymmetric encryption requires each participant, acting as a recipient, to have its own public/private encryption key pair
Symmetric encryption uses a secret shared by the communicating parties. For public-key confidentiality, a sender encrypts to the recipient's authenticated public encryption key, and that recipient decrypts with its private key. Because both participants receive encrypted messages in this two-way scenario, each needs its own encryption key pair. A sender in a strictly one-way exchange would not need a pair merely to send. Neither architecture is defined as a recovery method.
Evidence in the complete study note
For one-way public-key confidentiality the sender need not own a key pair; it needs the recipient’s authenticated public encryption key. A sender key pair is needed when the protocol requires its signature or separate recipient role.SEC18
Symmetric encryption uses a shared secret and efficiently protects bulk data.SEC16
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key.SEC18
Choice by choice
A · incorrect — False: a shared secret describes symmetric confidentiality, not the asymmetric key arrangement.
B · incorrect — False: symmetric encryption does not require each party to have a public/private pair.
C · correct — Correct: each participant is a recipient in one direction and needs its own public/private encryption pair.
D · incorrect — False: encryption key arrangements protect communication; they are not recovery methods.
Question 5
A cipher replaces each plaintext letter with the next letter in the alphabet, wrapping Z to A. Which is the most specific standard cipher classification of this operation?
A. Transliteration
B. Translation
C. Transformation
D. Substitution
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
The operation changes each symbol's identity while leaving its position in the message unchanged. That is substitution, and using the next alphabet letter is a fixed Caesar shift. General text-conversion descriptions do not identify this specific cipher class. Transformation is especially broad and could include many cryptographic or noncryptographic changes. D is therefore the most precise classification, rather than a claim that ordinary language can never describe encryption using broader terms.
Evidence in the complete study note
Substitution replaces symbols; transposition changes their positions. A monoalphabetic substitution preserves one mapping throughout the message and leaks frequency patterns despite a large nominal key space. Classical ciphers are teaching devices, not modern data protection.SEC13
With A=0 through Z=25, Caesar encryption is C=(P+k) mod26 and decryption P=(C-k) mod26. A shift of 3 maps A→D and HELLO→KHOOR.SEC13
Choice by choice
A · incorrect — Incorrect: transliteration does not identify the specified fixed-alphabet-shift cipher class.
B · incorrect — Incorrect: translation does not identify the specific cipher class defined by replacing symbols while retaining positions.
C · incorrect — Incorrect: transformation is a broader description and does not distinguish substitution from other changes.
D · correct — Correct: replacing symbol identities while keeping their positions is substitution.
Question 6
Which one of the following is an attack detection mechanism?
A. Physical control
B. Audit log
C. Password
D. Encryption
Hint / Module Reference (Where to Read)
Distinguish weaknesses, potential harmful events, actual attempts and the effect of a control.
Logs preserve successful and failed authentication events (PDF p.4). Reviewing this evidence can determine that an attack occurred, matching the module’s detection objective; the other listed controls primarily restrict or protect.
Evidence in the complete study note
Preventive controls block events, detective controls reveal them, corrective/recovery controls restore safe operation, and deterrents discourage attempts. Encryption is preventive for disclosure; an audit log is principally detective/accountability evidence. Physical, technical and administrative are control categories, not competing stages. An external firewall cannot replace a written policy or a locked equipment room.SEC02
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Accountability links actions to responsible entities through reliable identity and protected logs.SEC01
Choice by choice
A · incorrect — Physical controls protect facilities; this option does not specify monitoring evidence. See PDF p.4.
B · correct — An audit log records relevant events for identifying attacks after or during occurrence. See PDF p.4.
C · incorrect — A password checker controls entry rather than recording evidence of attack by itself. See PDF p.4.
D · incorrect — Encryption scrambles cleartext; it does not by itself identify an attack. See PDF p.4.
Question 7
Which one of the following best describes for a program that seems friendly and legitimate but contains hidden malicious codes and harms a system?
A. Trojan
B. Malware
C. Virus
D. Worm
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
The defining clue is apparent legitimacy hiding malicious behavior. SEC04 assigns that disguise property to a Trojan. Malware is the broad umbrella, while viruses and worms are distinguished by replication mechanisms. Because the stem asks what best describes the program, Trojan is more specific than the umbrella term and requires no unmentioned replication behavior.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
Malware is the umbrella term, not a specific replication method.SEC04
Update, restrict execution, isolate compromise and maintain tested offline backups; no antivirus guarantees complete protection.SEC04
Choice by choice
A · correct — A Trojan presents useful or legitimate behavior as cover for concealed malicious actions.
B · incorrect — Malware is the broad umbrella and does not specifically capture the deceptive legitimate appearance asked for.
C · incorrect — A virus is defined by attaching to a host and replicating, neither of which the stem specifies.
D · incorrect — A worm independently replicates; that is different from the concealed malicious disguise described.
Question 8
A malicious program that once installed on your machine can collect all keystrokes including username, password, emails, credit card numbers and other sensitive information is:
A. Rootkit
B. Worms
C. Key logger
D. Trojan
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
SEC04 directly assigns keystroke recording to a keylogger. Recording every entered character can capture passwords and other secrets typed by the user. Rootkits hide malicious presence, worms replicate independently and Trojans conceal malicious behavior under useful appearances; none of those names specifically denotes keystroke collection.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
A backdoor bypasses ordinary access paths; a rootkit hides malicious presence or privileged activity.SEC04
Spyware monitors users; a keylogger records keystrokes.SEC04
Choice by choice
A · incorrect — A rootkit hides malicious presence or privileged activity; keystroke capture is not its defining function.
B · incorrect — Worms are defined by independent replication, not by collecting typed information.
C · correct — A keylogger records keystrokes and can capture the sensitive values entered through the keyboard.
D · incorrect — A Trojan describes deceptive packaging; it does not specifically name the keystroke-recording function.
Question 9
Which authentication factor class uses a characteristic of the user’s body, such as a fingerprint?
A. One-factor authentication
B. Two-factor authentication
C. Inherence (biometric) factor
D. Forth-factor authentication
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
An inherence factor authenticates using a biometric characteristic such as a fingerprint. That describes a factor class, not a count of independent classes combined by a procedure. One biometric alone is one factor, and biometrics may also participate in multi-factor authentication. The option identifies the factor class, while the numerical alternatives do not identify the bodily characteristic being requested.
Evidence in the complete study note
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint. Behavioral biometrics include typing rhythm or handwriting; some textbooks call these “something one does.” A body characteristic is not “three-factor authentication”: one biometric is one factor. Password plus PIN remains one factor class; card plus PIN is two. An OTP’s factor depends on its delivery/generation mechanism.SEC07
Choice by choice
A · incorrect — One factor is a count and does not specify whether the factor is biometric.
B · incorrect — Two-factor authentication is a combination count, not the body-based factor class.
C · correct — Inherence identifies the biometric factor class.
D · incorrect — Four-factor authentication is a count rather than the requested factor class.
Question 10
is a system that monitors traffic into and out of a network and automatically alerts personnel when
suspicious traffic patterns occur, indicating a possible unauthorized intrusion attempt.
A. Anti-Virus Software
B. IDS
C. Firewall
D. Router
SS
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
The stem describes observing traffic and alerting on suspicious patterns rather than enforcing a block. SEC24 defines that as an IDS role. Antivirus focuses on malicious software, a firewall enforces traffic policy and a router forwards packets. A product can combine functions, but detection/alerting is the specific function requested.
Evidence in the complete study note
An IDS observes and alerts; an IPS can enforce blocking, usually inline. Host-based sensors examine host events, network-based sensors inspect traffic. Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior. Neither guarantees every attack is detected; anomaly detection can raise many false positives, and signatures can sometimes match variants.SEC24
A router forwards IP packets between networks; forwarding alone is different from detecting suspicious behavior or enforcing a firewall's security policy.SEC-S03
A firewall enforces traffic policy.SEC23
Choice by choice
A · incorrect — Antivirus targets malicious software; it is not the generic traffic-pattern detection system defined by the stem.
B · correct — An IDS observes activity and alerts personnel about suspected intrusion patterns.
C · incorrect — A firewall’s defining role is traffic-policy enforcement rather than the stated intrusion-alerting function.
D · incorrect — A router forwards packets between networks and is not defined by suspicious-pattern alerting.
Question 11
Which attack category is defined by exhausting or disabling operating-system services so legitimate users cannot obtain service, regardless of the mechanism used?
A. Buffer Overflow
B. Malware
C. Denial of Service
D. Network Intrusion
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Denial of service is defined by exhausting or disabling a resource so legitimate users cannot use it. A buffer overflow is a memory-bounds violation that can have several consequences, including a crash in some cases; malware names malicious software, and network intrusion concerns unauthorized entry. Any of those mechanisms could participate in a service-denial incident, but they are not the availability-outcome category requested by the stem. C supplies that category.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses.SEC06
A buffer overflow writes beyond allocated bounds and can corrupt data or control information; code execution is a possible consequence, not its definition or an inevitable outcome.SEC25
Malware is the umbrella term, not a specific replication method.SEC04
Choice by choice
A · incorrect — Incorrect: a buffer overflow writes beyond allocated bounds; it is a possible mechanism rather than the service-denial category.
B · incorrect — Incorrect: malware is an umbrella class of malicious software, not the requested availability outcome.
C · correct — Correct: denial of service exhausts or disables a resource and blocks legitimate service.
D · incorrect — Incorrect: network intrusion concerns unauthorized entry; the requested category is loss of service.
Question 12
Which statement is false about network-traffic denial-of-service attacks? Treat NXDOMAIN flooding here as distributed and fragmentation as a fragment-flood attack rather than ordinary IP fragmentation.
A. Distributed NXDOMAIN flooding is a form of DDoS attack.
B. An IP fragment flood is a traffic-based attack.
C. DNS Flooding is a traffic-based attack.
D. TCP SYN Flooding is not a traffic-based attack.
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Correct answer: D — TCP SYN Flooding is not a traffic-based attack.
The stated attacks exhaust resources through network traffic. Distributed NXDOMAIN flooding stresses resolver capacity using multiple sources; fragment floods abuse reassembly or packet-processing resources; DNS floods target query capacity. A SYN flood also uses network traffic, leaving incomplete TCP handshakes that consume connection state. Its mechanism differs from raw bandwidth exhaustion, but that does not make it non-traffic-based. D is therefore the false claim under the explicitly broad traffic-based meaning.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses. A SYN flood leaves many incomplete TCP handshakes occupying state. DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers. Fragment floods abuse reassembly or packet-processing resources. Rate limits, SYN cookies, filtering and upstream capacity controls address different bottlenecks.SEC06
Choice by choice
A · incorrect — Multiple-source NXDOMAIN flooding qualifies as distributed denial of service.
B · incorrect — Fragment flooding abuses processing or reassembly resources through traffic.
C · incorrect — DNS flooding consumes query capacity through traffic.
D · correct — SYN flooding is traffic-based, so this denial is false.
Question 13
Which one of the following is true about Bell-LaPadula model security properties?
A. The * (star) Security Property states that a subject at a given security level may not read an object at a higher security level.
B. Users can create content only at or below their own security level (i.e. secret users can create secret or confidential files but may not create top secret files; no write-up).
C. The Strong Star Property states that subjects may write to objects with only a matching security level.
D. The Simple Security Property states that a subject at a given security level may not write to any object at a lower security level.
Hint / Module Reference (Where to Read)
Apply the named model's read and write restrictions separately.
Correct answer: C — Strong-star permits writes only at the matching level
SEC10 separates the properties: simple security is no read up, star is no write down and strong-star restricts writing to the same level. C correctly names the strong-star condition. A and D exchange the names of the simple and star properties, while B states no write up, contrary to Bell–LaPadula’s confidentiality direction.
Evidence in the complete study note
Bell–LaPadula protects confidentiality. The simple-security rule prohibits reading above a subject’s level; the star rule prohibits writing down. The strong-star variant permits writing only at the same level. With TS>S>C>U, an S subject can read C under the simple rule but cannot write C under star; compartments and discretionary restrictions may still deny access.SEC10
It is not a confidentiality model. “MAC” is an enforcement category and does not force every system to use Bell–LaPadula rather than another label policy.SEC10
Strict Biba protects integrity by preventing read down and write up: untrusted lower-integrity input should not contaminate higher-integrity results.SEC10
Choice by choice
A · incorrect — No read up is the simple-security rule, not the star property.
B · incorrect — Bell–LaPadula prohibits writing down; this option instead asserts no write up and allows downward disclosure.
C · correct — Strong-star permits writes only to objects at the subject’s matching level.
D · incorrect — No write down is the star rule, not the simple-security rule.
Question 14
Which statement most precisely identifies the programming defect underlying a buffer overflow, rather than a possible exploit outcome or a broad claim about operating-system families?
A. An overflow may allow attacker-supplied instructions to execute
B. The age or family name of an operating system alone establishes that it contains an exploitable overflow
C. All other statements precisely define the underlying defect
D. Buffer-overflow may remain as a bug in apps if boundary checks are not done fully
Hint / Module Reference (Where to Read)
Identify the unsafe operation or input boundary rather than only a possible consequence.
Correct answer: D — Buffer-overflow may remain as a bug in apps if boundary checks are not done fully
A buffer overflow writes beyond allocated bounds. Missing or incomplete boundary checks can leave that defect in application code, which is the role described by D. Executing attacker-supplied code is a possible consequence, not the underlying definition or a necessary outcome. An operating-system family name or age alone does not establish a specific vulnerable component. The revised question distinguishes cause from consequence without endorsing unsupported historical vendor claims.
Evidence in the complete study note
A buffer overflow writes beyond allocated bounds and can corrupt data or control information; code execution is a possible consequence, not its definition or an inevitable outcome. An array of eight bytes cannot store eight text characters plus a terminating zero. Bounds-check lengths and indexes, consider integer overflow, use safe abstractions and validate library return values. Canaries, non-executable memory and address randomization reduce exploitability but do not repair the underlying write.SEC25
Security patches repair known weaknesses; a zero-day may lack a vendor fix, but segmentation and other mitigations can still help.SEC25
Choice by choice
A · incorrect — This is a possible consequence rather than the underlying bounds-checking defect requested.
B · incorrect — A family name or age is not evidence of a specific exploitable out-of-bounds write.
C · incorrect — The other statements are not all precise descriptions of the underlying defect.
D · correct — Incomplete bounds checking can leave an application buffer-overflow bug.
Question 15
Which one of the following is true about Firewalls?
A. Prevent a TCP Session Hijacking attack
B. Prevent a virus or malicious code from entering to our network
C. Can be configured to limit access based on port number or protocol
D. Detects and prevent an attack if attacker is within our network segment
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Correct answer: C — Configure access limits by protocol and port
SEC23 explicitly gives protocol/port matching as a firewall function. It also describes bypass paths, insiders and infected removable media as limits, so firewall deployment does not guarantee all hijacking, malware or same-segment attacks are prevented. C is the configurable capability supported without those absolute guarantees.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Bypass paths, insiders, encrypted uninspected content and infected removable media limit firewall protection.SEC23
Stateful and next-generation devices can also filter ports; port filtering is not exclusive to one firewall category.SEC23
Choice by choice
A · incorrect — A firewall does not universally prevent every session hijack, especially traffic outside its inspected or enforced paths.
B · incorrect — Malware can arrive through bypass paths or permitted traffic; a firewall cannot guarantee excluding all malicious code.
C · correct — Protocol and port fields can be matched in traffic-policy rules to restrict access.
D · incorrect — An attacker sharing an internal segment may bypass the firewall’s traffic path; detection/prevention is not guaranteed.
Question 16
Which one of the following is true about means of authentication?
A. Something the individual does: recognition by voice pattern, handwriting characteristics, and typing rhythm.
B. Something the individual possesses: fingerprint, retina, and face.
C. Something the individual is: electronic keycards, smart cards, and physical keys.
D. Something the individual knows: possess a token.
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
Correct answer: A — Behavioral characteristics: voice/handwriting/typing patterns
SEC07 distinguishes knowledge, possession and inherence, and recognizes behavioral biometrics under the textbook “does” category. A matches that classification, including handwriting and typing rhythm. The remaining options exchange possession and biometrics or call a possessed token knowledge. Voice-pattern recognition is biometric behavior/characteristic recognition, not possession of an external object.
Evidence in the complete study note
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint. Behavioral biometrics include typing rhythm or handwriting; some textbooks call these “something one does.” A body characteristic is not “three-factor authentication”: one biometric is one factor. Password plus PIN remains one factor class; card plus PIN is two. An OTP’s factor depends on its delivery/generation mechanism.SEC07
Choice by choice
A · correct — The examples describe biometric behavior/patterns consistent with the textbook something-one-does category.
B · incorrect — Fingerprints, retina and face are body characteristics, not possessed token/card objects.
C · incorrect — Keycards, smart cards and physical keys are possession factors, not inherent body characteristics.
D · incorrect — Possessing a token is a possession factor; knowledge means a secret such as a password or PIN.
Question 17
Which one of the following pairs is incorrect?
A. IP Spoofing - IPSec
B. TCP Session Hijacking - TLS
C. DNS Cache Poisoning - DNSSEC
D. Buffer overflow - HTTPS
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Correct answer: D — HTTPS does not fix buffer overflows
SEC06 matches protections to the attacked layer: authenticated IPsec can resist IP impersonation, DNSSEC authenticates DNS data and TLS protects application transport against interception/tampering. HTTPS is HTTP over TLS; it cannot make an unsafe server memory copy bounds-safe. Thus D is the mismatched attack/defense pairing, without treating the other mechanisms as unconditional guarantees.
Evidence in the complete study note
Rogue access points imitate or bypass approved wireless service. Bluesnarfing steals Bluetooth information; bluejacking sends unsolicited Bluetooth messages. Phishing is not specific to wireless. Match a defense to its layer: authenticated IPsec can resist IP impersonation, DNSSEC authenticates DNS data, TLS authenticates/protects application transport, and bounds-safe code prevents overflows. HTTPS cannot fix an unsafe memory copy in a server.SEC06
A buffer overflow writes beyond allocated bounds and can corrupt data or control information; code execution is a possible consequence, not its definition or an inevitable outcome.SEC25
It protects HTTP paths, headers and content on the channel, but does not hide all metadata such as IP endpoints and traffic timing, nor protect data after a compromised endpoint decrypts it.SEC21
Choice by choice
A · incorrect — Authenticated IPsec can resist IP impersonation, so this is a relevant defense pairing.
B · incorrect — TLS protects authenticated transport against interception/tampering relevant to session hijacking, under correct endpoint validation.
C · incorrect — DNSSEC authenticates DNS data and is relevant to resisting false cached DNS answers.
D · correct — HTTPS protects the channel but does not repair writes beyond a server buffer’s allocated bounds.
Question 18
Which statement is NOT a property of integrity under the primary CIA-goal classification?
A. Integrity can be compromised by Deception
B. Integrity can be compromised by Disclosure
C. Requires permitted modifications to be authorized
D. Protects resources against unauthorized alteration
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Correct answer: B — Integrity can be compromised by Disclosure
Integrity concerns the correctness of information and protection against unauthorized or improper changes. False data introduced through deception, unauthorized alteration and violations of modification permissions can therefore threaten integrity. Pure disclosure means an unauthorized party learns information without changing it; that directly violates confidentiality. Availability instead concerns timely, usable access. Classifying the direct effect avoids treating every active attack as an integrity attack or assuming that one incident can affect only one security goal.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control.SEC03
Active attacks inject, alter, replay or disrupt.SEC03
Choice by choice
A · incorrect — An integrity concern: deception can introduce false information and corrupt correctness.
B · correct — Correct selection: pure disclosure directly compromises confidentiality rather than integrity.
C · incorrect — An integrity concern: modification permissions distinguish authorized changes from unauthorized ones.
D · incorrect — An integrity concern: unauthorized alteration directly damages information correctness.
Question 19
Assume, you went to the Ethiopian airport to catch a flight and told the airport personnel
your name. For sure, they would ask you some questions like your passport number and your
reservation ticket number for some proof of your identity. Then what do we call this process?
A. Authentication
B. Authorization
C. Access control
D. All
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
The passenger first claims a name, then is asked for evidence supporting that identity. Proving who one claims to be is authentication (PDF p.4), rather than deciding what the passenger may do.
Evidence in the complete study note
A common access sequence is identify the subject, authenticate the claim, authorize the operation, then record relevant events. Identification is the username/claim, not its proof. When a sequence begins with authentication, distinguish it from the preceding identification stage. User-to-host means a user proves identity to a host; host-to-user means the host proves its identity to a user; the arrow names the prover and verifier.SEC07
Choice by choice
A · correct — Passport/ticket evidence tests the claimed identity. See PDF p.4.
B · incorrect — Authorization would grant permissions after establishing identity. See PDF p.4.
C · incorrect — Access control is the broader restriction mechanism, while the described step is identity proof. See PDF p.4.
D · incorrect — All incorrectly treats permission decisions as already described. See PDF p.4.
Question 20
Assume, you went to the nearby commercial bank's automatic teller machine (ATM) to
withdraw money. You inserted your ATM card into the machine, and the machine asked you to
enter your personal identification number (PIN). Then, when you type your password, someone
intercepts your ATM card number, and which of your security goals is compromised?
A. Integrity
B. Authorization
C. Confidentiality
D. Availability
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Intercepting the ATM number discloses information to an unauthorized party. The module maps interception to confidentiality (PDF pp.3–4); neither data alteration nor service denial is described.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Password plus PIN remains one factor class; card plus PIN is two.SEC07
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint.SEC07
Choice by choice
A · incorrect — No modification is stated. See PDF p.3, PDF p.4.
B · incorrect — The event is disclosure rather than a permission-granting decision. See PDF p.3, PDF p.4.
C · correct — Unauthorized learning of the card number compromises confidentiality. See PDF p.3, PDF p.4.
D · incorrect — The user is not said to lose timely access to service. See PDF p.3, PDF p.4.
Question 21
Which attack can be used for monitoring children's activity?
A. Spyware
B. Ransomwares
C. Worms
D. Adware
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
Correct answer: A — Spyware-like monitoring capability
The capability described is monitoring user activity, which SEC04 associates with spyware. Ransomware locks or encrypts for extortion, worms replicate and adware displays unwanted advertisements. SEC05 adds an important context limit: monitoring with authorization is not automatically an attack. A matches the functionality, but the child-monitoring use alone does not establish malicious intent.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
Adware displays unwanted advertising and may also track users.SEC04
Ransomware denies access through encryption/locking and extortion.SEC04
Choice by choice
A · correct — Spyware’s monitoring function matches collection of user activity, subject to the authorization caveat.
B · incorrect — Ransomware denies access and extorts payment rather than primarily monitoring user activity.
C · incorrect — A worm independently replicates; monitoring is not the defining capability.
D · incorrect — Adware primarily displays unwanted advertisements, although some packages may also track activity.
Question 22
_______is a type of data link layer attack in TCP/IP protocol stack
A. ARP spoofing
B. DNS spoofing
C. SYNC-FLOOD attack
D. All except c
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
ARP spoofing targets the local mapping between IPv4 and link-layer MAC addresses, making A the data-link-oriented attack among these choices. DNS spoofing targets name resolution rather than local link associations, and SYN flooding abuses TCP handshake state. D incorrectly includes DNS spoofing in the data-link category.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
A SYN flood leaves many incomplete TCP handshakes occupying state.SEC06
DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers.SEC06
Choice by choice
A · correct — ARP spoofing poisons the local IPv4-to-MAC mapping at the network/link addressing boundary.
B · incorrect — DNS spoofing falsifies name-resolution data rather than manipulating the local data-link association.
C · incorrect — The likely SYN-flood reference concerns TCP handshake state at transport scope, not link addressing.
D · incorrect — This includes DNS spoofing, which is not a data-link mapping attack.
Question 23
Which statement correctly distinguishes the host-program dependence of viruses and worms? Here 'host' means a carrier program or document, not a computer.
A. Worms requires a host to spread while viruses doesn't require
B. Worms requires a user action for replicate while viruses doesn't require
C. Virus requires a host to spread while Worms doesn't require
D. Worms spreading speed is slower than Virus Spreading speed
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
Correct answer: C — Virus requires a host to spread while Worms doesn't require
A virus replicates by attaching to a carrier program or document and spreading when that infected host executes. A worm replicates independently of such a carrier. This makes C the correct direction and makes A a reversal. B wrongly makes user action a defining requirement for worm replication while denying the virus's dependence on infected-host execution. D proposes a general speed ranking, which is not a defining consequence of either replication mechanism.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
Choice by choice
A · incorrect — Incorrect: this reverses the definitions; viruses need carrier programs/documents and worms replicate independently.
B · incorrect — Incorrect: independent worm replication does not require a user to launch each copy; virus propagation depends on infected-host execution.
C · correct — Correct: viruses attach to carrier hosts, whereas worms replicate independently of such carriers.
D · incorrect — Incorrect: propagation speed does not follow from the carrier-versus-independent distinction and cannot define the requested host dependence.
Question 24
Which general security-control category enforces allow/block rules for incoming and outgoing network traffic? Choose the functional security category rather than a general forwarding or relay role.
A. Proxy
B. Firewall
C. Gateway
D. Router
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
A firewall is the general control that enforces a network traffic policy, allowing or blocking traffic according to rules. A router's basic role is forwarding IP packets; a proxy relays application requests, and gateway is a broader connection or mediation term. These devices can include firewall capabilities, so their hardware or networking names alone do not make mutually exclusive implementations. The stem asks for the functional security category, which makes firewall the precise answer.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
A router forwards IP packets between networks; forwarding alone is different from detecting suspicious behavior or enforcing a firewall's security policy.SEC-S03
Choice by choice
A · incorrect — A proxy's general role is relaying application exchanges; it may also implement firewall policy but is not the general category requested.
B · correct — Correct: firewall names the general traffic-policy enforcement control.
C · incorrect — Gateway is a broad networking or mediation role and does not by itself specify security-rule enforcement.
D · incorrect — A router forwards IP packets; filtering added to a router is a firewall function rather than an implication of routing alone.
Question 25
Firewall in computer network is
A. physical boundary of network
B. an operating system of network
C. A system designed to prevent unauthorized access
D. A web browsing software
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Correct answer: C — A system designed to prevent unauthorized access
A firewall enforces rules controlling network traffic to prevent unauthorized access. It may be software or a network device and therefore need not be a physical boundary. An operating system is not the name of this specific traffic-policy function, and a web browser requests or displays web content rather than serving as the general network-access enforcement control. C captures the firewall's security purpose, subject to the normal limits of configured rules and available inspection.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Choice by choice
A · incorrect — Incorrect: traffic-policy enforcement is a logical control and need not be a physical boundary.
B · incorrect — Incorrect: firewall names the traffic-policy enforcement function, not an entire network operating system.
C · correct — Correct: preventing unauthorized network access through traffic rules is the firewall purpose.
D · incorrect — Incorrect: browsing web content is different from enforcing network traffic policy.
Question 26
Assume that we are able to specify that Mr. Getahun can view the database record, but
cannot change the value of the record. Which security management technique was used in
this scenario?
A. Access Control
B. Availability
C. ¢.
Non-repudiation
D. Integrity
Hint / Module Reference (Where to Read)
Identify subject, object and permitted operation before comparing policy models.
Permitting read while denying write is a subject/object/operation permission assignment, exactly the access-enforcement model (PDF p.11). Integrity is a protected goal, not the mechanism requested.
Evidence in the complete study note
Subjects request operations on objects. An ACL associates an object/resource with allowed subjects or actions; a network ACL matches traffic such as address, protocol and port. Classification and filtering are direct effects; high availability or malware detection is not guaranteed by an ACL.SEC09
Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it.SEC01
Allowing SELECT but denying UPDATE is an access-control decision that helps integrity; it does not by itself enforce all valid business-state transitions.SEC09
Choice by choice
A · correct — Access control authorizes particular operations on an object. See PDF p.3, PDF p.11.
B · incorrect — Availability means timely usable service and access for authorized users (PDF page3), rather than selecting the allowed operation on a particular record.
C · incorrect — Non-repudiation concerns proving an event or action so sender or receiver cannot deny it (PDF page4), rather than assigning read/write permissions.
D · incorrect — Integrity is the desired protection against unauthorized changes, not the permission-setting mechanism. See PDF p.3, PDF p.11.
Question 27
Which statement is NOT true about digital signatures?
A. A digital signature is not, by itself, a confidentiality-encryption mechanism
B. The sender signs a message or its encoded digest using its private signing key
C. The sender generates a digital signature using its public verification key
D. Digital signature provides authentication services
Hint / Module Reference (Where to Read)
Separate a digest, shared-secret authentication and publicly verifiable signing.
Correct answer: C — The sender generates a digital signature using its public verification key
A digital signature is generated with the signer's private signing key and checked with the corresponding public verification key. Signing may operate on a message or an encoded digest, depending on the algorithm. It is not generically private-key encryption, and it does not by itself hide the message. Under an authentic key binding and secure private-key custody, verification supports origin authentication and integrity. The public verification key cannot generate the signer's signature, making C false.
Evidence in the complete study note
A signature algorithm signs a message or its encoded digest with a private key and verifies with the public key. It is not generically “encrypting with a private key,” especially for DSA/ECDSA. Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content. Password verification uses a salt and deliberately expensive password hash. Historical MD5/SHA-1 examples do not justify their use for new collision-resistant signatures.SEC20
For a signature, A signs with A’s private signing key and others verify with A’s public key.SEC18
Choice by choice
A · incorrect — True: a signature supports origin and integrity checks without itself concealing the content.
B · incorrect — True: signature generation uses the private signing key on the message or its encoded digest.
C · correct — Correct selection: the public verification key verifies signatures; it does not generate them.
D · incorrect — True: signature verification supports origin authentication under the stated key-binding assumptions.
Question 28
Which one of the following party performs the technical evaluation work, using the
evidence supplied by the developers, and additional testing of the product, to confirm that
it satisfies the functional and assurance requirements specified in the security target?
A. Evaluator
B. Certifier
C. Sponsor
D. Developer
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
SEC29 assigns technical examination of developer evidence, testing and vulnerability analysis against Security Target claims to evaluators. The certification body oversees/reviews evaluation and issues the certification decision; sponsors commission the work and developers supply the product/evidence. A therefore names the party performing the actual technical evaluation rather than those adjacent roles.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
A certificate applies to a specified product/configuration and claims, not immunity to all future attacks.SEC29
An Evaluation Assurance Level packages assurance requirements; EAL1–7 express increasing evaluation rigor, not a universal ranking of security functions.SEC29
Choice by choice
A · correct — Evaluators review developer evidence and perform tests/analysis against the stated functional and assurance claims.
B · incorrect — The certifier oversees/reviews evaluation and issues the certification decision rather than being the named technical evaluator.
C · incorrect — The sponsor commissions the work; that role does not itself perform the technical evaluation.
D · incorrect — The developer supplies the product and supporting evidence for independent examination.
Question 29
Compare two incidents at Registrar X. In incident I, Negesa composes a fresh request and presents it as coming from Dereje. In incident II, Negesa retransmits, without changing it, a valid request that Dereje genuinely sent earlier. Which statement correctly distinguishes the observed attack mechanisms?
A. I makes the registrar unavailable, whereas II leaves the service available.
B. I alters the content of Dereje's existing request, whereas II leaves that request unchanged.
C. I creates a fresh message under Dereje's identity, whereas II repeats Dereje's authentic old message.
D. I repeats an authentic old message, whereas II creates a fresh message under a false identity.
Hint / Module Reference (Where to Read)
Compare the claimed origin, message freshness and whether an existing message was changed.
Correct answer: C — I creates a fresh message under Dereje's identity, whereas II repeats Dereje's authentic old message.
Incident I introduces a newly composed message under another person's identity, which is masquerade. Incident II reuses a valid old message, which is replay. The relevant distinction is false origin for a fresh message versus reuse of an authentic earlier one. Neither incident describes service denial, and I does not modify an existing request. D reverses the two histories. Replay can also support impersonation in a larger attack, so this comparison classifies the specific observed mechanisms.
Evidence in the complete study note
Masquerade claims another identity.SEC05
A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it.SEC05
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material.SEC03
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses.SEC06
Choice by choice
A · incorrect — Neither history includes service exhaustion or interruption; service availability does not distinguish these incidents.
B · incorrect — I creates a new request rather than altering an existing one; message modification is a different mechanism.
C · correct — I's fresh false-origin request demonstrates masquerade, while II's unchanged reuse of an authentic earlier request demonstrates replay.
D · incorrect — This reverses the observed histories: II reuses the old request, while I creates the fresh false-origin request.
Question 30
Which general security-control category enforces allow/block rules on incoming and outgoing network traffic? Choose the general enforcement category rather than a relay, tunnel or observing role.
A. Intrusion detection system (IDS)
B. Proxy server
C. Virtual Private Network (VPN)
D. Firewall
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
A firewall is the general traffic-policy enforcement category that permits or blocks traffic under rules. An IDS observes and alerts, whereas a proxy relays application requests and may additionally implement policy. A VPN establishes a logical private connection whose security depends on its tunnel; that does not itself define allow/block filtering. Because implementations can combine these functions, the revised stem asks for the general enforcement category rather than treating all device types as mutually exclusive.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
A VPN is a logical private connection; its actual security depends on the chosen authenticated tunnel.SEC22
Choice by choice
A · incorrect — Incorrect: an IDS observes and alerts; the requested role enforces traffic permission decisions.
B · incorrect — Incorrect: proxy names an application-relay role, even when a particular proxy also implements firewall policy.
C · incorrect — Incorrect: a VPN provides a logical private connection; that role alone does not specify allow/block traffic enforcement.
D · correct — Correct: firewall names the general traffic-policy enforcement category.
Question 31
Which one of the following is WRONGLY stated about an importance of security
policy?
A. To help minimize risk.
B. To ensure the confidentiality, integrity and availability of data.
C. .
To coordinate and enforce a security program across an organization.
D. To use the system in a passive way
Hint / Module Reference (Where to Read)
Distinguish organizational rules, operational steps and recovery goals.
Correct answer: D — To use the system in a passive way
A security policy regulates resource protection (PDF p.3); assurance reduces risk and preserves protection goals (p.2). Merely using a system passively neither establishes protection rules nor coordinates enforcement.
Evidence in the complete study note
A security policy states responsibilities and rules; a procedure supplies the steps. Policies coordinate protection, reduce risk and define acceptable use, access review, incident handling and recovery. They do not prescribe merely “passive system use.” Awareness training teaches reporting and independent verification; enforcement and usable procedures make it operational.SEC33
Choice by choice
A · incorrect — Minimizing risk is consistent with regulating protection. See PDF p.2, PDF p.3.
B · incorrect — Protecting CIA is consistent with security and assurance goals. See PDF p.2, PDF p.3.
C · incorrect — Coordinating and enforcing organizational protection is consistent with a common rule set. See PDF p.2, PDF p.3.
D · correct — Passive system use is not a security-policy purpose derived from the definition. See PDF p.2, PDF p.3.
Question 32
Which one of the following computer security goal prevents the disclosure of sensitive
information to unauthorized users or systems on computer networks?
A. Confidentiality
B. Integrity
C. Cyberspace
D. Availability
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
The stem restates prevention of unauthorized disclosure, the confidentiality definition on PDF p.3. It asks about secrecy rather than correctness or access timing.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle.SEC01
Choice by choice
A · correct — Confidentiality is explicitly prevention of unauthorized disclosure. See PDF p.3.
B · incorrect — Integrity prevents unauthorized writing/modification. See PDF p.3.
C · incorrect — Cyberspace is not one of the module’s CIA goals. See PDF p.3.
D · incorrect — Availability assures usable access for authorized users. See PDF p.3.
Question 33
Which of the following primarily provides detective evidence that can reveal an attack, rather than preventing access or disclosure?
A. Access Control
B. Encryption
C. Audit log
D. Password authentication
Hint / Module Reference (Where to Read)
Distinguish weaknesses, potential harmful events, actual attempts and the effect of a control.
An audit log records events that can reveal suspicious activity during review or analysis and can support accountability. Its primary role in this comparison is detective evidence. Access control restricts permitted actions, password authentication checks an identity claim, and encryption limits disclosure to unauthorized readers. These are principally preventive roles in the question's comparison. A log does not automatically block an attack, and its usefulness depends on reliable recording, protection and analysis.
Evidence in the complete study note
Preventive controls block events, detective controls reveal them, corrective/recovery controls restore safe operation, and deterrents discourage attempts. Encryption is preventive for disclosure; an audit log is principally detective/accountability evidence. Physical, technical and administrative are control categories, not competing stages. An external firewall cannot replace a written policy or a locked equipment room.SEC02
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint.SEC07
A common access sequence is identify the subject, authenticate the claim, authorize the operation, then record relevant events.SEC07
Least privilege gives only needed rights, for needed time.SEC09
Choice by choice
A · incorrect — Access control primarily prevents actions that exceed a subject's permissions.
B · incorrect — Encryption primarily prevents unauthorized disclosure rather than revealing attack activity through event records.
C · correct — Correct: an audit log provides event evidence that can reveal attacks and support accountability.
D · incorrect — Password authentication primarily checks identity before access; it is not the offered detective event record.
Question 34
The process of recovering the original message without the detailed
knowledge of the secret information is called:
A. Decryption
B. Decipher
C. Cryptanalysis
D. A and B
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
PDF p.6 distinguishes decryption (recovering plaintext) from cryptanalysis (breaking ciphertext without the key). The explicit absence of secret knowledge selects cryptanalysis.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Security depends on algorithm, key size, randomness, mode and implementation.SEC12
Choice by choice
A · incorrect — Decryption is ordinary plaintext recovery and omits the without-key distinction. See PDF p.6.
B · incorrect — Decipher is the same ordinary recovery operation. See PDF p.6.
C · correct — Cryptanalysis explicitly concerns breaking ciphertext without knowing the key. See PDF p.6.
D · incorrect — Combining two ordinary recovery synonyms does not supply the required without-key meaning. See PDF p.6.
Question 35
Which of the following statements is true about crackers?
A. They attempt to break the system without permissions
B. They are legally employed to break into the system
C. They reveal the information after breaking into the system
D. All
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Correct answer: A — They attempt to break the system without permissions
Cracking is malicious hacking; intrusion is unauthorized access (PDF p.5). By contrast authorized simulated attacks are penetration testing (p.10). A matches unauthorized breaking, and neither legal employment nor later disclosure defines a cracker.
Evidence in the complete study note
White-hat testing requires authorization and scope; black-hat activity is malicious or unauthorized. A competitor may seek commercial secrets; hacktivists pursue a cause. “Hacker” alone does not establish legality. Insider versus outsider describes origin/trust position, not the specific mechanism.SEC03
Vulnerability assessment finds and prioritizes weaknesses; authorized penetration testing attempts to demonstrate consequences.SEC27
Host/network/database scanners see different exposures and have false results.SEC27
Choice by choice
A · correct — Attempted unauthorized system breaking matches malicious intrusion. See PDF p.5, PDF p.10.
B · incorrect — Legally authorized testing belongs to penetration testing, not the definition of cracking. See PDF p.5, PDF p.10.
C · incorrect — Revealing information afterward is not a necessary defining property of malicious intrusion. See PDF p.5, PDF p.10.
D · incorrect — B and C are not defining truths, so All cannot hold. See PDF p.5, PDF p.10.
Question 36
Which basic firewall category makes stateless decisions from packet-header fields such as protocol and port numbers, without tracking connection state or terminating an application exchange?
A. Packet Filtering
B. Proxy Service
C. Stateful Inspection
D. Threat-Focused NGFW
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Stateless packet filtering matches packet headers such as addresses, protocol and ports. Stateful inspection adds connection context, while an application proxy terminates and relays application exchanges. Next-generation products can also filter ports, but that capability alone does not make them the basic stateless header-only category requested. The additional constraints distinguish the model rather than incorrectly claiming port filtering is exclusive to one product type.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Stateful and next-generation devices can also filter ports; port filtering is not exclusive to one firewall category.SEC23
Hardware firewall does not imply any fixed number of ports.SEC23
Choice by choice
A · correct — This is the stateless header-matching category.
B · incorrect — A proxy terminates and relays application exchanges.
C · incorrect — Stateful inspection tracks connection context, which the stem excludes.
D · incorrect — A next-generation firewall is not the basic header-only stateless category requested.
Question 37
What will be the encrypted message if the message "ATTACK" is encrypted
by Caesar's cipher with key = 25?
A. ZSSZBJ
B. ZGGZXP
C. ZTTZAK
D. BGGBDL
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
Using the additive shift on Z26 (PDF p.6), take A=0 and encryption C=(P+25) mod 26. ATTACK gives (0,19,19,0,2,10) -> (25,18,18,25,1,9) -> ZSSZBJ. This is a one-position backward shift because 25=-1 mod 26.
Evidence in the complete study note
Substitution replaces symbols; transposition changes their positions. A monoalphabetic substitution preserves one mapping throughout the message and leaks frequency patterns despite a large nominal key space. Classical ciphers are teaching devices, not modern data protection.SEC13
With A=0 through Z=25, Caesar encryption is C=(P+k) mod26 and decryption P=(C-k) mod26.SEC13
Key25 moves back one: ATTACK→ZSSZBJ.SEC13
Choice by choice
A · correct — ZSSZBJ agrees at all six positions. See PDF p.6.
B · incorrect — ZGGZXP has correct initial A->Z but T->G instead of S. See PDF p.6.
C · incorrect — ZTTZAK leaves T unchanged and maps C incorrectly. See PDF p.6.
D · incorrect — BGGBDL begins A->B, a forward-one shift rather than +25. See PDF p.6.
Question 38
All are properties of a substitution cipher except:
A. The identity of the letters is changed in the encryption process.
B. The position of the letters is changed in the encryption process.
C. Uses the same key for the encryption and decryption process.
D. It has a secure key distribution problem.
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
Correct answer: B — The position of the letters is changed in the encryption process.
Substitution replaces symbol identities; transposition changes positions (PDF p.6). Classical encryption is shared-key with a key-distribution problem (p.7), so position change is the exception in the standard pure-substitution model.
Evidence in the complete study note
Substitution replaces symbols; transposition changes their positions. A monoalphabetic substitution preserves one mapping throughout the message and leaks frequency patterns despite a large nominal key space. Classical ciphers are teaching devices, not modern data protection.SEC13
Symmetric encryption uses a shared secret and efficiently protects bulk data.SEC16
Pairwise independent keys for n users require n(n-1)/2 shared keys; a trusted key distribution center changes that architecture.SEC16
Choice by choice
A · incorrect — Changing letter identity is the defining substitution action. See PDF p.6, PDF p.7.
B · correct — Changing letter positions defines transposition, not pure substitution. See PDF p.6, PDF p.7.
C · incorrect — The module classifies classical encryption as shared-key encryption/decryption. See PDF p.6, PDF p.7.
D · incorrect — The module explains the need to distribute the shared secret securely. See PDF p.6, PDF p.7.
Question 39
Which statement is true? Assume a correctly used one-time pad and repeated-key Vigenère; compare the general cryptographic methods rather than one specially chosen implementation.
A. A correctly used one-time pad provides perfect secrecy, unlike repeated-key Vigenère
B. Symmetric key cryptography has a slow encryption process than
asymmetric key encryption technique
C. Hill cipher remains secure even with enough independent known plaintext/ciphertext blocks
D. All of the above
Hint / Module Reference (Where to Read)
Check the precise ordering or key-use assumptions rather than relying on a cipher's name.
Correct answer: A — A correctly used one-time pad provides perfect secrecy, unlike repeated-key Vigenère
A one-time pad has perfect secrecy only under its strict randomness, secrecy, length and nonreuse conditions; repeated-key Vigenère leaks periodic structure. Symmetric encryption supplies efficient bulk protection, while public-key mechanisms commonly handle keys in hybrid designs, so B reverses the general efficiency account. Hill is linear: enough independent known blocks allow recovery of its key matrix, contradicting C. Because B and C are false, the all-of-the-above selection is false and A is correct.
Evidence in the complete study note
A one-time pad XORs bits with an independent uniformly random secret key at least as long as the message and never reused. Its perfect secrecy depends on every condition.SEC15
The same plaintext letter may encrypt differently by position; repeated short keys still leak periodic structure.SEC14
It is linear: enough independent known plaintext/ciphertext blocks reveal K=CP^-1 mod26.SEC14
Symmetric encryption uses a shared secret and efficiently protects bulk data.SEC16
Hybrid systems establish or encapsulate a symmetric secret with public-key mechanisms, then protect bulk data symmetrically.SEC18
Choice by choice
A · correct — Correct: the stated pad conditions provide perfect secrecy; repeated-key Vigenère has periodic structure.
B · incorrect — Incorrect: symmetric encryption is the efficient bulk-data component; the proposed general slowdown reverses that role in hybrid protection.
C · incorrect — Incorrect: Hill's linear rule permits recovery of K = C P^-1 mod 26 from sufficient independent known blocks.
D · incorrect — Incorrect: B and C are false, so not all statements hold.
Question 40
An access control mechanism which works by comparing security labels with security clearances
A. Mandatory Access Control
B. Attribute Based Access Control
C. Discretionary Access Control
D. Role Based Access Control
Hint / Module Reference (Where to Read)
Identify subject, object and permitted operation before comparing policy models.
Security labels and clearances identify the mandatory policy mechanism in SEC09, elaborated for multilevel databases in SEC32. Owners cannot override that centrally enforced label policy. RBAC assigns role permissions and DAC allows owner grants; generic ABAC can evaluate attributes, but the specified clearance/classification mechanism is the named mandatory control model.
Evidence in the complete study note
Subjects request operations on objects. An ACL associates an object/resource with allowed subjects or actions; a network ACL matches traffic such as address, protocol and port. Classification and filtering are direct effects; high availability or malware detection is not guaranteed by an ACL.SEC09
DAC lets owners grant permissions; mandatory control enforces labels and policy that ordinary owners cannot override.SEC09
A multilevel database stores items at different labels and enforces mandatory policy using subject clearances, classifications and compartments.SEC32
Choice by choice
A · correct — Mandatory control compares classifications/clearances under a policy ordinary owners cannot override.
B · incorrect — ABAC evaluates general attributes; the named security-label/clearance mechanism specifically identifies mandatory control.
C · incorrect — DAC allows owners to grant permissions rather than enforcing nonoverridable classification labels.
D · incorrect — RBAC bases permissions on roles and user-role assignments rather than security-label clearance comparisons.
Question 41
An attack in which the DNS queries are wrongly resolved in order to redirect the users to a malicious website.
A. DNS Flooding attack
B. NXDomain attack
C. SNMP Reflection attack
D. DNS Hijacking attack
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Correct answer: D — DNS hijacking/spoofed resolution
Wrong name-to-address answers redirecting users match falsified DNS resolution, described as spoofing/cache poisoning in SEC05 and called hijacking in D. DNS and NXDOMAIN floods instead stress query capacity; they need not provide a malicious replacement destination. No SNMP reflection mechanism is described by the stem.
Evidence in the complete study note
Phishing impersonates a trusted source to obtain secrets or induce an unsafe action; spear phishing targets a specific person. Verify a request through an independently known channel. Shoulder surfing observes entry; pretexting invents a reason for disclosure. Monitoring software used with authorization is not necessarily an attack merely because it records activity.SEC05
DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers.SEC06
ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address.SEC05
Choice by choice
A · incorrect — DNS flooding exhausts query-processing capacity rather than specifically supplying false destination records.
B · incorrect — NXDOMAIN attacks generate nonexistent-name queries to stress resolvers, not the false successful answers described.
C · incorrect — The stem describes DNS answer manipulation, not reflected traffic using a different management protocol.
D · correct — Hijacking DNS resolution redirects a name to an attacker-controlled destination through false resolution data.
Question 42
The term injection attack refers to a wide variety of program flaws related to invalid handling of input data. Which one of the following is not a type of injection attack?
A. Cross site scripting
B. Input fuzzing
C. SQL injection
D. Command injection
Hint / Module Reference (Where to Read)
Locate where untrusted data can become instructions and where they execute.
Correct answer: B — Input fuzzing is testing, not an injection-attack category
SEC26 directly distinguishes fuzzing from injection: fuzzing varies unexpected inputs to discover defects. SQL injection changes SQL syntax and XSS introduces attacker-controlled script into a browser context. Command injection likewise names unsafe interpretation of input as commands. Fuzzing may discover those defects but does not itself identify that attack mechanism.
Evidence in the complete study note
SQL injection occurs when untrusted values alter SQL syntax through unsafe string construction. A tautology can change which rows match. Bind data values in prepared statements, allow-list identifiers that cannot be parameters, and restrict the application’s database account. Stored procedures/ORMs are safe only when they avoid unsafe dynamic SQL.SEC26
Fuzzing sends unexpected inputs to discover faults; it is a testing technique, not itself a category of injection.SEC26
This is an injection flaw in command interpretation, unlike fuzzing, which supplies varied inputs to discover defects.SEC-S01
Choice by choice
A · incorrect — XSS injects attacker-controlled script/content into a browser execution context, so it is an injection-type attack.
B · correct — Input fuzzing is a technique for finding faults with varied unexpected inputs, not an injection category.
C · incorrect — SQL injection explicitly alters query syntax through unsafe handling of untrusted values.
D · incorrect — Command injection names untrusted input interpreted as executable commands rather than merely a testing technique.
Question 43
Using the convention prover-to-verifier, which statement correctly describes the direction of an authentication setting?
A. Host-to-host authentication allows the host to prove the identity of a user
B. User-to-user authentication allows the user to prove the identity of a machine
C. User-to-host authentication allows the user to prove the identity of a machine
D. Host-to-user authentication lets the host prove its identity to the user
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
Correct answer: D — Host-to-user authentication lets the host prove its identity to the user
The arrow convention identifies the entity supplying identity proof first and the verifier second. A user-to-host exchange therefore proves the user’s identity to the host, while host-to-user proves the host’s identity to the user. The corrected final option follows that rule. The other options describe proving a different entity’s identity from the one indicated as prover, so they do not match their stated authentication setting.
Evidence in the complete study note
A common access sequence is identify the subject, authenticate the claim, authorize the operation, then record relevant events. Identification is the username/claim, not its proof. When a sequence begins with authentication, distinguish it from the preceding identification stage. User-to-host means a user proves identity to a host; host-to-user means the host proves its identity to a user; the arrow names the prover and verifier.SEC07
Choice by choice
A · incorrect — Host-to-host concerns a host proving identity to another host, not proving a user identity.
B · incorrect — User-to-user concerns a user proving identity to another user, not a machine.
C · incorrect — User-to-host proves the user’s identity, not the machine’s.
D · correct — The host is the prover and the user is the verifier, as the convention requires.
Question 44
Which one of the following is not a correct match?
A. Biba Model - Integrity
B. Bell-LaPadula Model - Confidentiality
C. Clark-Wilson Model - Confidentiality
D. Multiple Levels of Security (MLS) Model - Confidentiality
Hint / Module Reference (Where to Read)
Apply the named model's read and write restrictions separately.
Correct answer: C — Clark–Wilson protects integrity, not confidentiality
SEC10 directly gives Biba and Clark–Wilson integrity goals, and Bell–LaPadula confidentiality. SEC32 describes multilevel label enforcement for confidentiality. C therefore mismatches the model and goal; the others are compatible with the note’s defined model purposes.
Evidence in the complete study note
Bell–LaPadula protects confidentiality. The simple-security rule prohibits reading above a subject’s level; the star rule prohibits writing down. The strong-star variant permits writing only at the same level. With TS>S>C>U, an S subject can read C under the simple rule but cannot write C under star; compartments and discretionary restrictions may still deny access.SEC10
Clark–Wilson protects integrity through certified well-formed transformations, integrity checks and separation of duties.SEC10
It is not a confidentiality model. “MAC” is an enforcement category and does not force every system to use Bell–LaPadula rather than another label policy.SEC10
Choice by choice
A · incorrect — Biba is an integrity model, so this pairing is correct rather than the requested mismatch.
B · incorrect — Bell–LaPadula protects confidentiality, making this pairing correct.
C · correct — Clark–Wilson enforces integrity through well-formed transformations and separation of duties, not confidentiality.
D · incorrect — Multilevel label restrictions can protect confidentiality, as SEC32 explains.
Question 45
What is the first step of access control?
A. Subject identification
B. ACL verification
C. Subject authorization
D. Accountability logging
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
PDF p.4 says users must be identified and authenticated for access; p.11 then describes authorization of operations. Identification supplies the claimed subject before checking identity and permissions.
Evidence in the complete study note
A common access sequence is identify the subject, authenticate the claim, authorize the operation, then record relevant events. Identification is the username/claim, not its proof. When a sequence begins with authentication, distinguish it from the preceding identification stage. User-to-host means a user proves identity to a host; host-to-user means the host proves its identity to a user; the arrow names the prover and verifier.SEC07
Choice by choice
A · correct — Subject identification supplies the identity on which subsequent checks operate. See PDF p.4, PDF p.11.
B · incorrect — ACL checking requires knowing the subject and request first. See PDF p.4, PDF p.11.
C · incorrect — Authorization decides permitted operations after the identity is established. See PDF p.4, PDF p.11.
D · incorrect — Accountability records actions and does not establish the initial identity. See PDF p.4, PDF p.11.
Question 46
Which of the following is not a reason why using passwords alone is a poor security mechanism?
A. Short passwords can be discovered quickly in brute force attacks only when used against a stolen password database file.
B. When possible, users choose easy-to-remember passwords, which are therefore easy to guess or crack.
C. Passwords can be stolen through many means, including observation, recording and playback, and security database theft.
D. Randomly generated passwords are hard to remember, thus many users write them down.
Hint / Module Reference (Where to Read)
Consider what the attacker can guess or steal, or which component validates a claim.
Correct answer: A — The “only” restriction to stolen-database brute force is false
The negative stem asks which offered reason is not valid. A incorrectly restricts brute-force exposure of short passwords to stolen database files. SEC08 explicitly permits failure in online as well as offline settings, subject to rate limits. Guessable choices, theft and insecure recording are legitimate password-only weaknesses rather than exclusive claims.
Evidence in the complete study note
Brute force enumerates guesses; dictionary attacks prioritize likely words; credential stuffing tries previously leaked credentials on another service. Online attempts face server rate limits; offline attacks against stolen verifiers do not. Short passwords can fail in either setting. Use unique long secrets and password managers, rate limiting and suitable MFA; store salted slow password hashes, not reversible plaintext passwords. A salt prevents shared precomputed lookup, but is not secret.SEC08
Shoulder surfing observes entry; pretexting invents a reason for disclosure.SEC05
ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address.SEC05
Choice by choice
A · correct — Short passwords can be attacked online too; only against a stolen database is an unjustified restriction.
B · incorrect — Predictable memorable choices enable likely-word guessing, a real weakness of password-only security.
C · incorrect — Observed entry and stolen verifiers are real exposure paths, consistent with the note’s password and monitoring threats.
D · incorrect — Difficulty remembering random secrets can encourage unsafe recording; password managers address that operational weakness.
Question 47
Which one of the following is a measure taken to ensure information and information systems'
availability, integrity, authentication and confidentiality?
A. Wiretapping
B. Information security
C. Information assurance
D. Interception
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
PDF p.2 explicitly defines IA as measures protecting information and systems by ensuring availability, integrity, authentication, confidentiality and non-repudiation. This matches the stem’s list most closely.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Non-repudiation supplies evidence supporting origin or receipt; signatures do not make denial physically impossible.SEC01
Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle.SEC01
Choice by choice
A · incorrect — Wiretapping is an interception behavior, not an assurance measure. See PDF p.2.
B · incorrect — InfoSec is related but the exact enumerated measures definition is assigned to IA. See PDF p.2.
C · correct — Information assurance matches the module’s definition almost verbatim. See PDF p.2.
D · incorrect — Interception compromises confidentiality rather than ensuring these properties. See PDF p.2.
Question 48
Which one of the following is a security service enforced to protect disclosure of information
(stored in file or in transmission) from unauthorized entities?
A. Authentication
B. Integrity
C. Availability
D. Confidentiality
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Unauthorized disclosure of stored or transmitted information is precisely the confidentiality concern (PDF p.3), independent of storage location.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Choice by choice
A · incorrect — Authentication proves identity, not disclosure restrictions. See PDF p.3, PDF p.4.
B · incorrect — Integrity protects against unauthorized changes. See PDF p.3, PDF p.4.
C · incorrect — Availability protects timely access. See PDF p.3, PDF p.4.
D · correct — Confidentiality prevents unauthorized disclosure. See PDF p.3, PDF p.4.
Question 49
Which general security-control category creates a protected network boundary by enforcing allow/block traffic rules for a group of machines?
A. Network operating system
B. Firewall
C. Router used only for forwarding, without security filtering
D. Switch used only for forwarding, without security filtering
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
A network firewall protects a group of machines by enforcing traffic policy at a boundary. The decisive function is allowing or blocking traffic under security rules. A network operating system is not the name of that specific policy-enforcement role. The other two alternatives are explicitly limited to forwarding without security filtering, so their connectivity functions do not meet the requirement. Actual routers, switches or proxies can include firewall capabilities; the stated scope prevents that implementation overlap from making the choices ambiguous.
Evidence in the complete study note
A firewall enforces traffic policy.SEC23
Host firewalls protect individual machines; network firewalls segment networks and can create a DMZ for public-facing services.SEC23
A router forwards IP packets between networks; forwarding alone is different from detecting suspicious behavior or enforcing a firewall's security policy.SEC-S03
Choice by choice
A · incorrect — Incorrect: a network operating system does not name the specific boundary traffic-policy function requested.
B · correct — Correct: a firewall enforces the allow/block rules protecting the group.
C · incorrect — Incorrect: the explicitly forwarding-only router does not perform the required security filtering.
D · incorrect — Incorrect: the explicitly forwarding-only switch does not perform the required security filtering.
Question 50
Which one of the following best explains attackers who are motivated by financial gain and
perform sabotage, IP theft and steal secrets of a rival company?
A. Stealer
B. Competitor
C. Hacktivist
D. Activist
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
The rival-company context and commercial-secret theft identify a competitor’s motive, as SEC03 states. Financial gain alone could describe many attackers, but the specific rival-company relationship distinguishes B. Hacktivists/activists pursue a cause, while stealer is a generic activity label rather than the specified commercial relationship.
Evidence in the complete study note
White-hat testing requires authorization and scope; black-hat activity is malicious or unauthorized. A competitor may seek commercial secrets; hacktivists pursue a cause. “Hacker” alone does not establish legality. Insider versus outsider describes origin/trust position, not the specific mechanism.SEC03
Choice by choice
A · incorrect — Stealer describes taking information but does not identify the rival-company commercial motive.
B · correct — A competitor can seek commercial secrets and advantage over a rival company.
C · incorrect — Hacktivist motivation is a cause rather than the specified commercial competition.
D · incorrect — An activist pursues a cause; the scenario instead identifies a financially motivated rival-company interest.
Question 51
Against an attacker whose only access is direct communication over the public Internet, which computer removes that attack path? Assume the disconnected computer has no Internet-reachable intermediary or other network route to the attacker.
A. A computer connected to the Internet with the latest firewall system
B. A computer connected to the Internet having strong intrusion detection
C. A computer that is not connected to the Internet
D. A computer connected to the Internet and the latest anti-virus installed on it
Hint / Module Reference (Where to Read)
Start with the stated attacker path or physical hazard and the limits of each control.
Correct answer: C — A computer that is not connected to the Internet
Disconnecting removes the Internet communication path available to the specified attacker. Firewalls, intrusion detection and antivirus can reduce particular risks, but they do not remove the fact that the other choices remain connected. The conclusion is deliberately limited to that attack path: the disconnected system can still face insiders, removable media or physical threats. Those are excluded from this scenario rather than silently treated as impossible.
Evidence in the complete study note
Protect equipment against theft, unauthorized connections, heat, humidity, water, electrical surges and fire. A UPS supplies temporary conditioned power; it is normally protective, but faulty installation/battery failure can itself be hazardous. A disconnected machine loses many network attack paths yet remains exposed to insiders, removable media, supply-chain attacks and physical access. There is no universal “most secure computer” without a threat model.SEC11
Bypass paths, insiders, encrypted uninspected content and infected removable media limit firewall protection.SEC23
Host firewalls protect individual machines; network firewalls segment networks and can create a DMZ for public-facing services.SEC23
Choice by choice
A · incorrect — A firewall-equipped Internet connection still exposes an Internet communication path.
B · incorrect — Intrusion detection observes activity but does not remove connectivity.
C · correct — The stated disconnected system has no path available to this attacker.
D · incorrect — Antivirus does not remove the Internet communication path.
Question 52
Suppose you have received a message from your friend but the message is scrambled for
security. Your friend used a program to encode messages into scrambled text. In order to read the message,
which program would you use?
A. Encryption program
B. Ciphertext
C. Secret key
D. Decryption program
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
The received message is ciphertext; recovering its readable plaintext is deciphering/decryption on PDF p.6. The question asks for the program carrying out that inverse operation.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Security depends on algorithm, key size, randomness, mode and implementation.SEC12
Assume the algorithm is known and protect keys: secrecy of implementation is not the main security argument.SEC12
Choice by choice
A · incorrect — Encryption converts plaintext into ciphertext, the opposite direction. See PDF p.6.
B · incorrect — Ciphertext is data, not the recovery program. See PDF p.6.
C · incorrect — A secret key may be an input but is not a program. See PDF p.6.
D · correct — A decryption program performs plaintext recovery. See PDF p.6.
Question 53
Which network security issue shows the level of weakness in networks and devices?
A. Attack
B. Availability
C. Vulnerability
D. Treat
Hint / Module Reference (Where to Read)
Distinguish weaknesses, potential harmful events, actual attempts and the effect of a control.
A vulnerability is an exploitable weakness or fault in an information system or component (PDF p.3). The question asks about weakness, not the attack event or service goal.
Evidence in the complete study note
An asset is something valuable: data, software, hardware, service or reputation. A threat is a potentially harmful circumstance; a vulnerability is an exploitable weakness; an attack is an actual attempt; a control reduces likelihood or impact. A software flaw is not automatically an active attack. Risk concerns likelihood and consequence, not a universally meaningful numeric product of two unmeasured labels.SEC02
Choice by choice
A · incorrect — Attack is an actual security violation. See PDF p.3.
B · incorrect — Availability is a goal of usable access. See PDF p.3.
C · correct — Vulnerability is the defined weakness. See PDF p.3.
D · incorrect — Treat appears to mean threat, a potential harmful circumstance rather than the weakness. See PDF p.3.
Question 54
Which one is a method used to obtain the meaning of encrypted information without access to
the secret key?
A. Cryptography
B. Crypto-analysis
C. Decryption
D. Encryption
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
Obtaining meaning without the secret key matches cryptanalysis, which the module explicitly contrasts with ordinary decryption (PDF p.6).
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Symmetric cryptography is not inherently less secure than public-key cryptography, and speed ratios are not fixed constants.SEC12
Security depends on algorithm, key size, randomness, mode and implementation.SEC12
Choice by choice
A · incorrect — Cryptography studies encryption methods rather than without-key breaking. See PDF p.6.
B · correct — Crypto-analysis matches breaking ciphertext without knowing the key. See PDF p.6.
C · incorrect — Decryption describes plaintext recovery but lacks the no-key distinction. See PDF p.6.
D · incorrect — Encryption produces ciphertext rather than recovering meaning. See PDF p.6.
Question 55
Which one of the following IS NOT a concern of availability?
A. Fault Tolerance
B. Alteration of resources
C. Usefulness of resources
D. Fair allocation of resources
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Availability means timely, reliable, usable access for authorized users (PDF p.3). Altering resources is instead the integrity issue; fault tolerance, usability and fair allocation can support continued access.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Accountability links actions to responsible entities through reliable identity and protected logs.SEC01
Choice by choice
A · incorrect — Fault tolerance supports reliable service, consistent with availability. See PDF p.3.
B · correct — Unauthorized alteration belongs to integrity rather than the access/continuity goal. See PDF p.3.
C · incorrect — Useful/usable resources are expressly part of availability. See PDF p.3.
D · incorrect — Fair allocation supports access for authorized users rather than denying service. See PDF p.3.
Question 56
Person A sends a message to person B. While the message is transmitted, person C gains
access to the message. Which category of attack is performed by person C?
A. Modification
B. Interception
C. Interruption
D. Fabrication
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
C gains unauthorized access to the message in transit without any stated alteration, destruction or insertion. PDF p.4 calls this disclosure/interception.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Neither category is universally easy to prevent or detect.SEC03
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
Choice by choice
A · incorrect — No message change is specified. See PDF p.4.
B · correct — Unauthorized message access matches interception. See PDF p.4.
C · incorrect — No loss of service is specified. See PDF p.4.
D · incorrect — No fake message is inserted. See PDF p.4.
Question 57
Which one of the following terms refers to the techniques used for deciphering ciphertext
without any knowledge of the enciphering mechanism?
A. Cryptography
B. Cryptology
C. Cryptoanalysis
D. Decryption
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
The qualifier without knowledge distinguishes cryptanalysis from ordinary deciphering in PDF p.6. Cryptology includes both protective methods and codebreaking, but is not the specific technique requested.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Symmetric cryptography is not inherently less secure than public-key cryptography, and speed ratios are not fixed constants.SEC12
Security depends on algorithm, key size, randomness, mode and implementation.SEC12
Choice by choice
A · incorrect — Cryptography studies encryption principles. See PDF p.6.
B · incorrect — Cryptology is the umbrella field including cryptography and cryptanalysis. See PDF p.6.
C · correct — Cryptoanalysis is the offered spelling of the without-key codebreaking concept. See PDF p.6.
D · incorrect — Decryption is ordinary plaintext recovery, not specifically without secret knowledge. See PDF p.6.
Question 58
In asymmetric cryptography, the message is decrypted using ______.
A. Receiver's public key
B. Receiver's private key
C. Sender's private key
D. Sender's public key
Hint / Module Reference (Where to Read)
Identify the intended recipient or signer and separate confidentiality from verification.
For confidential public-key transmission, encryption uses the receiver’s public key and decryption the receiver’s private key (PDF p.8). The answer follows that communication model.
Evidence in the complete study note
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key. Do not encrypt to A’s public key if only B should read it, and never assume A possesses B’s private key. For a signature, A signs with A’s private signing key and others verify with A’s public key. These are distinct operations; not every public-key algorithm supports encryption.SEC18
For one-way public-key confidentiality the sender need not own a key pair; it needs the recipient’s authenticated public encryption key.SEC18
A sender key pair is needed when the protocol requires its signature or separate recipient role.SEC18
Choice by choice
A · incorrect — Receiver’s public key performs encryption in this model. See PDF p.8.
B · correct — Receiver’s private key performs decryption. See PDF p.8.
C · incorrect — Sender’s private key is not the recipient decryption key. See PDF p.8.
D · incorrect — Sender’s public key belongs to signature verification, not confidential recipient decryption. See PDF p.8.
Question 59
Which one of the following cryptography systems uses the same key for encryption and
decryption?
A. Public key cryptography
B. Parallel cryptography
C. Asymmetric cryptography
D. Symmetric cryptography
Hint / Module Reference (Where to Read)
Distinguish shared-key architecture, key distribution and bulk-data use.
PDF p.7 defines symmetric encryption as use of the same shared key for both directions; p.8 contrasts the public/private pair.
Evidence in the complete study note
Symmetric encryption uses a shared secret and efficiently protects bulk data. Pairwise independent keys for n users require n(n-1)/2 shared keys; a trusted key distribution center changes that architecture. A session key is temporary for a communication context; a master/key-encryption key protects subordinate keys. Distribute keys physically, via an authenticated protected channel, or through a trusted third party. An uncompromised old key can protect a new key, although this does not restore secrecy after the old key is stolen.SEC16
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key.SEC18
For a signature, A signs with A’s private signing key and others verify with A’s public key.SEC18
Choice by choice
A · incorrect — Public-key cryptography uses a key pair. See PDF p.7, PDF p.8.
B · incorrect — Parallel cryptography is not a same-key class in the module. See PDF p.7, PDF p.8.
C · incorrect — Asymmetric cryptography uses different paired keys. See PDF p.7, PDF p.8.
D · correct — Symmetric cryptography explicitly uses the same shared key. See PDF p.7, PDF p.8.
Question 60
The first step in access control is ________.
A. Audit
B. Authorization
C. Accreditation
D. Authentication
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
The module requires identification and authentication before access and says NAC authenticates users then determines access/actions (PDF pp.4,11). Among these options authentication is the prerequisite, though identification would precede it if offered.
Evidence in the complete study note
A common access sequence is identify the subject, authenticate the claim, authorize the operation, then record relevant events. Identification is the username/claim, not its proof. When a sequence begins with authentication, distinguish it from the preceding identification stage. User-to-host means a user proves identity to a host; host-to-user means the host proves its identity to a user; the arrow names the prover and verifier.SEC07
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Accountability links actions to responsible entities through reliable identity and protected logs.SEC01
Choice by choice
A · incorrect — Audit records events rather than first proving identity. See PDF p.4, PDF p.11.
B · incorrect — Authorization determines allowed operations for an established identity. See PDF p.4, PDF p.11.
C · incorrect — Accreditation is not the identity-checking step defined in the module. See PDF p.4, PDF p.11.
D · correct — Authentication is the earliest listed access-control step. See PDF p.4, PDF p.11.
Question 61
A firewall is used in a system connected to a wide area network to
A. Stop unauthorized access by hackers
B. Scanning for viruses in various files
C. Avoid spreading of fire in the network
D. Fire spreading via network through cables
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Correct answer: A — Stop unauthorized access by hackers
A firewall filters protected-network access to keep intruders out (PDF p.11). This is a logical security boundary, not a fire-suppression device.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
A disconnected machine loses many network attack paths yet remains exposed to insiders, removable media, supply-chain attacks and physical access.SEC11
Ransomware denies access through encryption/locking and extortion.SEC04
Choice by choice
A · correct — Stopping unauthorized network access is an explicit objective.
B · incorrect — File virus scanning is not the general firewall function.
C · incorrect — Physical fire spread is unrelated to packet filtering.
D · incorrect — Fire through cables is unrelated to the stated network security role.
Question 62
Within OAuth, what component validates the user's identity?
A. "Gre. Authorization Server
B. Resource Server
C. d Oc. Client
D. Browser
Hint / Module Reference (Where to Read)
Consider what the attacker can guess or steal, or which component validates a claim.
SEC08 assigns resource-owner authentication/approval to the authorization server, which may delegate identity checks. The resource server checks access tokens for protected resources; the client seeks limited access and the browser is a user agent. OAuth is authorization rather than a complete login identity protocol, but A is the matching component role under the described flow.
Evidence in the complete study note
OAuth is an authorization framework: a client obtains limited access tokens, the authorization server authenticates/obtains approval from the resource owner, and the resource server validates tokens for protected data. The authorization server can delegate identity checks. OAuth alone does not define a complete end-user login identity protocol; OpenID Connect adds an identity layer.SEC08
Choice by choice
A · correct — The authorization server authenticates the resource owner or delegates that check and obtains approval.
B · incorrect — The resource server validates access tokens for protected data rather than being the owner-authentication component.
C · incorrect — The client requests limited access; it is not the trusted identity-validation role defined here.
D · incorrect — The browser carries user interaction and redirects but is not the authorization server’s authentication authority.
Question 63
Which protocol is specifically designed for secure remote login and remote command execution between a local client and a remote computer over an untrusted network?
A. Authentication, Authorization and Accounting (AAA)
B. Simple Network Management Protocol (SNMP)
C. Secure Shell (SSH)
D. Secure socket layer (SSL)
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
SSH provides secure remote login, command execution and related services over an untrusted network. SSL and its successor TLS provide protected channels but do not by themselves define the remote-login and command-execution service requested here. AAA names authentication, authorization and accounting functions rather than a remote-shell protocol. SNMP supplies network-management functions. Specifying the service, rather than merely a secure local-to-remote channel, makes SSH the unique answer among these choices.
Evidence in the complete study note
SSH protects remote login, commands and file transfer such as SFTP; it supports host keys and several client-authentication methods.SEC22
AAA names authentication, authorization and accounting functions, rather than a particular remote-shell channel. SSH expands to Secure Shell and provides secure remote login and related network services. PGP expands to Pretty Good Privacy; its message-protection design combines conventional and public-key encryption with digital signatures. Protocol purpose matters when several technologies all contribute to security.SEC-S03
TLS succeeds obsolete SSL and supplies an authenticated protected channel.SEC21
Choice by choice
A · incorrect — AAA describes authentication, authorization and accounting functions, not a remote-login protocol.
B · incorrect — SNMP provides device-management functions rather than the requested remote-login and command-execution service.
C · correct — Correct: SSH directly provides secure remote login and remote command execution.
D · incorrect — SSL/TLS protects communication channels but does not itself specify the requested remote-shell service.
Question 64
Which of the following refers to unauthorized disclosure of information?
A. Integrity
B. Authorization
C. Confidentiality
D. Authentication
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Correct answer: C — Confidentiality is the property violated by unauthorized disclosure
SEC01 defines confidentiality as restricting disclosure, so unauthorized disclosure is a breach of that property. Integrity concerns improper changes, authorization determines permitted operations and authentication establishes claims. The answer names the affected security goal rather than calling unauthorized disclosure itself a protective mechanism.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Accountability links actions to responsible entities through reliable identity and protected logs.SEC01
Choice by choice
A · incorrect — Integrity restricts improper changes, not disclosure of unchanged information.
B · incorrect — Authorization decides which actions are permitted rather than naming the secrecy property harmed.
C · correct — Confidentiality restricts disclosure and is directly violated when information is revealed without authorization.
D · incorrect — Authentication establishes identity/claims rather than defining protection against disclosure.
Question 65
Which benefit follows directly from network ACL match-and-permit/deny rules, independently of optional traffic counters or malware-inspection features?
A. Virus detection.
B. ACLs classify and organize network traffic.
C. ACLs provide high network availability.
D. ACLs monitor the number of bytes and packets.
Hint / Module Reference (Where to Read)
Identify subject, object and permitted operation before comparing policy models.
Correct answer: B — ACLs classify and organize network traffic.
A network ACL matches traffic attributes such as addresses, protocols and ports and applies permission rules. Distinguishing the matching packet groups directly supports the offered classification and organization benefit. Malware inspection is a separate detection function, and a permission list does not guarantee high availability. An implementation may attach counters to rules, but those optional measurement features are outside the basic ACL permission function specified here. B is the direct consequence of that function.
Evidence in the complete study note
Subjects request operations on objects. An ACL associates an object/resource with allowed subjects or actions; a network ACL matches traffic such as address, protocol and port. Classification and filtering are direct effects; high availability or malware detection is not guaranteed by an ACL.SEC09
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
Choice by choice
A · incorrect — Incorrect: matching permission rules is not malware-content detection.
B · correct — Correct: matching packet conditions distinguishes traffic groups for permit/deny treatment.
C · incorrect — Incorrect: a permission list does not by itself guarantee continued service availability.
D · incorrect — Incorrect: byte/packet counters are optional measurement features, excluded from the basic permission-rule function asked about.
Question 66
Which of the following is not an approach used by IT security specialists to enhance the security level of the network?
A. Use of Intrusion detection system
B. Use of Intrusion prevention system
C. Use of Wana cry protocol
D. Use of physical security
Hint / Module Reference (Where to Read)
Distinguish a malicious-software name from a defensive control's function.
Correct answer: C — “Wana cry protocol” is not a defensive security approach
IDS, IPS and physical controls are legitimate security approaches in SEC24 and SEC11. The option called “Wana cry protocol” supplies no defensive mechanism; treating a ransomware-like name as a security protocol is unsupported. SEC04 defines ransomware as denial/extortion, the opposite of a protective approach. Therefore C is the exception rather than a new protocol endorsed here.
Evidence in the complete study note
WannaCry, also known as WannaCrypt, is ransomware with worm-like propagation. It encrypts files and demands payment to restore access. Its name identifies malicious software rather than a network-security protocol. Malware names must be distinguished from defensive controls such as intrusion detection, intrusion prevention and physical protection.SEC-S02
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
Protect equipment against theft, unauthorized connections, heat, humidity, water, electrical surges and fire.SEC11
Choice by choice
A · incorrect — An IDS observes and alerts on suspicious activity, a legitimate detective security approach.
B · incorrect — An IPS can enforce blocking and is a legitimate preventive security approach.
C · correct — The offered name establishes no security protocol or protective mechanism; ransomware is harmful rather than defensive.
D · incorrect — Physical protection against unauthorized access and environmental hazards is an explicit security-control category.
Question 67
What is the primary goal of computer security?
A. Confidentiality
B. Integrity
C. Availability
D. All of the above
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
The module explicitly defines computer security around all three objectives confidentiality, integrity and availability (PDF p.2). Choosing only one omits other primary goals.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Choice by choice
A · incorrect — Confidentiality is included but incomplete alone. See PDF p.2.
B · incorrect — Integrity is included but incomplete alone. See PDF p.2.
C · incorrect — Availability is included but incomplete alone. See PDF p.2.
D · correct — All three comprise the stated CIA objective set. See PDF p.2.
Question 68
What is the term used for a software program that attempts to gain unauthorized access to
computer systems?
A. Firewall
B. Malware
C. Encryption
D. VPN
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
PDF p.5 calls software with malicious purpose malware and describes intrusion as attempted unauthorized access. A malicious program seeking unauthorized access therefore fits the broad malware class.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
Malware is the umbrella term, not a specific replication method.SEC04
Ransomware denies access through encryption/locking and extortion.SEC04
Choice by choice
A · incorrect — Firewall is a protective filtering mechanism, not the malicious program. See PDF p.5.
B · correct — Malware is the umbrella for software with malicious purpose. See PDF p.5.
C · incorrect — Encryption is a transformation for protected communication, not a malicious program class. See PDF p.5.
D · incorrect — VPN is named as an application, not the malicious-software category. See PDF p.5.
Question 69
What is the practice of hiding confidential data within other data called?
A. Encryption
B. Decryption
C. Steganography
D. Intrusion detection
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
Hiding confidential data inside another data object aims to conceal the message’s existence. SEC12 calls that steganography and distinguishes it from encryption, which conceals meaning while leaving ciphertext observable. Decryption reverses encryption, and intrusion detection observes suspicious activity rather than embedding a hidden message.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior.SEC24
Choice by choice
A · incorrect — Encryption conceals message meaning rather than specifically hiding its existence within another carrier.
B · incorrect — Decryption recovers plaintext from ciphertext; it does not embed a hidden message.
C · correct — Steganography conceals a message’s existence by hiding it within other data.
D · incorrect — Intrusion detection observes and alerts about suspicious activity instead of hiding confidential content.
Question 70
Which of the following authentication methods verifies a user's identity based on a unique
physical characteristic?
A. Password authentication
B. Biometric authentication
C. Token authentication
D. Two-factor authentication
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
The module identifies face, retina, iris and fingerprint as biometrics (PDF p.11), and gives retina scanning as identity proof (p.4). A unique physical characteristic therefore selects biometrics.
Evidence in the complete study note
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint. Behavioral biometrics include typing rhythm or handwriting; some textbooks call these “something one does.” A body characteristic is not “three-factor authentication”: one biometric is one factor. Password plus PIN remains one factor class; card plus PIN is two. An OTP’s factor depends on its delivery/generation mechanism.SEC07
Choice by choice
A · incorrect — Password authentication uses supplied secret knowledge, not a physical body trait. See PDF p.4, PDF p.11.
B · correct — Biometric authentication uses the listed bodily examples. See PDF p.4, PDF p.11.
C · incorrect — Physical tokens are cards, distinguished from biometrics. See PDF p.4, PDF p.11.
D · incorrect — Two-factor counts combined factors and does not name the body-trait method. See PDF p.4, PDF p.11.
Question 71
What is the process of converting plaintext into ciphertext called?
A. Encryption
B. Decryption
C. Hashing
D. Key exchange
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
PDF p.6 directly defines encryption/enciphering as conversion of plaintext to ciphertext. Hashing instead produces a fixed-size digest (p.10).
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
A cryptographic hash maps arbitrary-length input to a fixed-length digest.SEC20
Authenticate the exchange and derive separate traffic keys.SEC18
Choice by choice
A · correct — Encryption exactly names the forward conversion. See PDF p.6, PDF p.10.
B · incorrect — Decryption is the reverse conversion. See PDF p.6, PDF p.10.
C · incorrect — Hashing produces a digest rather than the defined ciphertext representation. See PDF p.6, PDF p.10.
D · incorrect — Key exchange distributes/agrees keys rather than converting this message. See PDF p.6, PDF p.10.
Question 72
Which vulnerability writes beyond an allocated buffer and may thereby allow arbitrary code execution on the target system?
A. Phishing
B. Buffer overflow
C. SQL injection
D. Cross-site scripting
Hint / Module Reference (Where to Read)
Identify the unsafe operation or input boundary rather than only a possible consequence.
The decisive mechanism is an out-of-bounds write to a buffer. That is a buffer overflow, which can corrupt data or control information and may lead to code execution. Arbitrary code execution alone would not uniquely identify it. Phishing relies on deceptive interaction, SQL injection changes query syntax and XSS executes attacker script in a victim browser. The added memory-write condition distinguishes the mechanisms without claiming every overflow executes code.
Evidence in the complete study note
A buffer overflow writes beyond allocated bounds and can corrupt data or control information; code execution is a possible consequence, not its definition or an inevitable outcome. An array of eight bytes cannot store eight text characters plus a terminating zero. Bounds-check lengths and indexes, consider integer overflow, use safe abstractions and validate library return values. Canaries, non-executable memory and address randomization reduce exploitability but do not repair the underlying write.SEC25
XSS causes attacker-controlled script to execute in a victim’s browser under the site’s origin.SEC26
SQL injection occurs when untrusted values alter SQL syntax through unsafe string construction.SEC26
Choice by choice
A · incorrect — Phishing deceives a user rather than defining an out-of-bounds memory write.
B · correct — A buffer overflow is the specified write beyond allocated bounds.
C · incorrect — SQL injection changes SQL syntax through unsafe input construction.
D · incorrect — XSS concerns attacker script execution in a victim browser’s site context.
Question 73
Which of the following is an example of a social engineering attack?
A. Denial-of-Service (DoS) attack
B. Distributed Denial-of-Service (DDoS) attack
C. Phishing attack
D. Brute-force attack
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
SEC05 defines phishing through deception: impersonating a trusted source to obtain secrets or prompt unsafe actions. That is social engineering. DoS/DDoS describe service disruption and brute force describes repeated credential guesses; neither requires the deceptive human interaction that distinguishes the requested example.
Evidence in the complete study note
Phishing impersonates a trusted source to obtain secrets or induce an unsafe action; spear phishing targets a specific person. Verify a request through an independently known channel. Shoulder surfing observes entry; pretexting invents a reason for disclosure. Monitoring software used with authorization is not necessarily an attack merely because it records activity.SEC05
Brute force enumerates guesses; dictionary attacks prioritize likely words; credential stuffing tries previously leaked credentials on another service.SEC08
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses.SEC06
Choice by choice
A · incorrect — DoS exhausts or disables a service; that mechanism is not inherently social deception.
B · incorrect — DDoS distributes service-disruption traffic and does not specifically describe manipulating a person.
C · correct — Phishing deceives a user through trusted-source impersonation to induce disclosure or unsafe action.
D · incorrect — Brute force enumerates credential guesses rather than persuading a person through impersonation.
Question 74
What is the purpose of a firewall in computer security?
A. To encrypt network traffic
B. To monitor and control network traffic
C. To detect and remove malware
D. To authenticate users
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Correct answer: B — To monitor and control network traffic
PDF p.11 explicitly assigns monitoring and controlling incoming/outgoing traffic under security rules to firewalls. Encryption and identity proof are different operations.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
User-to-host means a user proves identity to a host; host-to-user means the host proves its identity to a user; the arrow names the prover and verifier.SEC07
When a sequence begins with authentication, distinguish it from the preceding identification stage.SEC07
Choice by choice
A · incorrect — Traffic encryption is not the firewall definition. See PDF p.4, PDF p.11.
B · correct — Monitoring and controlling traffic is the exact stated role. See PDF p.4, PDF p.11.
C · incorrect — Keeping malicious code out is an objective, not a general ability to detect and remove installed malware. See PDF p.4, PDF p.11.
D · incorrect — User authentication is a separate identity-proof operation. See PDF p.4, PDF p.11.
Question 75
A login already uses a password. Which listed input can add an independent possession factor when generated by a separate token controlled by the user?
A. Username
B. Password
C. Security question
D. One-time password (OTP)
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
A password supplies knowledge. A one-time password generated by a separate user-controlled token can supply possession, making the combination two-factor under the stated mechanism. Another password or secret security-question answer remains knowledge rather than adding an independent class. A username identifies the subject but is not proof. Specifying how the OTP is generated matters because an OTP’s factor class does not follow from the word one-time alone.
Evidence in the complete study note
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint. Behavioral biometrics include typing rhythm or handwriting; some textbooks call these “something one does.” A body characteristic is not “three-factor authentication”: one biometric is one factor. Password plus PIN remains one factor class; card plus PIN is two. An OTP’s factor depends on its delivery/generation mechanism.SEC07
Choice by choice
A · incorrect — A username identifies the subject and is not possession proof.
B · incorrect — Another password remains a knowledge factor.
C · incorrect — A secret answer is another knowledge input, not an independent possession class.
D · correct — A separately controlled token generating the OTP supplies possession under the assumption.
Question 76
What is the term for a malicious activity where an attacker tries all possible combinations of
passwords to gain unauthorized access?
A. Brute-force attack
B. Denial-of-Service (DoS) attack
C. SQL injection
D. Man-in-the-middle (MITM) attack
Hint / Module Reference (Where to Read)
Consider what the attacker can guess or steal, or which component validates a claim.
The module defines brute force as trying every possible key and separately names password guessing (PDF p.5). Applying that exhaustive-search method to all password combinations yields a brute-force password attack.
Evidence in the complete study note
Brute force enumerates guesses; dictionary attacks prioritize likely words; credential stuffing tries previously leaked credentials on another service. Online attempts face server rate limits; offline attacks against stolen verifiers do not. Short passwords can fail in either setting. Use unique long secrets and password managers, rate limiting and suitable MFA; store salted slow password hashes, not reversible plaintext passwords. A salt prevents shared precomputed lookup, but is not secret.SEC08
Monitoring software used with authorization is not necessarily an attack merely because it records activity.SEC05
SQL injection occurs when untrusted values alter SQL syntax through unsafe string construction.SEC26
Choice by choice
A · correct — Exhaustive possible-combination testing is the brute-force method. See PDF p.5.
B · incorrect — DoS blocks access rather than exhaustively guessing a secret. See PDF p.5.
C · incorrect — SQL injection is not an exhaustive-password-search method in the module. See PDF p.5.
D · incorrect — A man-in-the-middle is not the stated exhaustive-search process. See PDF p.5.
Question 77
Which statement defines a buffer overflow by its underlying memory-write mechanism, rather than merely naming a possible consequence?
A. A vulnerability that allows unauthorized access to a system's memory
B. A vulnerability that allows attackers to intercept network traffic
C. A vulnerability in which a write exceeds an allocated buffer’s bounds
D. A vulnerability that allows unauthorized access to a system's files
Hint / Module Reference (Where to Read)
Identify the unsafe operation or input boundary rather than only a possible consequence.
Correct answer: C — A vulnerability in which a write exceeds an allocated buffer’s bounds
A buffer overflow is defined by writing beyond an allocated buffer’s bounds. That unsafe write can corrupt data or control information, and code execution is possible but not inevitable. Generic unauthorized memory or file access describes broader outcomes, while interception of network traffic describes a different kind of activity. The choice identifies the mechanism; the question asks for a definition rather than a consequence.
Evidence in the complete study note
A buffer overflow writes beyond allocated bounds and can corrupt data or control information; code execution is a possible consequence, not its definition or an inevitable outcome. An array of eight bytes cannot store eight text characters plus a terminating zero. Bounds-check lengths and indexes, consider integer overflow, use safe abstractions and validate library return values. Canaries, non-executable memory and address randomization reduce exploitability but do not repair the underlying write.SEC25
Choice by choice
A · incorrect — Generic unauthorized memory access is broader than the specific out-of-bounds write.
B · incorrect — Network interception is not the defining write mechanism.
C · correct — This states the defining write beyond allocated buffer bounds.
D · incorrect — Unauthorized file access is a possible harm rather than the definition.
Question 78
Which statement defines SQL injection by its mechanism rather than merely describing a possible security consequence?
A. A vulnerability that allows attackers to intercept network traffic
B. A vulnerability that allows attackers to execute arbitrary code
C. A vulnerability that allows unauthorized access to a system's memory
D. Untrusted input changes SQL syntax through unsafe query construction
Hint / Module Reference (Where to Read)
Locate where untrusted data can become instructions and where they execute.
Correct answer: D — Untrusted input changes SQL syntax through unsafe query construction
SQL injection occurs when untrusted values become part of SQL syntax through unsafe query construction. That can change query behavior or expose protected records, but unauthorized database access alone does not define the flaw. Network interception and memory access are other broad harms, and arbitrary code execution can occur through multiple mechanisms. The choice identifies the query-syntax boundary that parameter binding is intended to protect.
Evidence in the complete study note
SQL injection occurs when untrusted values alter SQL syntax through unsafe string construction. A tautology can change which rows match. Bind data values in prepared statements, allow-list identifiers that cannot be parameters, and restrict the application’s database account. Stored procedures/ORMs are safe only when they avoid unsafe dynamic SQL.SEC26
Use safe text insertion and context-specific encoding; carefully sanitize allowed HTML.SEC26
Choice by choice
A · incorrect — Network interception does not define unsafe SQL construction.
B · incorrect — Code execution is a broad possible consequence rather than the SQL-specific mechanism.
C · incorrect — Unauthorized memory access does not identify the query-syntax boundary.
D · correct — This states how untrusted input changes SQL command structure.
Question 79
Which statement defines cross-site scripting by its execution context, rather than merely naming one possible effect?
A. A vulnerability that allows unauthorized access to a system's memory
B. Attacker-controlled script executes in a victim’s browser under the vulnerable site’s origin
C. A vulnerability that allows attackers to manipulate web page content
D. A vulnerability that allows unauthorized access to a database
Hint / Module Reference (Where to Read)
Locate where untrusted data can become instructions and where they execute.
Correct answer: B — Attacker-controlled script executes in a victim’s browser under the vulnerable site’s origin
XSS causes attacker-controlled script to run in a victim’s browser under the vulnerable site’s origin. Page-content manipulation can be an effect of that execution but is not a complete definition, since other flaws can also change content. Generic memory or database access likewise does not identify the browser-origin mechanism. The answer states the relevant execution context without treating all arbitrary code execution as XSS.
Evidence in the complete study note
XSS causes attacker-controlled script to execute in a victim’s browser under the site’s origin. Stored content persists; reflected content returns in a response; DOM-based XSS can arise from unsafe browser sinks. Use safe text insertion and context-specific encoding; carefully sanitize allowed HTML. CSP is added protection, not the sole fix.SEC26
Choice by choice
A · incorrect — Unauthorized memory access does not define the browser-origin script mechanism.
B · correct — This states the script execution and origin context that define XSS.
C · incorrect — Page-content manipulation is a possible effect rather than the defining execution context.
D · incorrect — Unauthorized database access is not the definition of XSS.
Question 80
What is the purpose of input validation in program security?
A. To ensure the confidentiality of data
B. To prevent unauthorized access to a system
C. To detect and block malicious input
D. To encrypt sensitive data during transmission
Hint / Module Reference (Where to Read)
Identify the unsafe operation or input boundary rather than only a possible consequence.
Correct answer: C — Validate and reject unacceptable input
Input validation checks whether data meets expected type, length, range and structure, allowing invalid or malicious inputs to be rejected. SEC25 requires server-side checks because clients are controllable. This supports C without claiming validation alone stops every attack: parameterized queries and context-specific output encoding remain separate protections.
Evidence in the complete study note
Validate expected type, length, range and structure at trust boundaries. Server validation is essential because clients are controllable. Encode output for its destination; validation is not a universal substitute for query parameterization or HTML-context encoding. Security patches repair known weaknesses; a zero-day may lack a vendor fix, but segmentation and other mitigations can still help.SEC25
Allowing SELECT but denying UPDATE is an access-control decision that helps integrity; it does not by itself enforce all valid business-state transitions.SEC09
Deny by default, mediate every access and revoke stale permissions.SEC09
Choice by choice
A · incorrect — Confidentiality is not the specific purpose of checking input type, range, length and structure.
B · incorrect — Authentication/authorization enforce access; input validation instead checks whether supplied values are acceptable.
C · correct — Validation detects values outside expected constraints so the program can reject unsafe or invalid input.
D · incorrect — Encrypting transmission is channel protection rather than input validation.
Question 81
What is the role of secure coding practices in program security?
A. To prevent code duplication and improve program efficiency
B. To ensure compliance with industry standards and regulations
C. To minimize the number of bugs and vulnerabilities in code
D. To facilitate code collaboration among developers
Hint / Module Reference (Where to Read)
Trace timing over shared state or distinguish finding a weakness from demonstrating consequences.
Correct answer: C — Reduce software defects and vulnerabilities
Secure development aims to reduce exploitable defects through review, safe input/memory handling, least privilege and related practices described in SEC25–27. C states that direct aim. Efficiency, compliance and collaboration may be benefits of broader engineering practices, but none substitutes for minimizing flaws that can violate the program’s security requirements.
Evidence in the complete study note
A race occurs when correctness depends on timing/interleaving over shared state. In a check-then-open file operation, another actor may replace the file between the check and use. In a balance update, two workers can both read100 and each write90, losing one debit. Protect the whole invariant with suitable atomic operations, locks or database transactions; locking an unrelated variable does not help.SEC27
Build threat modeling, review, least privilege, dependency management and safe error handling into development.SEC27
Canaries, non-executable memory and address randomization reduce exploitability but do not repair the underlying write.SEC25
Choice by choice
A · incorrect — Avoiding duplication and improving efficiency are general engineering concerns rather than the specific security aim.
B · incorrect — Compliance can be relevant but does not directly state the defect-reduction purpose of secure coding.
C · correct — Secure coding reduces bugs and exploitable vulnerabilities through safer design and implementation.
D · incorrect — Collaboration helps engineering but is not itself the security objective of minimizing exploitable code flaws.
Question 82
What is the purpose of access control mechanisms in program security?
A. To prevent unauthorized access to sensitive resources
B. To monitor and log system activities for auditing purposes
C. To encrypt data during storage and transmission
D. To protect against malware and viruses
Hint / Module Reference (Where to Read)
Identify subject, object and permitted operation before comparing policy models.
Correct answer: A — To prevent unauthorized access to sensitive resources
Access enforcement authorizes subjects to perform operations on objects (PDF p.11), implementing limitation to authorized users (p.4). That protects sensitive resources from unauthorized access.
Evidence in the complete study note
Subjects request operations on objects. An ACL associates an object/resource with allowed subjects or actions; a network ACL matches traffic such as address, protocol and port. Classification and filtering are direct effects; high availability or malware detection is not guaranteed by an ACL.SEC09
Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it.SEC01
RBAC gives permissions to roles and assigns users to roles.SEC09
Choice by choice
A · correct — Restricting resource operations to authorized subjects is exactly access control. See PDF p.4, PDF p.11.
B · incorrect — Logging is the separate accountability function. See PDF p.4, PDF p.11.
C · incorrect — Encryption transforms data rather than assigning object permissions. See PDF p.4, PDF p.11.
D · incorrect — Malware defense is broader and does not define access control. See PDF p.4, PDF p.11.
Question 83
What is a race condition vulnerability?
A. A vulnerability that allows unauthorized access to a system's memory
B. A vulnerability that allows attackers to intercept network traffic
C. A vulnerability that allows attackers to execute arbitrary code
D. A vulnerability that occurs when the timing of program execution leads to unexpected
behavior
Hint / Module Reference (Where to Read)
Trace timing over shared state or distinguish finding a weakness from demonstrating consequences.
Correct answer: D — Timing/interleaving of shared state causes incorrect behavior
SEC27 defines a race through timing-dependent correctness over shared state, such as check-then-use or lost updates. D states that mechanism. Unauthorized memory access, interception and arbitrary code execution may be possible harms from many vulnerabilities, but they do not define the interleaving dependency of a race condition.
Evidence in the complete study note
A race occurs when correctness depends on timing/interleaving over shared state. In a check-then-open file operation, another actor may replace the file between the check and use. In a balance update, two workers can both read100 and each write90, losing one debit. Protect the whole invariant with suitable atomic operations, locks or database transactions; locking an unrelated variable does not help.SEC27
Host/network/database scanners see different exposures and have false results.SEC27
Correct answer: A — The principle of giving users the minimum necessary permissions to perform their tasks
PDF p.5 says not to give more privileges than absolutely necessary for the required job. This directly selects the minimum-permissions option.
Evidence in the complete study note
Least privilege gives only needed rights, for needed time. Separation of duties splits sensitive steps across parties. Deny by default, mediate every access and revoke stale permissions. Allowing SELECT but denying UPDATE is an access-control decision that helps integrity; it does not by itself enforce all valid business-state transitions.SEC09
Stateless packet filtering matches headers such as source/destination, protocol and ports.SEC23
Rules should be explicit, ordered as implemented, least-privilege and logged appropriately.SEC23
Choice by choice
A · correct — Minimum required permissions exactly matches least privilege. See PDF p.5.
B · incorrect — Encrypting all data is a separate data-protection measure. See PDF p.5.
C · incorrect — Patching repairs vulnerabilities rather than minimizing permissions. See PDF p.5.
D · incorrect — Default blocking is not the definition of task-based minimum privilege. See PDF p.5.
Question 85
What is the purpose of code obfuscation in program security?
A. To enhance program performance and execution speed
B. To make the code more difficult to understand and analyze
C. To encrypt sensitive data stored in the program
D. To detect and block malicious code during program execution
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
Correct answer: B — Make code harder to understand and analyze
SEC24 describes obfuscation as complicating understanding and analysis. It does not reliably hide embedded secrets or remove defects, so it is not equivalent to encryption or malware prevention. Nor does it imply better execution performance. B states the intended analysis-resistance purpose while preserving the note’s limits.
Evidence in the complete study note
A true positive is a real attack detected, false negative is a missed attack, false positive is innocent activity flagged, and true negative is innocent activity accepted. Recall=TP/(TP+FN); precision=TP/(TP+FP). Detecting 90 of 100 spam messages with five innocent messages flagged gives recall90%, precision90/95≈94.7%. Obfuscation makes code harder to understand and can hamper analysis, but does not reliably protect embedded secrets or remove vulnerabilities.SEC24
Choice by choice
A · incorrect — Obfuscation is not defined as a performance optimization and need not improve speed.
B · correct — Making code more difficult to understand/analyze is the explicit obfuscation purpose.
C · incorrect — Obfuscation is not encryption and does not reliably protect secrets embedded in a program.
D · incorrect — Runtime malicious-code detection/blocking is a separate defensive function rather than obfuscation.
Question 86
What is a security patch in program security?
A. A technique used to prevent buffer overflow vulnerabilities
B. A software update released to fix known security vulnerabilities
C. A hardware device used to monitor network traffic for malicious activities
D. A set of security policies implemented by an organization
Hint / Module Reference (Where to Read)
Identify the unsafe operation or input boundary rather than only a possible consequence.
Correct answer: B — A software update released to fix known security vulnerabilities
The module warns that failing to update operating systems/applications leaves software vulnerable to bugs already identified and patched (PDF p.3). A security patch is the corrective software update described by B.
Evidence in the complete study note
Validate expected type, length, range and structure at trust boundaries. Server validation is essential because clients are controllable. Encode output for its destination; validation is not a universal substitute for query parameterization or HTML-context encoding. Security patches repair known weaknesses; a zero-day may lack a vendor fix, but segmentation and other mitigations can still help.SEC25
A security policy states responsibilities and rules; a procedure supplies the steps.SEC33
Choice by choice
A · incorrect — Buffer overflow is only one possible weakness; this is not the general update definition. See PDF p.3.
B · correct — A corrective software update for known weaknesses follows the module’s patch/update account. See PDF p.3.
C · incorrect — A patch is a software correction, not network-monitoring hardware. See PDF p.3.
D · incorrect — Organizational policy is not the software bug correction discussed. See PDF p.3.
Question 87
What are the basic requirements for a trusted operating system?
A. Authentication, encryption, and firewall protection
B. User-friendly interface, multitasking, and device driver support
C. Confidentiality, integrity, availability, and accountability
D. User access control, software updates, and system backup
Hint / Module Reference (Where to Read)
Separate security-policy enforcement and assurance from ordinary OS features.
Correct answer: C — Confidentiality, integrity, availability and accountability
SEC28 connects trust to enforcement of a stated policy through identity, isolation, access enforcement, protected auditing and safe recovery. Those mechanisms support the broad confidentiality, integrity, availability and accountability requirements in C. The other options list selected mechanisms or ordinary usability features; they do not state the overall security requirements as completely.
Evidence in the complete study note
A trusted OS is relied on to enforce a stated security policy. Relevant mechanisms include identification/authentication, process and memory isolation, controlled privileges, object access enforcement, protected auditing, safe resource reuse, trusted boot/update paths and recovery behavior. The trusted computing base comprises components whose failure can violate policy; smaller, analyzable boundaries simplify assurance.SEC28
A GUI or multitasking support alone does not establish trust.SEC28
Accountability links actions to responsible entities through reliable identity and protected logs.SEC01
Choice by choice
A · incorrect — Authentication/encryption/firewalls are selected controls and do not cover the overall trust requirements.
B · incorrect — A GUI and multitasking do not establish security trust, as SEC28 explicitly warns.
C · correct — These broad protection/accountability goals are supported by the trusted OS enforcement and auditing mechanisms.
D · incorrect — Access controls, updates and backups contribute mechanisms but omit the complete high-level requirement set.
Question 88
What is the purpose of independent evaluation in computer security?
A. To certify that a system is immune to all security threats
B. To assess the effectiveness of security controls and mechanisms
C. To perform regular system backups and data recovery tests
D. To ensure compliance with industry standards and regulations
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
Correct answer: B — Assess security controls against stated claims
Independent evaluation examines evidence and tests controls against the product’s specified functional and assurance claims. B captures that assessment purpose. SEC29 explicitly rejects immunity to all attacks and universal regulatory conclusions. Backups are an operational recovery practice rather than the evaluation’s defining task.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
A certificate applies to a specified product/configuration and claims, not immunity to all future attacks.SEC29
An Evaluation Assurance Level packages assurance requirements; EAL1–7 express increasing evaluation rigor, not a universal ranking of security functions.SEC29
Choice by choice
A · incorrect — A scoped evaluation cannot certify immunity to every present and future security threat.
B · correct — Examining evidence and testing controls assesses whether their stated security claims are met.
C · incorrect — Routine backups and restore tests are operational recovery tasks, not the defining independent-evaluation purpose.
D · incorrect — Evaluation assesses specified security claims; it does not automatically establish every industry/regulatory obligation.
Question 89
What are the evaluation criteria used in the independent evaluation of operating systems?
A. User interface design and performance metrics
B. Compliance with international security standards
C. Vulnerability scanning and penetration testing results
D. Security functionality, assurance, and vulnerabilities
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
Correct answer: D — Security functionality, assurance and vulnerability analysis
SEC29 gives functional and assurance requirements in the Security Target, along with evaluator vulnerability analysis. D captures those evaluation dimensions. User-interface/performance measures are not the security criteria at issue; standards compliance is too broad, and scan/penetration results are evidence rather than the complete requirements framework.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
Vulnerability assessment finds and prioritizes weaknesses; authorized penetration testing attempts to demonstrate consequences.SEC27
Correct answer: D — Independent evaluation, testing and certification
SEC29 separates developer product/evidence work, evaluator examination/testing and the certification body’s review/decision. D names that evaluation-and-certification process. Development/deployment, patching and security design are related lifecycle activities but do not themselves constitute independent examination and the subsequent scoped certification decision.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
An Evaluation Assurance Level packages assurance requirements; EAL1–7 express increasing evaluation rigor, not a universal ranking of security functions.SEC29
CCRA is a mutual-recognition arrangement, not a single worldwide testing laboratory.SEC29
Choice by choice
A · incorrect — Development/testing/deployment is a general software lifecycle and omits independent certification review.
B · incorrect — Risk assessment and patching are administration/security operations rather than the full independent evaluation process.
C · incorrect — Requirements/design/implementation are development activities that supply evidence, not the independent evaluation decision.
D · correct — Independent examination/testing followed by certification review matches the process and roles in SEC29.
Question 91
Under Common Criteria, which role oversees and reviews an independent product evaluation and issues the certification decision?
A. International Organization for Standardization (ISO)
B. National Security Agency (NSA)
C. National Institute of Standards and Technology (NIST)
D. The certification body of the applicable evaluation scheme
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
Correct answer: D — The certification body of the applicable evaluation scheme
Evaluators examine evidence, test the target and analyze vulnerabilities against its stated claims. The applicable scheme’s certification body oversees or reviews that evaluation and issues the certification decision. CCRA concerns mutual recognition rather than acting as a worldwide testing laboratory. The answer names the responsible scheme role instead of assigning a universal responsibility to one national organization without a jurisdiction or scheme being specified.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
CCRA is a mutual-recognition arrangement, not a single worldwide testing laboratory.SEC29
A certificate applies to a specified product/configuration and claims, not immunity to all future attacks.SEC29
Choice by choice
A · incorrect — ISO’s name alone does not identify the applicable scheme certification body.
B · incorrect — NSA’s name alone does not identify the applicable scheme certification body.
C · incorrect — NIST’s name alone does not identify the applicable scheme certification body.
D · correct — This is the oversight and certification-decision role specified here.
Question 92
What is the goal of security functionality evaluation in trusted operating systems?
A. To assess the system's resistance to external attacks
B. To evaluate the system's ability to protect sensitive information
C. To analyze the system's performance and resource utilization
D. To identify potential vulnerabilities and weaknesses in the system
Hint / Module Reference (Where to Read)
Separate security-policy enforcement and assurance from ordinary OS features.
Correct answer: B — Evaluate claimed protection of sensitive information
Functionality evaluation addresses whether claimed security behavior performs its intended protection, while assurance concerns confidence in that implementation. B most directly states that protection capability. External-attack resistance is narrower, performance is not security functionality, and weakness discovery is the vulnerability-analysis aspect rather than the complete functional goal.
Evidence in the complete study note
A trusted OS is relied on to enforce a stated security policy. Relevant mechanisms include identification/authentication, process and memory isolation, controlled privileges, object access enforcement, protected auditing, safe resource reuse, trusted boot/update paths and recovery behavior. The trusted computing base comprises components whose failure can violate policy; smaller, analyzable boundaries simplify assurance.SEC28
A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category.SEC29
Assurance is justified confidence that controls implement the claims; functionality is what controls claim to do.SEC28
Choice by choice
A · incorrect — Resistance to external attacks is only a subset and omits internal threats and broader claimed security behavior.
B · correct — Assessing the ability to protect sensitive information matches evaluation of claimed security functionality.
C · incorrect — Generic performance/resource use is not the security-functionality goal described.
D · incorrect — Weakness identification is vulnerability analysis, a related evaluation activity rather than the overall functionality goal.
Question 93
What is the assurance level in the evaluation of trusted operating systems?
A. The level of protection provided by the system's security controls
B. The level of confidence in the system's security claims and implementation
C. The level of user satisfaction with the system's performance
D. The level of compliance with industry standards and regulations
Hint / Module Reference (Where to Read)
Separate security-policy enforcement and assurance from ordinary OS features.
Correct answer: B — Confidence in security claims and implementation
Assurance describes justified confidence that controls implement their claims; SEC28 states that distinction and SEC29 describes increasing evaluation rigor. B matches confidence in implementation. It must not be confused with the number or strength of functions, user satisfaction or generic compliance. Products with different scopes cannot be ranked automatically by assurance number alone.
Evidence in the complete study note
A trusted OS is relied on to enforce a stated security policy. Relevant mechanisms include identification/authentication, process and memory isolation, controlled privileges, object access enforcement, protected auditing, safe resource reuse, trusted boot/update paths and recovery behavior. The trusted computing base comprises components whose failure can violate policy; smaller, analyzable boundaries simplify assurance.SEC28
Assurance is justified confidence that controls implement the claims; functionality is what controls claim to do.SEC28
An Evaluation Assurance Level packages assurance requirements; EAL1–7 express increasing evaluation rigor, not a universal ranking of security functions.SEC29
Choice by choice
A · incorrect — Protection functionality is what controls do; assurance is confidence in the evidence and implementation.
B · correct — Assurance is justified confidence in security claims and their implementation.
C · incorrect — User satisfaction with performance is not security assurance.
D · incorrect — Generic compliance is not the defined confidence measure or evaluation rigor represented by assurance.
Question 94
What is the role of vulnerability analysis in the independent evaluation of operating
systems?
A. To identify potential weaknesses and vulnerabilities in the system
B. To analyze the system's performance and resource utilization
C. To assess the system's resistance to external attacks
D. To evaluate the system's ability to protect sensitive information
Hint / Module Reference (Where to Read)
Trace timing over shared state or distinguish finding a weakness from demonstrating consequences.
Correct answer: A — To identify potential weaknesses and vulnerabilities in the system
Vulnerability assessment explicitly locates and reports vulnerabilities and pen testing identifies weaknesses/strengths (PDF p.10). Thus identifying weaknesses is the directly supported purpose of vulnerability analysis, including when used within an evaluation.
Evidence in the complete study note
Vulnerability assessment finds and prioritizes weaknesses; authorized penetration testing attempts to demonstrate consequences. Static analysis inspects code, dynamic testing executes it, and fuzzing varies inputs. Host/network/database scanners see different exposures and have false results. Correct findings, patch, test and recheck; testing is not proof of absence. Build threat modeling, review, least privilege, dependency management and safe error handling into development.SEC27
An Evaluation Assurance Level packages assurance requirements; EAL1–7 express increasing evaluation rigor, not a universal ranking of security functions.SEC29
Evaluators examine developer evidence, test and analyze vulnerabilities against those claims.SEC29
Choice by choice
A · correct — Locating weaknesses directly matches the stated assessment task. See PDF p.10.
B · incorrect — Performance/resource utilization is not the stated vulnerability-finding task. See PDF p.10.
C · incorrect — Attack resistance is a broader test concern; locating weaknesses is the direct analysis function asked. See PDF p.10.
D · incorrect — Protecting sensitive information is the broader security goal, not the immediate vulnerability-analysis output. See PDF p.10.
Question 95
What is the purpose of certification in the evaluation of trusted operating systems?
A. To ensure compliance with industry standards and regulations
B. To guarantee absolute security and protection against all threats
C. To provide a warranty for the system's performance and reliability
D. To demonstrate that the system meets specific security requirements
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
Correct answer: D — Demonstrate conformance to specified security requirements
Certification records a reviewed decision about a scoped product/configuration meeting specified claims. D fits that purpose. The decision is not an unlimited guarantee against attacks, a performance warranty or proof of every industry/regulatory requirement. SEC29’s scope qualification is essential to interpreting what the certificate actually establishes.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
A certificate applies to a specified product/configuration and claims, not immunity to all future attacks.SEC29
A higher number does not make a product with different scope automatically safer.SEC29
Choice by choice
A · incorrect — Generic industry/regulatory compliance exceeds the specific scoped security claims established by certification.
B · incorrect — Certification does not guarantee absolute security or protection against all threats.
C · incorrect — A security certificate is not a warranty of general performance and reliability.
D · correct — Certification demonstrates satisfaction of specified security requirements within the evaluated scope/configuration.
Question 96
What is the significance of independent evaluation in trusted operating systems?
A. It guarantees absolute security and protection against all threats.
B. It ensures compliance with industry standards and regulations.
C. It provides assurance that the system is immune to all vulnerabilities.
D. It increases confidence in the system's security and reliability.
Hint / Module Reference (Where to Read)
Distinguish requirements, technical evaluation, evidence and certification decisions.
Correct answer: D — Increase justified confidence in security and reliability
Independent examination and testing add evidence supporting confidence in stated security behavior and reliability within scope. D gives that qualified benefit. SEC29 rejects the inference that certification makes a product immune to future attacks; it also does not establish every unrelated regulatory obligation. Confidence increases through evidence, rather than becoming an absolute guarantee.
Evidence in the complete study note
Under Common Criteria, define the Target of Evaluation (TOE), its configuration and environment. A Security Target (ST) states threats, assumptions, objectives, functional requirements and assurance requirements; a Protection Profile describes reusable requirements for a product category. Evaluators examine developer evidence, test and analyze vulnerabilities against those claims. A certification body oversees/reviews the evaluation and issues the certification decision; sponsors commission work and developers supply product/evidence.SEC29
A certificate applies to a specified product/configuration and claims, not immunity to all future attacks.SEC29
A higher number does not make a product with different scope automatically safer.SEC29
Choice by choice
A · incorrect — Independent evaluation cannot guarantee absolute security against every threat.
B · incorrect — It does not automatically establish compliance with all industry standards and regulations.
C · incorrect — Tests and evidence cannot prove immunity to every possible vulnerability.
D · correct — Independent scrutiny increases justified confidence in the product’s scoped security and dependable operation.
Question 97
Which listed properties are fundamental database-security goals, rather than operational growth or transaction-execution capabilities? Select all that apply.
A. Availability
B. Concurrency
C. Scalability
D. Confidentiality
Hint / Module Reference (Where to Read)
Match the control's scope to the disclosure or access path.
Correct answers (select all): A, D — Availability; Confidentiality
Database security includes confidentiality, integrity, availability and accountability together. Availability and confidentiality are both present in the choices and must be selected. Concurrency concerns overlapping transactions and can require integrity-preserving control, while scalability concerns capacity growth. These capabilities matter to a database system but do not replace the named security goals. The revised selection wording preserves both valid goals instead of choosing confidentiality arbitrarily.
Evidence in the complete study note
Database security needs confidentiality, integrity, availability and accountability together. Authenticate connections, give roles only necessary table/column/row privileges, restrict views and audit sensitive changes. A user allowed to read a report need not read the underlying full table. Check application-level authorization as well as database rights.SEC30
One event can harm several goals.SEC01
Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle.SEC01
Choice by choice
A · correct — Availability is explicitly part of database security.
B · incorrect — Concurrency is an execution capability, not a named security goal in this taxonomy.
C · incorrect — Scalability describes growth capability rather than a named security goal.
D · correct — Confidentiality is explicitly part of database security.
Question 98
Which technique ensures the reliability of a database system?
A. Data encryption
B. Data replication
C. Role-based access control
D. Intrusion detection system
Hint / Module Reference (Where to Read)
Separate valid data states, permission to update and recovery.
Correct answer: B — Data replication can improve service availability
Among these options replication supplies alternate service capacity, supporting database reliability/availability when failover and failure domains are properly handled. It does not guarantee correctness or replace backups; malicious changes can replicate too. Encryption, RBAC and IDS serve confidentiality, access restriction and detection rather than redundant database service capacity.
Evidence in the complete study note
Write-ahead logging persists recovery records before dependent data-file changes, supporting recovery after a crash. Backups, restore tests and separately protected logs recover from deletion/corruption; replication provides alternate service capacity but does not replace backups. Redundancy improves availability only with appropriate failover and independent failure handling. Distinguish confidentiality controls from reliability controls and from integrity constraints.SEC31
Strong access controls, encryption and protected transmission can all contribute to secrecy; compare their roles and assumptions.SEC30
Replication is useful for availability but also copies malicious updates unless separate recovery controls exist.SEC30
Choice by choice
A · incorrect — Encryption primarily protects confidentiality rather than providing alternate database service capacity.
B · correct — Replication can supply alternate service capacity, with reliability dependent on failover and independent failure handling.
C · incorrect — RBAC controls permitted operations; it does not itself provide redundant database capacity or crash recovery.
D · incorrect — An IDS detects suspicious activity and does not itself maintain database availability after component failure.
Question 99
Which option gives the most direct definition of database integrity as a property of stored data, rather than a broader recovery activity, confidentiality control or monitoring activity?
A. Ensuring data consistency and accuracy
B. Protecting data from unauthorized access
C. Preventing data loss or corruption
D. Monitoring and detecting security breaches
Hint / Module Reference (Where to Read)
Separate valid data states, permission to update and recovery.
Correct answer: A — Ensuring data consistency and accuracy
Integrity concerns valid, accurate and consistent data and valid state transitions. A states that property directly. Preventing corruption can contribute to integrity, but the combined loss-or-corruption wording also includes availability and recovery concerns, so it is a broader activity rather than the most direct definition requested. Access protection can serve confidentiality, and monitoring detects events; neither describes the data-validity property as precisely as A.
Evidence in the complete study note
Integrity requires valid data and valid transitions. NOT NULL rejects missing mandatory values; UNIQUE/primary keys prevent duplicate identifiers; foreign keys preserve references; CHECK enforces declared predicates. Transactions group a transfer’s debit and credit atomically; concurrency control prevents unsafe interleavings. Roles/ACLs limit who may update, but constraints and transaction logic determine whether an authorized update is valid.SEC31
Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle.SEC01
Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it.SEC01
Choice by choice
A · correct — Accuracy and consistency directly characterize the requested integrity property.
B · incorrect — Generic access protection is broader and does not directly define data validity.
C · incorrect — Preventing loss or corruption is a broader protection/recovery activity, though preventing corruption contributes to integrity.
D · incorrect — Monitoring is a detection activity rather than the property of valid data.
Question 100
Which controls directly restrict disclosure of database contents in their applicable scopes, rather than primarily reviewing evidence after activity? Select all that apply.
A. Using strong access controls
B. Implementing encryption techniques
C. Enforcing secure data transmission protocols
D. Conducting regular security audits
Hint / Module Reference (Where to Read)
Match the control's scope to the disclosure or access path.
Correct answers (select all): A, B, C — Using strong access controls; Implementing encryption techniques; Enforcing secure data transmission protocols
Access controls restrict which subjects can read data. Encryption at rest protects stolen storage when keys remain separate, and protected transmission secures data on the connection. All three can directly contribute to secrecy in their respective scopes, though none prevents every disclosure. Audits principally inspect evidence and reveal problems rather than themselves concealing contents or enforcing every access. The stated direct-control distinction makes A, B and C the valid selection.
Evidence in the complete study note
Database security needs confidentiality, integrity, availability and accountability together. Authenticate connections, give roles only necessary table/column/row privileges, restrict views and audit sensitive changes. A user allowed to read a report need not read the underlying full table. Check application-level authorization as well as database rights.SEC30
Encryption at rest protects stolen storage/backups when keys remain separate; transport encryption protects the connection.SEC30
Strong access controls, encryption and protected transmission can all contribute to secrecy; compare their roles and assumptions.SEC30
Choice by choice
A · correct — Access rules can directly restrict unauthorized readers.
B · correct — Encryption protects content in its applicable scope when keys are properly separated.
C · correct — Protected transport restricts disclosure on the communication channel.
D · incorrect — Audits primarily review evidence rather than directly concealing content or enforcing each read.
Question 101
What is inference control in database security?
A. Controlling the flow of information within a database
B. Enforcing access controls based on user roles
C. Preventing unauthorized data leakage through inference
D. Detecting and mitigating security breaches in real-time
Hint / Module Reference (Where to Read)
Consider what can be inferred from allowed outputs as well as direct access.
Correct answer: C — Prevent protected facts being inferred from allowed outputs
Inference control addresses indirect disclosure, such as subtracting a known salary from a two-person total to learn the protected value. SEC32 describes restricting/coarsening outputs and tracking queries to reduce that leakage. C names the specific purpose, while generic information flow, roles and real-time detection do not identify inference from combinations of permitted results.
Evidence in the complete study note
Inference reveals protected facts by combining individually permitted outputs with other knowledge. If a report gives a two-person salary total and one salary is known, subtraction reveals the other. Blocking direct SELECT of a salary column does not stop that inference. Restrict small groups and overlapping queries, track query history, coarsen/suppress results, or introduce carefully designed noise; each trades utility against leakage.SEC32
Choice by choice
A · incorrect — Information-flow control is broader; this option omits inference from permitted outputs and auxiliary knowledge.
B · incorrect — Role-based access alone does not prevent inference from otherwise permitted query results.
C · correct — Inference control limits indirect disclosure of protected facts through combinations of outputs and outside knowledge.
D · incorrect — Real-time breach detection is a separate incident-monitoring function rather than inference control.
Question 102
How can multi-level databases ensure data confidentiality?
A. By using data encryption techniques
B. By implementing mandatory access controls
C. By conducting regular security audits
D. By employing intrusion detection systems
Hint / Module Reference (Where to Read)
Consider what can be inferred from allowed outputs as well as direct access.
Correct answer: B — Mandatory label/clearance access controls
SEC32 distinguishes multilevel databases by mandatory label/clearance restrictions, including controlled read/write flows. B names that mechanism. Encryption, audits and IDS can support security, but none alone enforces the multilevel policy. Even mandatory controls need consideration of inference and covert channels rather than a blanket confidentiality guarantee.
Evidence in the complete study note
A multilevel database stores items at different labels and enforces mandatory policy using subject clearances, classifications and compartments. Bell–LaPadula-style read/write restrictions prevent direct downward confidentiality flow; trusted declassification is a separate controlled action. Views alone are not proof of multilevel isolation. Covert channels, query results and error messages may still reveal information, so evaluate both direct access and indirect inference.SEC32
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
Strong access controls, encryption and protected transmission can all contribute to secrecy; compare their roles and assumptions.SEC30
Choice by choice
A · incorrect — Encryption can protect stored/transmitted content but does not itself enforce multilevel classification/clearance rules.
B · correct — Mandatory controls compare clearances/classifications and enforce the multilevel disclosure policy.
C · incorrect — Audits review activity and controls; they do not themselves enforce every multilevel access decision.
D · incorrect — IDS detects suspicious activity but does not implement the database’s mandatory label policy.
Question 103
Which security requirement is critical for protecting sensitive data in a database?
A. Availability
B. Scalability
C. Confidentiality
D. Concurrency
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Protecting sensitive data from disclosure requires confidentiality, which the module also calls privacy or secrecy (PDF p.3). Other system properties do not specifically express that disclosure restriction.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Database security needs confidentiality, integrity, availability and accountability together.SEC30
Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Choice by choice
A · incorrect — Availability protects timely authorized access rather than secrecy. See PDF p.3.
B · incorrect — Scalability is not the disclosed-data protection goal. See PDF p.3.
C · correct — Confidentiality is the stated secrecy/disclosure protection goal. See PDF p.3.
D · incorrect — Concurrency is not the stated secrecy/disclosure protection goal. See PDF p.3.
Question 104
What is the purpose of data encryption in database security?
A. To ensure data availability
B. To protect data integrity
C. To achieve data secrecy
D. To control data access
Hint / Module Reference (Where to Read)
Match the control's scope to the disclosure or access path.
The module equates confidentiality with secrecy (PDF p.3) and explains shared-key encryption so an adversary cannot understand the contents (p.7). Applying that transformation to database contents protects their secrecy.
Evidence in the complete study note
Database security needs confidentiality, integrity, availability and accountability together. Authenticate connections, give roles only necessary table/column/row privileges, restrict views and audit sensitive changes. A user allowed to read a report need not read the underlying full table. Check application-level authorization as well as database rights.SEC30
Strong access controls, encryption and protected transmission can all contribute to secrecy; compare their roles and assumptions.SEC30
Encryption at rest protects stolen storage/backups when keys remain separate; transport encryption protects the connection.SEC30
Choice by choice
A · incorrect — Encryption alone does not ensure that data remains accessible on time. See PDF p.3, PDF p.7.
B · incorrect — Plain encryption is not, by itself, the unauthorized-modification definition of integrity. See PDF p.3, PDF p.7.
C · correct — Rendering data unintelligible without the key serves secrecy. See PDF p.3, PDF p.7.
D · incorrect — Access-control permission decisions are a separate subject/object mechanism. See PDF p.3, PDF p.7.
Question 105
Which permission mechanisms can prevent unauthorized database updates, while constraints and transaction logic separately enforce the validity of authorized changes? Select all that apply.
A. Access control lists
B. Data replication
C. Intrusion detection systems
D. Role-based access control
Hint / Module Reference (Where to Read)
Identify subject, object and permitted operation before comparing policy models.
Correct answers (select all): A, D — Access control lists; Role-based access control
ACLs associate objects with allowed subjects or actions, while RBAC assigns update permissions through roles. Both can prevent updates by unauthorized subjects and therefore contribute to integrity. They do not by themselves establish that every authorized state change satisfies business rules; constraints and transaction logic address that separate requirement. Replication may copy bad updates, and intrusion detection reveals activity rather than serving as the requested permission mechanism.
Evidence in the complete study note
Subjects request operations on objects. An ACL associates an object/resource with allowed subjects or actions; a network ACL matches traffic such as address, protocol and port. Classification and filtering are direct effects; high availability or malware detection is not guaranteed by an ACL.SEC09
Roles/ACLs limit who may update, but constraints and transaction logic determine whether an authorized update is valid.SEC31
Allowing SELECT but denying UPDATE is an access-control decision that helps integrity; it does not by itself enforce all valid business-state transitions.SEC09
Choice by choice
A · correct — ACLs can deny update permission to unauthorized subjects.
B · incorrect — Replication copies state and is not an update-permission mechanism.
C · incorrect — Intrusion detection observes or alerts rather than defining update permissions.
D · correct — RBAC can restrict update permission through role assignments.
Question 106
What is the primary purpose of inference control in database security?
A. To prevent unauthorized data modification
B. To enforce secure data transmission
C. To detect and prevent unauthorized data leakage
D. To control data access based on user roles
Hint / Module Reference (Where to Read)
Consider what can be inferred from allowed outputs as well as direct access.
Correct answer: C — Prevent unauthorized information leakage through inference
Inference control concerns disclosure derived from combinations of permitted outputs and outside knowledge rather than direct unauthorized writes or merely role membership. SEC32’s salary example shows why direct column restrictions are insufficient. C states this leakage-prevention goal; secure transmission and role-based decisions address different channels or controls.
Evidence in the complete study note
Inference reveals protected facts by combining individually permitted outputs with other knowledge. If a report gives a two-person salary total and one salary is known, subtraction reveals the other. Blocking direct SELECT of a salary column does not stop that inference. Restrict small groups and overlapping queries, track query history, coarsen/suppress results, or introduce carefully designed noise; each trades utility against leakage.SEC32
Choice by choice
A · incorrect — Unauthorized modification concerns integrity, whereas inference control targets indirect disclosure.
B · incorrect — Secure transport protects a connection but does not prevent inference from authorized query results.
C · correct — Detecting/reducing unauthorized information leakage from combined results is the inference-control goal.
D · incorrect — Role permissions alone do not stop users inferring protected facts from outputs they may access.
Question 107
XYZ Company is attacked by intruders causing system crashes, slowing down of services and
denying services to targeted users. The company is attacked by?
A. Access attack
B. Viruses
C. Information gathering
D. Denial of Services (DoS)
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
The decisive symptom is denial of service to intended users; that is the module’s DoS definition (PDF pp.3,5). Crashes and slowing can implement that outcome without uniquely identifying malware.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses. A SYN flood leaves many incomplete TCP handshakes occupying state. DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers. Fragment floods abuse reassembly or packet-processing resources. Rate limits, SYN cookies, filtering and upstream capacity controls address different bottlenecks.SEC06
Rogue access points imitate or bypass approved wireless service.SEC06
Malware is the umbrella term, not a specific replication method.SEC04
Choice by choice
A · incorrect — Access attacks concern gaining control, not the specific denial outcome. See PDF p.3, PDF p.5.
B · incorrect — A virus could be a cause, but no virus evidence is stated. See PDF p.3, PDF p.5.
C · incorrect — Information gathering does not by itself deny users service. See PDF p.3, PDF p.5.
D · correct — Denial of Services directly names the reported blocked access. See PDF p.3, PDF p.5.
Question 108
Which one of the following is wrongly coupled about passive (offline) and active (online)
attacks?
A. Active attack -> add or delete messages
B. Active attack -> traffic analysis
C. Passive attack -> monitoring traffic
D. Passive attack -> obtain message contents
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Correct answer: B — Active attack -> traffic analysis
PDF p.4 defines passive attacks as learning information without affecting resources and active attacks as alteration/effect on operation. Merely analyzing observed traffic fits passive learning, so B is the wrong pairing.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
These are not synonyms for offline and online.SEC03
Choice by choice
A · incorrect — Adding/deleting messages changes resources and is active. See PDF p.4.
B · correct — Traffic analysis, when only observing, is passive rather than active. See PDF p.4.
C · incorrect — Monitoring without interference is passive. See PDF p.4.
D · incorrect — Obtaining contents without changing resources is passive. See PDF p.4.
Question 109
Which one of the following is NOT correct about symmetric key?
A. It requires sender and receiver to share a common secret key
B. Previous key cannot be used for a new key
C. Trusted third party can generate and deliver keys
D. Repetitive key change is encouraged to limit data being compromised
Hint / Module Reference (Where to Read)
Distinguish shared-key architecture, key distribution and bulk-data use.
Correct answer: B — Previous key cannot be used for a new key
PDF p.8 explicitly permits use of a previous key to encrypt a new key, so B contradicts a stated symmetric key-distribution alternative. A and C are explicit, while session-key disposal supports limiting reuse.
Evidence in the complete study note
Symmetric encryption uses a shared secret and efficiently protects bulk data. Pairwise independent keys for n users require n(n-1)/2 shared keys; a trusted key distribution center changes that architecture. A session key is temporary for a communication context; a master/key-encryption key protects subordinate keys. Distribute keys physically, via an authenticated protected channel, or through a trusted third party. An uncompromised old key can protect a new key, although this does not restore secrecy after the old key is stolen.SEC16
Choice by choice
A · incorrect — Sharing a common secret is explicitly required. See PDF p.7, PDF p.8.
B · correct — B denies prior-key use that p.8 explicitly allows for distributing a new key. See PDF p.7, PDF p.8.
C · incorrect — A third party can select and deliver keys to both participants. See PDF p.7, PDF p.8.
D · incorrect — Discarding session keys after one session supports limiting key reuse and exposure. See PDF p.7, PDF p.8.
Question 110
Which one of the following is NOT a wireless attack?
A. Bluesnarfing
B. Phishing
C. Rogue access point
D. Bluejacking
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Correct answer: B — Phishing is not specifically a wireless attack
SEC06 defines Bluetooth information theft as bluesnarfing, unsolicited Bluetooth messages as bluejacking and rogue access points as wireless service impersonation/bypass. Phishing is social deception across many media, not a wireless-specific mechanism. It can be delivered over a wireless connection, but that transport does not make its defining attack category wireless.
Evidence in the complete study note
Phishing impersonates a trusted source to obtain secrets or induce an unsafe action; spear phishing targets a specific person. Verify a request through an independently known channel. Shoulder surfing observes entry; pretexting invents a reason for disclosure. Monitoring software used with authorization is not necessarily an attack merely because it records activity.SEC05
Bluesnarfing steals Bluetooth information; bluejacking sends unsolicited Bluetooth messages.SEC06
Rogue access points imitate or bypass approved wireless service.SEC06
Choice by choice
A · incorrect — Bluesnarfing steals information over Bluetooth and is specifically a wireless attack mechanism.
B · correct — Phishing is medium-independent trusted-source deception rather than a wireless-specific mechanism.
C · incorrect — A rogue access point imitates or bypasses approved wireless service.
D · incorrect — Bluejacking sends unsolicited Bluetooth messages, making it a wireless-specific attack category.
Question 111
Considering a vulnerability shared by identically configured components, which statement is NOT correct? Interpret diversity’s benefits as possible reductions in common-mode compromise, not guarantees of minimum loss.
A. Non-uniform configurations may reduce loss from a vulnerability shared by one configuration
B. Uniform configurations can increase predictability
C. A vulnerability in the identical shared configuration cannot affect the other identically configured components
D. Diverse configurations may avoid exposing every resource to the same configuration-specific vulnerability
Hint / Module Reference (Where to Read)
Start with the stated attacker path or physical hazard and the limits of each control.
Correct answer: C — A vulnerability in the identical shared configuration cannot affect the other identically configured components
Uniform configurations simplify prediction and administration, but a vulnerability in the shared configuration can create correlated failures across components. Diversity may reduce that common-mode exposure, although it increases administrative cost and does not guarantee minimum loss. Option C wrongly denies the possibility of the same configuration vulnerability affecting peers. The other statements now describe qualified benefits rather than absolute guarantees.
Evidence in the complete study note
Protect equipment against theft, unauthorized connections, heat, humidity, water, electrical surges and fire. A UPS supplies temporary conditioned power; it is normally protective, but faulty installation/battery failure can itself be hazardous. A disconnected machine loses many network attack paths yet remains exposed to insiders, removable media, supply-chain attacks and physical access. There is no universal “most secure computer” without a threat model.SEC11
Uniform configurations simplify patching and prediction but create correlated failures; diversity may reduce common-mode compromise while raising administration cost.SEC11
Choice by choice
A · incorrect — Diversity can reduce exposure to a vulnerability limited to one configuration.
B · incorrect — Uniformity can simplify prediction and administration.
C · correct — Identical shared vulnerabilities can affect peer components, so this denial is false.
D · incorrect — Diversity can reduce common-mode exposure without guaranteeing immunity.
Question 112
______ is a system that monitors traffic into and out of a network and automatically alerts
personnel when suspicious traffic patterns occur.
A. Anti-virus Software
B. IDS
C. Firewall
D. Router
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
Traffic observation followed by alerts about suspicious patterns is the IDS function in SEC24. The stem does not require inline blocking. Antivirus, firewalls and routers have different primary functions, though products can combine capabilities. B identifies the functional system described without assuming a firewall always detects every intrusion.
Evidence in the complete study note
An IDS observes and alerts; an IPS can enforce blocking, usually inline. Host-based sensors examine host events, network-based sensors inspect traffic. Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior. Neither guarantees every attack is detected; anomaly detection can raise many false positives, and signatures can sometimes match variants.SEC24
A firewall enforces traffic policy.SEC23
A router forwards IP packets between networks; forwarding alone is different from detecting suspicious behavior or enforcing a firewall's security policy.SEC-S03
Choice by choice
A · incorrect — Antivirus targets malicious software and is not the generic traffic-pattern alerting system named in the note.
B · correct — An IDS observes traffic/activity and alerts personnel to suspected intrusion patterns.
C · incorrect — A firewall primarily enforces traffic policy; observation-and-alerting specifically identifies intrusion detection.
D · incorrect — Routing selects packet next hops rather than defining suspicious-pattern detection and alerts.
Question 113
Suppose Mr. Negesa might act as Mr. Dereje and send message to Registrar X, the
registrar might be lead to believe that message indeed come from Mr. Dereje. What types
of attack Mr. Negesa has committed?
A. Denial of service
B. Modification of message
C. Masquerade
D. Replay
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Negesa presents the message as coming from Dereje, so the registrar attributes it to the wrong person. SEC05 defines that false identity claim as masquerade. No service exhaustion, alteration of a prior message or reuse of an old valid message is stated; those attack mechanisms must not be inferred from impersonation alone.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
Rogue access points imitate or bypass approved wireless service.SEC06
Fragment floods abuse reassembly or packet-processing resources.SEC06
Choice by choice
A · incorrect — The scenario does not deny service or exhaust resources.
B · incorrect — No prior message is modified; the central behavior is a false sender identity.
C · correct — Claiming Dereje’s identity to fool the registrar is masquerade.
D · incorrect — Replay requires reusing a valid old message, which the scenario does not describe.
Question 114
Which one of following monitors incoming and outgoing network traffic and decides
whether to allow or block specific traffic based on a defined set of security rules?
A. Intrusion detection system (IDS)
B. Proxy server
C. Virtual Private network
D. Firewall
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
The described allow/block decisions follow a defined traffic policy, the firewall function in SEC23. IDS observes/alerts, a proxy mediates application requests and a VPN supplies logical private connectivity. A proxy may implement policy in some deployments, but the generic boundary traffic-policy device directly named by the definition is a firewall.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
A VPN is a logical private connection; its actual security depends on the chosen authenticated tunnel.SEC22
An IDS observes and alerts; an IPS can enforce blocking, usually inline.SEC24
Choice by choice
A · incorrect — An IDS observes and alerts rather than being defined by enforcing allow/block rules.
B · incorrect — A proxy mediates application exchanges; the general traffic-policy enforcement definition specifically names a firewall.
C · incorrect — A VPN extends private connectivity and is not inherently a generic rule-based traffic filter.
D · correct — A firewall enforces allow/block traffic policy based on configured rules.
Question 115
What is the difference between confidentiality, integrity, and availability? Give an example of a breach of each.
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Answer: Confidentiality limits disclosure: copying a private credit-card database breaches it. Integrity preserves correctness: changing an account balance improperly breaches it. Availability provides timely usable service: crashing a server or starving resources breaches it.
SEC01 defines the three goals by the property harmed, not by one fixed attack label. Copying can breach secrecy without changing the original; alteration harms correctness; denied service harms availability. One incident can violate several goals, so these examples illustrate the primary property rather than mutually exclusive incident classes.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Question 116
Why is multi-factor authentication more secure than passwords alone?
Hint / Module Reference (Where to Read)
Separate identity claims from proof, and factor type from factor count.
Answer: MFA requires independent factor classes, such as a password plus a possessed card or biometric. Stealing the password alone then does not satisfy the other proof. Password plus PIN is still knowledge-only, not two independent factors.
SEC07 distinguishes knowledge, possession and inherence. Combining classes adds a separate proof rather than merely another secret from the same class. That reduces dependence on a password alone, although implementation, recovery channels and compromise of the additional factor still matter; MFA is not a guarantee against every attack.
Evidence in the complete study note
Knowledge is a password/PIN, possession is a token/card, and inherence is a biometric such as a fingerprint. Behavioral biometrics include typing rhythm or handwriting; some textbooks call these “something one does.” A body characteristic is not “three-factor authentication”: one biometric is one factor. Password plus PIN remains one factor class; card plus PIN is two. An OTP’s factor depends on its delivery/generation mechanism.SEC07
Use unique long secrets and password managers, rate limiting and suitable MFA; store salted slow password hashes, not reversible plaintext passwords.SEC08
OAuth alone does not define a complete end-user login identity protocol; OpenID Connect adds an identity layer.SEC08
Question 117
What is the difference between symmetric and asymmetric encryption? Why do we use both?
Hint / Module Reference (Where to Read)
Identify the intended recipient or signer and separate confidentiality from verification.
Answer: Symmetric encryption shares a secret key and efficiently protects bulk data. Asymmetric encryption uses a recipient public/private pair: encrypt to the authenticated public key and decrypt with the private key. Hybrid systems use public-key mechanisms to establish a symmetric secret, then symmetric protection for content.
SEC16 supplies the efficient shared-secret model; SEC18 supplies recipient key direction and hybrid composition. Public keys ease distribution only with authentic identity bindings. Combining them addresses distribution/authentication and bulk-data efficiency without claiming either family is inherently more secure or assigning fixed speed ratios.
Evidence in the complete study note
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key. Do not encrypt to A’s public key if only B should read it, and never assume A possesses B’s private key. For a signature, A signs with A’s private signing key and others verify with A’s public key. These are distinct operations; not every public-key algorithm supports encryption.SEC18
Symmetric encryption uses a shared secret and efficiently protects bulk data.SEC16
Hybrid systems establish or encapsulate a symmetric secret with public-key mechanisms, then protect bulk data symmetrically.SEC18
Question 118
What is a DDoS attack and how does it differ from a DoS attack?
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Answer: DoS exhausts or disables a resource so authorized users lose usable service. DDoS is DoS launched through multiple distributed sources, often bots or reflected/amplified responses. The distinction is source distribution, not a different security goal: both primarily harm availability.
SEC06 defines the resource-exhaustion/disabling mechanism and distributed sources. Multiple sources can stress different bottlenecks, so appropriate responses include rate limits, filtering and upstream capacity controls. The number of sources does not imply the attacker obtained control of the victim; the demonstrated harm is unavailable service.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses. A SYN flood leaves many incomplete TCP handshakes occupying state. DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers. Fragment floods abuse reassembly or packet-processing resources. Rate limits, SYN cookies, filtering and upstream capacity controls address different bottlenecks.SEC06
DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Rogue access points imitate or bypass approved wireless service.SEC06
Question 119
Why is SQL injection dangerous? How is it prevented?
Hint / Module Reference (Where to Read)
Locate where untrusted data can become instructions and where they execute.
Answer: SQL injection lets untrusted input alter SQL syntax through unsafe string construction, changing query behavior or affected rows. Use prepared statements with bound data values, allow-list nonparameterizable identifiers, and give the application account minimal privileges. Stored procedures/ORMs must also avoid unsafe dynamic SQL.
The danger is crossing the data-versus-query-syntax boundary, not merely accepting an unusual string. Parameter binding keeps supplied values as data, while identifier allow-lists handle structure that cannot be bound. Restricting database rights limits impact. SEC26 warns that a procedure or ORM name alone does not make dynamically concatenated SQL safe.
Evidence in the complete study note
SQL injection occurs when untrusted values alter SQL syntax through unsafe string construction. A tautology can change which rows match. Bind data values in prepared statements, allow-list identifiers that cannot be parameters, and restrict the application’s database account. Stored procedures/ORMs are safe only when they avoid unsafe dynamic SQL.SEC26
Stored content persists; reflected content returns in a response; DOM-based XSS can arise from unsafe browser sinks.SEC26
Question 120
What is the difference between IDS and IPS?
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
Answer: An IDS observes activity and alerts about suspected attacks. An IPS can actively block traffic, usually inline. Detection can use signatures or anomaly baselines; neither system guarantees every attack is detected or every alert represents a real attack.
The key distinction in SEC24 is observation/alerting versus enforcement. Host sensors examine host events and network sensors inspect traffic, independently of that IDS/IPS action distinction. Inline prevention adds a blocking decision; false positives can then deny legitimate activity, so detection context and policy remain important.
Evidence in the complete study note
An IDS observes and alerts; an IPS can enforce blocking, usually inline. Host-based sensors examine host events, network-based sensors inspect traffic. Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior. Neither guarantees every attack is detected; anomaly detection can raise many false positives, and signatures can sometimes match variants.SEC24
A true positive is a real attack detected, false negative is a missed attack, false positive is innocent activity flagged, and true negative is innocent activity accepted.SEC24
Question 121
What are the three primary security goals known as the CIA triad?
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Answer: The CIA triad is confidentiality, integrity and availability: restrict unauthorized disclosure, prevent improper changes, and provide timely usable service to authorized users.
SEC01 defines each goal by a separate property. Secrecy concerns who learns information, integrity concerns correct information/changes, and availability concerns usable service. These goals can be harmed together; satisfying one does not establish the others. Authentication and authorization support protection but are not replacements for the three CIA goals.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
Authentication establishes an identity or other claim; authorization decides permitted actions.SEC01
Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Question 122
What is a 'vulnerability' in the context of computer security?
Hint / Module Reference (Where to Read)
Distinguish weaknesses, potential harmful events, actual attempts and the effect of a control.
Answer: A vulnerability is an exploitable weakness in a system or its protection. It differs from a threat, which is a potentially harmful circumstance, and an attack, which is an actual attempt to cause harm.
SEC02 separates weakness, potential harm and attempted exploitation. A software flaw can exist without an attack taking place; controls reduce likelihood or impact. Calling every flaw an active attack would erase that distinction and misstate what a vulnerability finding actually proves.
Evidence in the complete study note
An asset is something valuable: data, software, hardware, service or reputation. A threat is a potentially harmful circumstance; a vulnerability is an exploitable weakness; an attack is an actual attempt; a control reduces likelihood or impact. A software flaw is not automatically an active attack. Risk concerns likelihood and consequence, not a universally meaningful numeric product of two unmeasured labels.SEC02
Question 123
What is the difference between 'prevention' and 'detection' in computer security?
Hint / Module Reference (Where to Read)
Distinguish weaknesses, potential harmful events, actual attempts and the effect of a control.
Answer: Prevention attempts to block a harmful event; detection reveals that an event or suspicious activity has occurred. Encryption can prevent disclosure, while audit logs supply detective/accountability evidence. Recovery is a further function that restores safe operation after damage.
SEC02 classifies controls by effect rather than by whether they are physical or technical. A preventive control can fail, and a detective control may then expose the event. Detection does not itself imply blocking; combining these stages supports a fuller protection and response process.
Evidence in the complete study note
Preventive controls block events, detective controls reveal them, corrective/recovery controls restore safe operation, and deterrents discourage attempts. Encryption is preventive for disclosure; an audit log is principally detective/accountability evidence. Physical, technical and administrative are control categories, not competing stages. An external firewall cannot replace a written policy or a locked equipment room.SEC02
Question 124
Which security property ensures that a message was not altered by unauthorized individuals?
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Answer: Integrity is the property that protects a message against unauthorized or improper alteration. A suitable keyed MAC or digital signature can provide integrity evidence under the relevant key/trust assumptions.
SEC01 defines integrity by correctness of content and changes. SEC20 explains that an unkeyed hash alone requires a trusted reference because an attacker can recompute it after modification. Therefore the property is integrity, while the mechanism used to establish it must be selected with an appropriate trust model.
Evidence in the complete study note
Confidentiality restricts disclosure: copying a credit-card database violates secrecy even if the original stays intact. Integrity restricts unauthorized or improper changes: altering a balance or inserting a false message damages correctness. Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it. One event can harm several goals.SEC01
An attacker can recompute an unkeyed hash of modified data, so a hash alone needs a trusted reference.SEC20
Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content.SEC20
Question 125
What is Data Security focused on protecting?
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Answer: Data security protects information at rest, in use and in transit against unauthorized disclosure, improper changes and loss of usable access. It includes accidental corruption as well as deliberate attacks.
SEC01 explicitly covers the information lifecycle and accidental as well as intentional harm. Protection is broader than encrypting network traffic: storage, processing and access/recovery controls also matter. The CIA goals describe complementary properties, so secrecy alone is not the whole of data security.
Evidence in the complete study note
Authentication establishes an identity or other claim; authorization decides permitted actions. Accountability links actions to responsible entities through reliable identity and protected logs. Non-repudiation supplies evidence supporting origin or receipt; signatures do not make denial physically impossible. Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle. Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
Question 126
What are the '4D's' of security threats?
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Answer: The four are disclosure, deception, disruption and usurpation. Disclosure exposes information; deception supplies false material or beliefs; disruption harms service; usurpation means unauthorized control.
SEC03 explicitly names this classification and distinguishes disruption from control. A denial-of-service event demonstrates disruption and availability loss, but does not by itself prove the attacker usurped the victim. The categories describe kinds of harm rather than requiring every attack to produce all four.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Question 127
What is the key difference between passive and active attacks?
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Answer: Passive attacks observe without changing the exchange, such as sniffing or traffic analysis. Active attacks inject, modify, replay or disrupt communications or service. Passive/active does not mean offline/online.
The distinction is intervention in the target exchange, as SEC03 explains. Traffic analysis can infer relationships from timing and sizes even with encrypted content, so passive observation still creates risk. Neither category is universally easy to detect or prevent; those claims depend on the mechanism and deployed controls.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
Traffic analysis can infer relationships from timing/size even when content is encrypted.SEC03
Question 128
What is a Denial of Service (DoS) attack?
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Answer: A denial-of-service attack exhausts or disables a resource so authorized users cannot obtain timely usable service. Examples include incomplete-handshake state exhaustion or resolver query flooding. Distributed DoS uses multiple sources.
SEC06 identifies the mechanism as service exhaustion/disabling. SEC01 connects unavailable or unusable service to availability loss. The attacker need not alter stored data or gain control of the target; the resource bottleneck and service effect distinguish this attack from other harms.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses. A SYN flood leaves many incomplete TCP handshakes occupying state. DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers. Fragment floods abuse reassembly or packet-processing resources. Rate limits, SYN cookies, filtering and upstream capacity controls address different bottlenecks.SEC06
Availability supplies timely, usable service to authorized users: crashes, resource starvation and denied access violate it.SEC01
Rogue access points imitate or bypass approved wireless service.SEC06
Question 129
What does 'snooping' refer to in network security?
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Answer: Snooping is unauthorized observation or interception of information, such as reading captured network traffic. When it only observes the exchange without modifying it, it is a passive attack against confidentiality.
SEC03 groups interception with observing/copying data and lists sniffing among passive attacks. This differs from modification or fabrication, which change or inject material. Encryption can hide content while traffic timing/size still supports traffic analysis, so observing communication metadata can remain informative.
Evidence in the complete study note
Interception copies or observes data, modification alters it, interruption blocks it, and fabrication inserts false material. The 4D classification uses disclosure, deception, disruption and usurpation, the last meaning unauthorized control. DoS primarily demonstrates disruption/availability loss; it need not give control of the victim.SEC03
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
Traffic analysis can infer relationships from timing/size even when content is encrypted.SEC03
Question 130
What is 'repudiation' in computer security?
Hint / Module Reference (Where to Read)
Identify the property harmed: disclosure, improper change, unavailable service or lack of reliable attribution.
Answer: Repudiation is denying involvement, such as denying having sent or received a message. Non-repudiation supplies evidence supporting origin or receipt under identity/key-custody assumptions; it does not make a person physically unable to deny an action.
SEC01 frames non-repudiation as evidentiary support rather than an absolute ban on denial. SEC20 explains why signatures can support origin/integrity while shared-key MACs limit third-party attribution because both holders can create them. The strength of the evidence depends on trustworthy identities, keys and records.
Evidence in the complete study note
Authentication establishes an identity or other claim; authorization decides permitted actions. Accountability links actions to responsible entities through reliable identity and protected logs. Non-repudiation supplies evidence supporting origin or receipt; signatures do not make denial physically impossible. Information assurance includes confidence, risk management, protection, detection, response and restoration across the information lifecycle. Data security protects information at rest, in use and in transit, including accidental corruption as well as intentional attacks.SEC01
A keyed MAC provides integrity and shared-secret authentication; both holders can create it, limiting third-party non-repudiation.SEC20
Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content.SEC20
Question 131
What distinguishes a worm from a computer virus?
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
Answer: A virus attaches to a host program/document and spreads when the infected host executes. A worm replicates independently, commonly across networks. The distinction is host dependency, not a universal ranking of speed or required user action.
SEC04 defines propagation mechanisms separately from payloads and disguise. A malware package may contain several components, so a worm can also carry another malicious function. That does not change the independent-replication distinction or justify assuming every worm always spreads faster than every virus.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
Adware displays unwanted advertising and may also track users.SEC04
Malware is the umbrella term, not a specific replication method.SEC04
Question 132
What is a Trojan Horse in cybersecurity?
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
Answer: A Trojan horse presents apparently useful or legitimate behavior while hiding malicious activity. Unlike virus/worm labels, the definition concerns disguise and does not require self-replication.
SEC04 distinguishes propagation, disguise and payload properties. A Trojan may contain other malware components, but merely looking useful while concealing harmful behavior is the identifying clue. It should not be defined as a worm simply because its payload might later spread.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
A backdoor bypasses ordinary access paths; a rootkit hides malicious presence or privileged activity.SEC04
Malware is the umbrella term, not a specific replication method.SEC04
Question 133
What is a Logic Bomb?
Hint / Module Reference (Where to Read)
Separate propagation, disguise and payload when classifying malicious software.
Answer: A logic bomb is malicious code that waits for a specified trigger before activating its payload. The defining feature is conditional activation, rather than a particular replication method or inevitable immediate execution.
SEC04 identifies the trigger dependency. Other malware terms describe independent replication, host attachment, disguise or hidden access; those properties can coexist with a triggered payload. Thus the answer identifies when the harmful behavior activates without inventing a particular date, event or payload not supplied by the question.
Evidence in the complete study note
A virus replicates by attaching to a host program or document; execution of the infected host spreads it. A worm replicates independently, commonly across networks. A Trojan disguises malicious behavior as something useful and does not require self-replication. These labels describe different properties, so a malware package may contain several components.SEC04
A logic bomb waits for a trigger.SEC04
Malware is the umbrella term, not a specific replication method.SEC04
Question 134
What is the difference between a White Hat and Black Hat hacker?
Hint / Module Reference (Where to Read)
Classify the action actually described and distinguish observation, alteration, disruption and identity claims.
Answer: White-hat security testing is authorized and stays within agreed scope. Black-hat activity is malicious or unauthorized. Technical skill or the word hacker alone does not establish legality.
SEC03 makes authorization and scope the decisive distinction. Good claimed intentions do not create permission to test another system, and insider/outsider status describes a different dimension. An authorized tester must remain within the approved activity; the label alone cannot excuse actions outside that scope.
Evidence in the complete study note
White-hat testing requires authorization and scope; black-hat activity is malicious or unauthorized. A competitor may seek commercial secrets; hacktivists pursue a cause. “Hacker” alone does not establish legality. Insider versus outsider describes origin/trust position, not the specific mechanism.SEC03
In a check-then-open file operation, another actor may replace the file between the check and use.SEC27
Correct findings, patch, test and recheck; testing is not proof of absence.SEC27
Question 135
What is phishing?
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Answer: Phishing impersonates a trusted source to trick someone into revealing secrets or performing an unsafe action. Spear phishing targets a particular person. Verify suspicious requests using an independently known channel.
SEC05 defines the deception mechanism and the targeted variant. It is a human-trust attack, not necessarily a wireless mechanism or direct password-guessing algorithm. Independent verification matters because replying through the attacker-supplied contact path can preserve the impersonation rather than test it.
Evidence in the complete study note
Phishing impersonates a trusted source to obtain secrets or induce an unsafe action; spear phishing targets a specific person. Verify a request through an independently known channel. Shoulder surfing observes entry; pretexting invents a reason for disclosure. Monitoring software used with authorization is not necessarily an attack merely because it records activity.SEC05
Question 136
What is the primary goal of cryptography?
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
Answer: Cryptography protects information using key-based mathematical mechanisms. Encryption primarily conceals meaning; suitable MACs/signatures or authenticated encryption additionally support integrity and authenticity. There is no single confidentiality-only description that captures every cryptographic service.
SEC12 defines encryption/decryption, while SEC20 distinguishes hashes, MACs and signatures. These mechanisms address different goals and assumptions: a signature does not conceal content, and an unkeyed hash alone does not establish authentic origin. The goal must be matched to the mechanism rather than treating all cryptography as encryption.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content.SEC20
An attacker can recompute an unkeyed hash of modified data, so a hash alone needs a trusted reference.SEC20
Question 137
What is the difference between symmetric and asymmetric key cryptography?
Hint / Module Reference (Where to Read)
Identify the intended recipient or signer and separate confidentiality from verification.
Answer: Symmetric cryptography uses a shared secret between parties. Asymmetric confidentiality uses an authenticated public encryption key and corresponding private decryption key; signatures instead use a private signing key and public verification key. Not every public-key algorithm supports encryption.
SEC16 gives the shared-secret model and SEC18 the asymmetric key directions. Symmetric keys require secure distribution and can efficiently protect bulk data. Public keys simplify distribution only when their identity bindings are authentic; hybrid protocols combine these advantages instead of assuming one family is inherently stronger.
Evidence in the complete study note
For confidentiality to B, encrypt with B’s authenticated public encryption key; B decrypts with B’s private key. Do not encrypt to A’s public key if only B should read it, and never assume A possesses B’s private key. For a signature, A signs with A’s private signing key and others verify with A’s public key. These are distinct operations; not every public-key algorithm supports encryption.SEC18
Symmetric encryption uses a shared secret and efficiently protects bulk data.SEC16
Public keys ease distribution but require authentic bindings to identities.SEC18
Question 138
In Caesar's cipher with a shift of 3, what does the letter 'A' become?
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
Answer: A becomes D. With A=0 and shift k=3, C=(0+3) mod26=3, which is D.
SEC13 specifies the A=0 through Z=25 convention and forward addition for Caesar encryption. Applying that convention avoids confusing encryption with the reverse decryption shift or using a different numeric alphabet. No wraparound is needed for A, but the modulo rule handles letters near the alphabet end.
Evidence in the complete study note
With A=0 through Z=25, Caesar encryption is C=(P+k) mod26 and decryption P=(C-k) mod26. A shift of 3 maps A→D and HELLO→KHOOR. Key25 moves back one: ATTACK→ZSSZBJ. Ensure negative results wrap into 0–25. A multiplicative cipher uses C=kP mod26 with gcd(k,26)=1; decryption uses k’s modular inverse. Affine uses C=aP+b mod26 and requires gcd(a,26)=1. The inverse-key relation, not simply the same numeric multiplication, recovers plaintext.SEC13
Question 139
What formula is used for encryption in the Caesar cipher?
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
Answer: Using A=0 through Z=25, Caesar encryption is C=(P+k) mod26. Here P is the plaintext letter number, k the shift and C the ciphertext letter number. Decryption subtracts the same shift modulo 26.
SEC13 fixes both the numeric alphabet and the direction. Modulo 26 wraps results into the letter range, including negative intermediate values in decryption. A stated shift of 3 therefore maps A to D; reversing the sign would describe decryption instead of the requested encryption formula.
Evidence in the complete study note
With A=0 through Z=25, Caesar encryption is C=(P+k) mod26 and decryption P=(C-k) mod26. A shift of 3 maps A→D and HELLO→KHOOR. Key25 moves back one: ATTACK→ZSSZBJ. Ensure negative results wrap into 0–25. A multiplicative cipher uses C=kP mod26 with gcd(k,26)=1; decryption uses k’s modular inverse. Affine uses C=aP+b mod26 and requires gcd(a,26)=1. The inverse-key relation, not simply the same numeric multiplication, recovers plaintext.SEC13
Question 140
Why is the One-Time Pad considered the most secure cipher?
Hint / Module Reference (Where to Read)
Check the precise ordering or key-use assumptions rather than relying on a cipher's name.
Answer: A genuine one-time pad has perfect secrecy when its key is independent, uniformly random, secret, at least as long as the message and never reused. Without every condition, a Vernam/XOR construction is not automatically a one-time pad.
SEC15 makes the guarantee conditional, not a blanket ranking of every cipher implementation. Pad reuse exposes C1 XOR C2=P1 XOR P2 and leaks relationships between plaintexts. Key delivery and storage are substantial practical costs even though the ideal construction supplies perfect secrecy under its assumptions.
Evidence in the complete study note
A one-time pad XORs bits with an independent uniformly random secret key at least as long as the message and never reused. Its perfect secrecy depends on every condition. Reusing a pad leaks C1 XOR C2=P1 XOR P2. A Vernam XOR construction is not automatically a one-time pad: a predictable/reused keystream loses that guarantee. Key delivery and storage remain substantial costs.SEC15
Question 141
What is the main weakness of a monoalphabetic substitution cipher?
Hint / Module Reference (Where to Read)
Separate symbol replacement from position changes and apply the alphabet and modular direction.
Answer: One fixed substitution throughout a message preserves letter-frequency patterns, enabling statistical analysis despite a large nominal key space. This is the main weakness of monoalphabetic substitution.
SEC13 distinguishes symbol replacement from transposition and stresses that fixed mappings leak patterns. Increasing the nominal number of possible substitution alphabets does not erase language statistics. Classical substitution therefore serves teaching purposes rather than providing modern data protection, even if exhaustive enumeration of every alphabet is impractical.
Evidence in the complete study note
Substitution replaces symbols; transposition changes their positions. A monoalphabetic substitution preserves one mapping throughout the message and leaks frequency patterns despite a large nominal key space. Classical ciphers are teaching devices, not modern data protection.SEC13
Question 142
How does the Vigenere cipher improve on monoalphabetic ciphers?
Hint / Module Reference (Where to Read)
Identify the cipher's unit, key structure and assumptions before judging its strength.
Answer: Vigenère applies position-dependent shifts from a key, so the same plaintext letter can encrypt differently at different positions. That reduces the single fixed-substitution frequency pattern, but repeating a short key still leaks periodic structure.
SEC14 gives C_i=(P_i+K_i) mod26 and explains the position dependence. The improvement is multiple mappings rather than a guarantee of modern security. A periodic key allows related positions to share the same shift, preserving exploitable regularities instead of eliminating statistical structure altogether.
Evidence in the complete study note
Vigenère repeats or otherwise supplies shifts K_i and computes C_i=(P_i+K_i) mod26. The same plaintext letter may encrypt differently by position; repeated short keys still leak periodic structure. An autokey scheme extends its initial key using message material.SEC14
Question 143
What is steganography and how does it differ from cryptography?
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
Answer: Steganography conceals the existence of a message by hiding it within other data. Encryption conceals its meaning by transforming plaintext into ciphertext. Cryptography also includes integrity/authenticity mechanisms; it is broader than just encryption.
SEC12 states the existence-versus-meaning distinction. Discovering a hidden carrier can defeat concealment of existence without necessarily revealing separately encrypted content. SEC20’s MAC/signature roles further explain why cryptography cannot be reduced to steganography or to secrecy of the communication’s existence.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content.SEC20
A keyed MAC provides integrity and shared-secret authentication; both holders can create it, limiting third-party non-repudiation.SEC20
Question 144
What are the five ingredients of cryptography?
Hint / Module Reference (Where to Read)
Trace message transformations and separate data, keys, algorithms and codebreaking.
Answer: For the conventional symmetric-encryption model, the five ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. This is not a universal inventory of every cryptographic construction.
SEC12 supplies this five-part teaching model. Plaintext enters encryption with a secret key, producing ciphertext; decryption recovers the plaintext with the appropriate secret. The qualifier symmetric matters because signature, hash and public-key constructions have different interfaces and cannot all be reduced to this particular five-item list.
Evidence in the complete study note
Plaintext is the original message, ciphertext its encrypted representation, a key is input to an algorithm, encryption computes C=E_k(P), and decryption recovers P=D_k(C). The five conventional symmetric ingredients are plaintext, encryption algorithm, secret key, ciphertext and decryption algorithm. Cryptanalysis seeks recovery or other breaks without the authorized secret; cryptology includes cryptography and cryptanalysis. Steganography hides that a message exists; encryption hides its meaning.SEC12
Symmetric cryptography is not inherently less secure than public-key cryptography, and speed ratios are not fixed constants.SEC12
Security depends on algorithm, key size, randomness, mode and implementation.SEC12
Question 145
In DES, what is the block size and key size?
Hint / Module Reference (Where to Read)
Track block width, effective key bits and the transformations within a round.
Answer: DES uses 64-bit data blocks and 56 effective key bits. A commonly stored 64-bit key representation includes eight parity bits, which do not increase the effective key space. DES has 16 Feistel rounds and is a legacy algorithm.
SEC17 distinguishes block width from effective key entropy and parity representation. Calling DES a 64-bit-key security level would count nonsecret parity bits as independent choices. The note also warns that DES/triple DES are legacy mechanisms rather than recommendations for new protection.
Evidence in the complete study note
DES has a 64-bit block, 56 effective key bits (eight other bits serve parity), and 16 Feistel rounds. After initial permutation, each round computes L_i=R_(i-1), R_i=L_(i-1) XOR f(R_(i-1),K_i). Its right-half expansion makes 48 bits, XOR mixes a 48-bit subkey, eight S-boxes each map six bits to four, and permutation rearranges the 32 output bits. The outer S-box input bits select a row and the inner four select a column.SEC17
DES and triple DES are legacy algorithms, not choices for new protection.SEC17
Triple DES repeats DES operations but does not provide 168-bit effective security merely because three 56-bit keys are supplied.SEC17
Question 146
Why does DES divide the plaintext into left and right halves?
Hint / Module Reference (Where to Read)
Track block width, effective key bits and the transformations within a round.
Answer: DES splits its 64-bit block into two 32-bit halves for Feistel rounds: L_i=R_(i-1) and R_i=L_(i-1) XOR f(R_(i-1),K_i). This permits inversion using the same overall structure with reversed round keys, without requiring f to be invertible.
SEC17 gives the round equations and inversion property. The old right half becomes the new left half; the old left is mixed with a keyed transformation of the old right. Keeping those relationships allows recovery by reversing the key order rather than independently inverting every S-box/transformation.
Evidence in the complete study note
DES has a 64-bit block, 56 effective key bits (eight other bits serve parity), and 16 Feistel rounds. After initial permutation, each round computes L_i=R_(i-1), R_i=L_(i-1) XOR f(R_(i-1),K_i). Its right-half expansion makes 48 bits, XOR mixes a 48-bit subkey, eight S-boxes each map six bits to four, and permutation rearranges the 32 output bits. The outer S-box input bits select a row and the inner four select a column.SEC17
Feistel inversion uses the same overall structure with reversed round keys; f need not itself be invertible.SEC17
Triple DES repeats DES operations but does not provide 168-bit effective security merely because three 56-bit keys are supplied.SEC17
Question 147
What is the purpose of the S-box in DES?
Hint / Module Reference (Where to Read)
Track block width, effective key bits and the transformations within a round.
Answer: DES S-boxes provide nonlinear substitution: each of eight boxes maps six input bits to four output bits. The outer two bits select the row and the inner four select the column, giving 32 output bits altogether.
SEC17 identifies the S-boxes as the nonlinear component that resists simple linear descriptions. Their six-to-four mapping follows expansion and key mixing, then a permutation rearranges the outputs. They are not merely a reversible bit permutation; Feistel structure supplies overall invertibility without requiring each S-box itself to be invertible.
Evidence in the complete study note
DES has a 64-bit block, 56 effective key bits (eight other bits serve parity), and 16 Feistel rounds. After initial permutation, each round computes L_i=R_(i-1), R_i=L_(i-1) XOR f(R_(i-1),K_i). Its right-half expansion makes 48 bits, XOR mixes a 48-bit subkey, eight S-boxes each map six bits to four, and permutation rearranges the 32 output bits. The outer S-box input bits select a row and the inner four select a column.SEC17
The nonlinear S-boxes resist simple linear descriptions.SEC17
Feistel inversion uses the same overall structure with reversed round keys; f need not itself be invertible.SEC17
Question 148
In RSA, what are the formulas for encryption and decryption?
Hint / Module Reference (Where to Read)
Check key-generation conditions as well as modular arithmetic.
Answer: Textbook RSA encrypts c=m^e mod n and decrypts m=c^d mod n, for 0≤m<n. Here n=pq, e is coprime to φ=(p−1)(q−1), and d=e^−1 mod φ. Real RSA additionally requires appropriate standardized padding.
SEC19 supplies the formulas and their key-generation preconditions. The modular-inverse condition is necessary for a valid key pair, so arbitrary e values are not acceptable. These arithmetic expressions teach RSA operations; raw unpadded modular exponentiation is not a complete secure deployment recipe.
Evidence in the complete study note
For textbook RSA choose distinct primes p,q; n=pq and φ=(p-1)(q-1). Choose 1<e<φ with gcd(e,φ)=1, then compute d=e^-1 modφ. Public key is (n,e), private includes d. Encrypt 0≤m<n by c=m^e modn; decrypt by m=c^d modn. Use modular repeated squaring for large exponents. Real RSA requires appropriate standardized padding; raw arithmetic is not a secure deployment recipe.SEC19
With p=3,q=13,e=3,m=5, 5^3 mod39=8 arithmetically, but gcd(3,24)=3, so e has no inverse and this is not a valid RSA key.SEC19
Check key validity before treating arithmetic results as a working encryption/decryption pair.SEC19
Question 149
In textbook RSA key generation with p=7, q=19 and φ=108, choose the smallest integer e greater than 1 satisfying 1<e<φ and gcd(e,φ)=1. What is e?
Hint / Module Reference (Where to Read)
Check key-generation conditions as well as modular arithmetic.
The exponent must be greater than one, below 108 and coprime to 108. Testing candidates in increasing order, 2 shares factor 2, 3 shares factor 3 and 4 shares factor 2 with 108. Five shares neither prime factor of 108, so gcd(5,108)=1. It is therefore the smallest admissible exponent. Other values can also be admissible, but the explicit smallest-value rule makes this open-ended answer unique.
Evidence in the complete study note
For textbook RSA choose distinct primes p,q; n=pq and φ=(p-1)(q-1). Choose 1<e<φ with gcd(e,φ)=1, then compute d=e^-1 modφ. Public key is (n,e), private includes d. Encrypt 0≤m<n by c=m^e modn; decrypt by m=c^d modn. Use modular repeated squaring for large exponents. Real RSA requires appropriate standardized padding; raw arithmetic is not a secure deployment recipe.SEC19
With p=7,q=19, n=133 and φ=108, e=5 is the smallest admissible e>1, but 7 and other coprime choices also work.SEC19
With p=3,q=13,e=3,m=5, 5^3 mod39=8 arithmetically, but gcd(3,24)=3, so e has no inverse and this is not a valid RSA key.SEC19
Question 150
What is the Playfair cipher and what unique element does its grid contain?
Hint / Module Reference (Where to Read)
Identify the cipher's unit, key structure and assumptions before judging its strength.
Answer: Playfair is a digraph substitution cipher using a keyed 5×5 letter grid, commonly combining I and J into one cell. It encrypts pairs by same-row, same-column or rectangle rules; fillers and padding must be specified.
SEC14 explains the 25-cell grid and letter-pair operations. Combining I/J is the conventional element that fits the alphabet into the grid, not a claim about numeric cells. Repeated-letter fillers and final padding affect actual ciphertext, so computations require those conventions rather than guessing them.
Evidence in the complete study note
Playfair uses a keyed 5×5 grid, commonly combining I/J, and encrypts letter pairs. Specify duplicate-letter fillers and padding. Same row moves right, same column moves down, and rectangle pairs take the other column in their original row; decryption reverses shifts.SEC14
Question 151
What is ARP Spoofing and which OSI layer does it target?
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Answer: ARP spoofing supplies false local IPv4-to-MAC associations, directing traffic toward an unintended link endpoint. It targets local link-address resolution at the network/data-link boundary and is commonly treated as a data-link-layer attack.
SEC05 identifies the poisoned association rather than DNS names or transport state. Its scope is local IPv4-to-MAC resolution, so describing it simply as arbitrary IP routing would miss the mechanism. The layer answer refers to manipulating the local link mapping, while ARP connects network and link addressing.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
Question 152
What three primary services does IPSec provide?
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
Answer: The principal IPsec services are confidentiality, integrity and origin authentication for IP traffic. They depend on the chosen protocol/association: AH supplies integrity/authentication without encryption, while ESP can supply confidentiality and integrity; IKE negotiates associations and keys.
IPsec operates at the network layer, with distinct AH, ESP and IKE roles. Listing the service set must not imply every IPsec packet is encrypted or that IKE itself carries protected application content. Transport/tunnel mode describes coverage/encapsulation rather than replacing the service-selection and key assumptions.
Evidence in the complete study note
SSH protects remote login, commands and file transfer such as SFTP; it supports host keys and several client-authentication methods. IPsec protects IP traffic at network layer. AH provides integrity/origin authentication, not encryption; ESP can provide confidentiality and integrity; IKE negotiates security associations and keys. Transport mode protects upper-layer payload; tunnel mode encapsulates an inner IP packet inside an outer header. A VPN is a logical private connection; its actual security depends on the chosen authenticated tunnel.SEC22
Question 153
How does a TCP SYN flood attack work?
Hint / Module Reference (Where to Read)
Match the resource bottleneck or wireless mechanism to the relevant protection layer.
Answer: A TCP SYN flood creates many incomplete connection handshakes, occupying server state and exhausting resources needed for legitimate connections. Rate limits, SYN cookies, filtering or upstream controls address different parts of that resource bottleneck.
SEC06 defines the attack by incomplete-handshake state consumption. The goal is denial of usable service, not necessarily gaining control of the target. Defenses must match the constrained resource and traffic path; no single listed measure guarantees resistance to every distributed load or bandwidth bottleneck.
Evidence in the complete study note
DoS exhausts or disables a resource; distributed DoS uses multiple sources, often bots or reflected/amplified responses. A SYN flood leaves many incomplete TCP handshakes occupying state. DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers. Fragment floods abuse reassembly or packet-processing resources. Rate limits, SYN cookies, filtering and upstream capacity controls address different bottlenecks.SEC06
Passive attacks observe without changing the target exchange: sniffing and traffic analysis.SEC03
Rogue access points imitate or bypass approved wireless service.SEC06
Question 154
What is the difference between SSL and TLS?
Hint / Module Reference (Where to Read)
Distinguish peer identity, channel protection and risks outside that channel.
Answer: TLS is the successor to obsolete SSL and provides an authenticated protected channel. Handshakes negotiate parameters, authenticate peers as required and establish keys; symmetric authenticated record protection carries data. Exact handshake messages depend on TLS version.
SEC21 warns against treating an old SSL/ChangeCipherSpec narrative as the universal TLS1.3 sequence. The useful distinction is protocol succession and version-specific behavior, not a claim that the names are interchangeable or that every deployment of either is automatically secure.
Evidence in the complete study note
A certificate binds a public key to a named subject through an issuer signature. Validate the chain to a trusted root, intended hostname, time validity and applicable key usage/revocation policy. A genuine certificate is not proof that a business is honest.SEC21
Exact messages depend on TLS version: the old ChangeCipherSpec narrative is not a universal TLS1.3 sequence.SEC21
TLS succeeds obsolete SSL and supplies an authenticated protected channel.SEC21
Question 155
What does HTTPS stand for and what security does it add over HTTP?
Hint / Module Reference (Where to Read)
Distinguish peer identity, channel protection and risks outside that channel.
Answer: HTTPS is secure HTTP: HTTP over TLS. It adds authenticated channel protection for HTTP paths, headers and content. It does not conceal all metadata, such as endpoint IPs/timing, or protect plaintext after a compromised endpoint decrypts it.
SEC21 identifies the composition and coverage. Protection depends on authentication and certificate validation rather than the mere appearance of the URL scheme. It concerns the communication channel; endpoint compromise and visible traffic metadata remain outside that confidentiality boundary.
Evidence in the complete study note
A certificate binds a public key to a named subject through an issuer signature. Validate the chain to a trusted root, intended hostname, time validity and applicable key usage/revocation policy. A genuine certificate is not proof that a business is honest.SEC21
It protects HTTP paths, headers and content on the channel, but does not hide all metadata such as IP endpoints and traffic timing, nor protect data after a compromised endpoint decrypts it.SEC21
HTTPS is HTTP over TLS.SEC21
Question 156
What is DNS Spoofing?
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Answer: DNS spoofing provides false name-resolution data, potentially redirecting a requested domain to an attacker-chosen destination. Cache poisoning is a form that places false answers in a resolver cache. DNSSEC authenticates DNS data when appropriately deployed and validated.
SEC05 distinguishes false DNS mapping from ARP/IP spoofing. SEC06 separates DNS flooding, which consumes query capacity, from answer authenticity. A successful-looking name lookup can still be maliciously wrong; checking that a response exists is different from establishing its trusted origin and integrity.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
DNS flooding targets query capacity; NXDOMAIN attacks generate queries for nonexistent names to stress resolvers.SEC06
Match a defense to its layer: authenticated IPsec can resist IP impersonation, DNSSEC authenticates DNS data, TLS authenticates/protects application transport, and bounds-safe code prevents overflows.SEC06
Question 157
What is the purpose of SSH (Secure Shell)?
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
Answer: SSH (Secure Shell) protects remote login, command execution and file transfer such as SFTP. It uses host keys and supports several client-authentication methods. Correct host-key validation and restricted management access remain important.
SEC22 states the protected remote-administration functions. SSH is not merely encryption of a password; it protects the session and requires authentic peer identity. File transfer through SFTP is related to SSH rather than being ordinary FTP with a new name.
Evidence in the complete study note
SSH protects remote login, commands and file transfer such as SFTP; it supports host keys and several client-authentication methods. IPsec protects IP traffic at network layer. AH provides integrity/origin authentication, not encryption; ESP can provide confidentiality and integrity; IKE negotiates security associations and keys. Transport mode protects upper-layer payload; tunnel mode encapsulates an inner IP packet inside an outer header. A VPN is a logical private connection; its actual security depends on the chosen authenticated tunnel.SEC22
SSH expands to Secure Shell and provides secure remote login and related network services.SEC-S03
AAA names authentication, authorization and accounting functions, rather than a particular remote-shell channel.SEC-S03
Question 158
What is a Man-in-the-Middle (MITM) attack?
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Answer: A man-in-the-middle attack places an attacker between communicating parties to intercept and potentially alter their exchange. Authentication of the intended peer and a protected channel are needed; encryption without authentic key binding can still allow intermediary substitution.
SEC05 gives the interception/alteration mechanism, while SEC18’s unauthenticated Diffie–Hellman example explains why secrecy mechanisms alone are insufficient. The attacker may relay messages so both victims believe they communicate directly, making peer authentication and correct certificate/key checks essential.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
Diffie–Hellman agrees on a secret but unauthenticated DH permits intermediary substitution.SEC18
Hybrid systems establish or encapsulate a symmetric secret with public-key mechanisms, then protect bulk data symmetrically.SEC18
Question 159
What is the SET (Secure Electronic Transaction) protocol and who developed it?
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
Answer: SET means Secure Electronic Transaction. It was a Visa/Mastercard-led specification for protecting payment-card transactions with certificates and signatures. It is distinct from an ordinary HTTPS connection or a general payment-processing system.
SEC22 supplies the expansion, origin and protection role. Certificates/signatures support authenticated transaction relationships rather than defining the entire financial settlement infrastructure. Calling every TLS-protected checkout SET would conflate separate protocols with different scope and structure.
Evidence in the complete study note
PGP/OpenPGP combines symmetric content protection with public-key key handling and signatures. S/MIME uses certificates for signed and/or enveloped MIME content. Signatures can be sent separately/clear-signed without confidentiality; enveloped data encrypts content and wraps content keys for recipients. SET, Secure Electronic Transaction, was a Visa/Mastercard-led specification for protecting card transactions using certificates and signatures; it is distinct from a payment-processing system or ordinary HTTPS.SEC22
TLS succeeds obsolete SSL and supplies an authenticated protected channel.SEC21
HTTPS is HTTP over TLS.SEC21
Question 160
What is Session Hijacking?
Hint / Module Reference (Where to Read)
Identify the trust claim or communication mapping being abused.
Answer: Session hijacking is taking over an existing authenticated session by stealing or predicting a valid session token. Defenses include protected transport, regenerating IDs after login, restrictive cookie handling and server-side authorization on sensitive requests.
SEC05 identifies token possession/prediction as the takeover path. Establishing a secure initial login does not alone protect the later bearer token, and checking authorization on every sensitive action remains necessary. The mechanism differs from replaying an old message, although stolen session material can enable reused requests.
Evidence in the complete study note
Masquerade claims another identity. ARP spoofing poisons local IPv4-to-MAC associations; DNS spoofing/cache poisoning supplies false name resolutions; IP spoofing falsifies a source address. An intermediary attack intercepts and can alter exchanges. A replay reuses a valid old message; nonces, timestamps and sequence checks can reject it. Session hijacking steals or predicts a valid session token. Protect transport, regenerate session IDs after login, restrict cookies and check authorization server-side on every sensitive request.SEC05
Question 161
What is a firewall and what are its three characteristics as a 'reference monitor'?
Hint / Module Reference (Where to Read)
Separate security-policy enforcement and assurance from ordinary OS features.
Answer: A firewall enforces traffic policy on flows it mediates. As a reference-monitor design, enforcement must cover every relevant access, resist tampering and be small/simple enough to analyze. For a firewall this is its traffic boundary, not every host-memory operation.
SEC28 defines the three reference-monitor requirements and explicitly limits a firewall to traversing traffic. SEC23 describes policy enforcement and bypass limits. Thus complete mediation requires preventing alternate paths within the claimed boundary; deploying a firewall does not make it a universal host security kernel.
Evidence in the complete study note
A reference monitor is an abstract access-checking mechanism: it must mediate every relevant access, resist tampering and be sufficiently small/simple to analyze. A security kernel implements core enforcement. A firewall can mediate its traversing traffic but cannot enforce every host-memory access. Assurance is justified confidence that controls implement the claims; functionality is what controls claim to do. A GUI or multitasking support alone does not establish trust.SEC28
A firewall enforces traffic policy.SEC23
Bypass paths, insiders, encrypted uninspected content and infected removable media limit firewall protection.SEC23
Question 162
What is the key difference between a Packet-Filtering firewall and a Stateful Inspection firewall?
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Answer: A stateless packet-filtering firewall matches each packet’s header fields such as addresses, protocol and ports. Stateful inspection also tracks permitted connection context, allowing decisions based on whether traffic belongs to an allowed exchange.
SEC23 distinguishes header matching from connection-aware inspection. Both can filter ports, so the difference is not port-filtering capability alone. State tracking does not imply unlimited application-content understanding or automatic encryption; those are additional, separate functions.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Question 163
What is an Application-Level Gateway (proxy firewall)?
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Answer: An application-level gateway/proxy terminates and relays application exchanges on behalf of clients/services and can inspect application content. It differs from a simple header packet filter or circuit relay that lacks full application-content interpretation.
SEC23 defines the proxy by its application mediation boundary. It can enforce application-specific policy because it participates in the exchanges rather than merely routing packets. That role does not inherently mean encryption or protection against traffic that bypasses the proxy.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Question 164
What is the difference between an IDS and an IPS?
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
Answer: An IDS detects suspicious activity and alerts. An IPS can enforce prevention/blocking, usually on the traffic path. Both need contextual analysis because false positives and missed attacks remain possible.
SEC24 makes action the distinction, independently of host/network sensor location or signature/anomaly detection method. Observing a suspected attack does not itself prevent it. Inline blocking can affect legitimate service when an alert is false, so evidence and policy determine the appropriate response.
Evidence in the complete study note
An IDS observes and alerts; an IPS can enforce blocking, usually inline. Host-based sensors examine host events, network-based sensors inspect traffic. Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior. Neither guarantees every attack is detected; anomaly detection can raise many false positives, and signatures can sometimes match variants.SEC24
A true positive is a real attack detected, false negative is a missed attack, false positive is innocent activity flagged, and true negative is innocent activity accepted.SEC24
Obfuscation makes code harder to understand and can hamper analysis, but does not reliably protect embedded secrets or remove vulnerabilities.SEC24
Question 165
What are the two main types of IDS detection methods?
Hint / Module Reference (Where to Read)
Separate observation from blocking and sensor placement from detection method.
Answer: The two main detection methods are signature-based and anomaly-based. Signatures recognize known patterns; anomaly methods compare behavior with a baseline and may find novel deviations. Both can miss attacks or produce false positives.
SEC24 explicitly gives these methods and their limitations. A deviation is not automatically malicious, and a matching signature does not prove every attack variant is captured. Host-based versus network-based describes sensor placement, a different classification from how the detection decision is made.
Evidence in the complete study note
An IDS observes and alerts; an IPS can enforce blocking, usually inline. Host-based sensors examine host events, network-based sensors inspect traffic. Signature detection recognizes known patterns; anomaly detection compares with a baseline and may detect novel behavior. Neither guarantees every attack is detected; anomaly detection can raise many false positives, and signatures can sometimes match variants.SEC24
Detecting 90 of 100 spam messages with five innocent messages flagged gives recall90%, precision90/95≈94.7%.SEC24
A true positive is a real attack detected, false negative is a missed attack, false positive is innocent activity flagged, and true negative is innocent activity accepted.SEC24
Question 166
What limitation does a firewall have regarding data outside its perimeter?
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Answer: A firewall cannot enforce policy on data or attack paths that bypass it. Insiders, removable media and uninspected encrypted content can evade its protection, so outside/perimeter-bypassing data needs endpoint, access and other controls.
SEC23 confines firewall protection to traffic actually mediated and inspectable under its design. A boundary rule does not sanitize every file after it arrives through another path. This is a scope limitation rather than proof that firewalls are useless or that all encrypted traffic is malicious.
Evidence in the complete study note
Host firewalls protect individual machines; network firewalls segment networks and can create a DMZ for public-facing services. Rules should be explicit, ordered as implemented, least-privilege and logged appropriately. Stateful and next-generation devices can also filter ports; port filtering is not exclusive to one firewall category. Bypass paths, insiders, encrypted uninspected content and infected removable media limit firewall protection. Hardware firewall does not imply any fixed number of ports.SEC23
Question 167
What is PGP (Pretty Good Privacy) and what security services does it provide?
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
Answer: PGP (Pretty Good Privacy)/OpenPGP combines symmetric encryption for content, public-key handling of content keys and digital signatures. It can provide confidentiality and integrity/origin-authentication evidence according to which operations are used and how keys are validated.
SEC22 gives the hybrid composition and SEC20 explains signature scope. A signature alone does not conceal content; encryption alone is not the same as a validated signature. Recipient/signer key authenticity and custody therefore matter to the protection actually obtained.
Evidence in the complete study note
PGP/OpenPGP combines symmetric content protection with public-key key handling and signatures. S/MIME uses certificates for signed and/or enveloped MIME content. Signatures can be sent separately/clear-signed without confidentiality; enveloped data encrypts content and wraps content keys for recipients. SET, Secure Electronic Transaction, was a Visa/Mastercard-led specification for protecting card transactions using certificates and signatures; it is distinct from a payment-processing system or ordinary HTTPS.SEC22
PGP expands to Pretty Good Privacy; its message-protection design combines conventional and public-key encryption with digital signatures.SEC-S03
Verification checks origin/integrity under key-identity and key-custody assumptions; it does not conceal content.SEC20
Question 168
What is S/MIME and how does 'Signed and Enveloped Data' work?
Hint / Module Reference (Where to Read)
Match the communication task to the protocol and trace key handling separately from signing.
Answer: S/MIME protects MIME messages using certificates for signatures and/or enveloped encryption. In sign-then-encrypt, sign the MIME entity, package its content/signature, encrypt it with a fresh symmetric content key and protect that key for each recipient. The recipient recovers the key, decrypts, then verifies with the validated signer certificate.
SEC22 specifies this construction while allowing other nesting orders with different coverage. Signed data supplies origin/integrity evidence without inherently concealing content; enveloped data encrypts content and wraps keys. Signing is not generic private-key encryption of the whole message, and certificate/key validation is essential to interpreting verification.
Evidence in the complete study note
PGP/OpenPGP combines symmetric content protection with public-key key handling and signatures. S/MIME uses certificates for signed and/or enveloped MIME content. Signatures can be sent separately/clear-signed without confidentiality; enveloped data encrypts content and wraps content keys for recipients. SET, Secure Electronic Transaction, was a Visa/Mastercard-led specification for protecting card transactions using certificates and signatures; it is distinct from a payment-processing system or ordinary HTTPS.SEC22
A recipient recovers the key, decrypts the signed entity and verifies its signature using the validated signer certificate/public key.SEC22
One signed-and-encrypted S/MIME construction first signs the MIME entity, packages its content and signature, then encrypts that signed entity with a fresh symmetric content key.SEC22
Question 169
What is a Circuit-Level Gateway and what OSI layer does it operate at?
Hint / Module Reference (Where to Read)
Identify which traffic is mediated and what information drives the device's decisions.
Answer: A circuit-level gateway relays connections, commonly using SOCKS, without full application-content interpretation. Textbook OSI mappings associate it with session/transport functions rather than a universally fixed physical OSI device layer. It need not encrypt traffic or constitute a VPN.
A circuit gateway relays connections, while application proxies inspect content and packet filters match headers. The session/transport layer label is a teaching mapping; the relay function is the stable distinction. Unspecified circuit gateways must not be assumed to supply authenticated encrypted tunnels.
Evidence in the complete study note
A firewall enforces traffic policy. Stateless packet filtering matches headers such as source/destination, protocol and ports. Stateful inspection tracks permitted connection context; application proxies terminate and relay application exchanges and can inspect their content. A circuit gateway relays connections, commonly SOCKS, without full application-content interpretation; textbooks associate it with session/transport functions. Such a gateway need not encrypt and is not automatically a VPN.SEC23
Question 170
In the RSA example where p=3, q=13, and public key e=3, what is the ciphertext for plaintext m=5?
Hint / Module Reference (Where to Read)
Check key-generation conditions as well as modular arithmetic.
Answer: The modular exponentiation gives c=5^3 mod(3×13)=125 mod39=8. However φ=(3−1)(13−1)=24 and gcd(3,24)=3, so e=3 has no modular inverse. This is an arithmetic result, not a valid RSA encryption/decryption key pair.
SEC19 explicitly identifies the defective source example. Showing ciphertext 8 must not endorse the key setup: RSA requires e coprime to φ so a private exponent can invert it. The calculation and the validity check answer different parts of the example, and both must be preserved.
Evidence in the complete study note
For textbook RSA choose distinct primes p,q; n=pq and φ=(p-1)(q-1). Choose 1<e<φ with gcd(e,φ)=1, then compute d=e^-1 modφ. Public key is (n,e), private includes d. Encrypt 0≤m<n by c=m^e modn; decrypt by m=c^d modn. Use modular repeated squaring for large exponents. Real RSA requires appropriate standardized padding; raw arithmetic is not a secure deployment recipe.SEC19
With p=3,q=13,e=3,m=5, 5^3 mod39=8 arithmetically, but gcd(3,24)=3, so e has no inverse and this is not a valid RSA key.SEC19
Check key validity before treating arithmetic results as a working encryption/decryption pair.SEC19
Question 171
What is the Hill Cipher and why is it considered strong?
Hint / Module Reference (Where to Read)
Identify the cipher's unit, key structure and assumptions before judging its strength.
Answer: Hill is a polygraphic matrix substitution cipher, C=KP mod26. Its key must be invertible modulo 26, with determinant coprime to 26. It is not strong by modern standards: enough independent known plaintext/ciphertext blocks reveal the key through its linear structure.
SEC14 rejects the supplied claim of known-plaintext resistance. Combining letters into vectors does not remove linear algebraic relationships, and a large-looking matrix key is not proof of modern security. The correct answer explains the construction while correcting the question’s implied blanket strength claim.
Evidence in the complete study note
Hill uses C=KP mod26 for letter vectors. K needs an inverse modulo26, equivalently determinant coprime to26. It is linear: enough independent known plaintext/ciphertext blocks reveal K=CP^-1 mod26. Hill is vulnerable to known-plaintext attacks; polygraphic substitution alone is not modern strength.SEC14