Docsity

EITCA IS EITCA INFORMATION TECHNOLOGIES SECURITY PROGRAMME Practice Exam, Exams of Cybersecurity

Toggle sidebar
bg1
EITCA IS EITCA INFORMATION TECHNOLOGIES SECURITY
PROGRAMME Practice Exam
**Question 1. Which of the following statements correctly defines Shannon entropy?**
A) The average length of a binary code word.
B) The measure of uncertainty in a random variable.
C) The speed at which a cryptographic algorithm processes data.
D) The total number of possible keys in a cipher.
Answer: B
Explanation: Shannon entropy quantifies the average information content, i.e., the uncertainty,
associated with a random variable.
**Question 2. In Boolean algebra, which law states that A + 0 = A?**
A) Identity law
B) Null law
C) Complement law
D) Distributive law
Answer: A
Explanation: The identity law for addition (OR) states that any variable ORed with 0 yields the
variable itself.
**Question 3. Which complexity class contains problems that can be solved in polynomial time
by a deterministic Turing machine?**
A) NP
B) P
C) EXP
D) BPP
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63

Partial preview of the text

Download EITCA IS EITCA INFORMATION TECHNOLOGIES SECURITY PROGRAMME Practice Exam and more Exams Cybersecurity in PDF only on Docsity!

PROGRAMME Practice Exam

Question 1. Which of the following statements correctly defines Shannon entropy? A) The average length of a binary code word. B) The measure of uncertainty in a random variable. C) The speed at which a cryptographic algorithm processes data. D) The total number of possible keys in a cipher. Answer: B Explanation: Shannon entropy quantifies the average information content, i.e., the uncertainty, associated with a random variable. Question 2. In Boolean algebra, which law states that A + 0 = A? A) Identity law B) Null law C) Complement law D) Distributive law Answer: A Explanation: The identity law for addition (OR) states that any variable ORed with 0 yields the variable itself. Question 3. Which complexity class contains problems that can be solved in polynomial time by a deterministic Turing machine? A) NP B) P C) EXP D) BPP

PROGRAMME Practice Exam

Answer: B Explanation: Class P comprises decision problems solvable in polynomial time on a deterministic Turing machine. Question 4. The Hamming distance between two binary strings is defined as: A) The number of differing bits. B) The number of matching bits. C) The length of the shorter string. D) The sum of their bit values. Answer: A Explanation: Hamming distance counts positions where the two strings have different bits. Question 5. Which of the following is a stream cipher? A) AES B) DES C) RC D) RSA Answer: C Explanation: RC4 generates a pseudo‑random keystream that is XORed with plaintext, characteristic of stream ciphers. Question 6. In RSA, the public exponent e is typically chosen as: A) 1

PROGRAMME Practice Exam

Question 9. A Message Authentication Code (MAC) provides: A) Confidentiality only B) Integrity only C) Both integrity and authenticity D) Non‑repudiation Answer: C Explanation: MACs verify that a message has not been altered and originates from someone possessing the secret key. Question 10. Which component of a PKI issues digital certificates? A) Registration Authority (RA) B) Certificate Authority (CA) C) Validation Authority (VA) D) Revocation List Manager (RLM) Answer: B Explanation: The CA signs and issues certificates after verifying the requester’s identity. Question 11. Quantum Key Distribution (QKD) primarily relies on which quantum principle? A) Superposition B) Entanglement C) No‑cloning theorem D) Quantum tunneling

PROGRAMME Practice Exam

Answer: C Explanation: The no‑cloning theorem ensures that an eavesdropper cannot copy unknown quantum states without detection. Question 12. In the BB84 protocol, how many polarization bases are used? A) One B) Two C) Three D) Four Answer: B Explanation: BB84 uses two mutually unbiased bases (rectilinear and diagonal) to encode bits. Question 13. Shor’s algorithm threatens which class of cryptosystems? A) Symmetric block ciphers B) Hash functions C) Public‑key systems based on integer factorisation D) One‑time pads Answer: C Explanation: Shor’s algorithm can efficiently factor large integers and compute discrete logarithms, breaking RSA, DH, and ECC. Question 14. Which OSI layer is responsible for end‑to‑end reliability? A) Physical B) Data Link

PROGRAMME Practice Exam

Question 17. Which of the following is a characteristic of a star network topology? A) All nodes connect directly to each other. B) Data travels through a central hub or switch. C) There is no central device; nodes form a ring. D) Each node has a dedicated circuit. Answer: B Explanation: In a star topology, each node links to a central device that forwards traffic. Question 18. A firewall that inspects packet payloads and tracks connection state is called: A) Packet‑filtering firewall B) Circuit‑level gateway C) Stateful inspection firewall D) Application‑level proxy Answer: C Explanation: Stateful inspection firewalls maintain context about active connections and can examine payloads. Question 19. Intrusion Detection Systems (IDS) that can actively block traffic are known as: A) NIDS B) HIDS C) NIPS D) SIEM Answer: C

PROGRAMME Practice Exam

Explanation: Network‑based Intrusion Prevention Systems (NIPS) can drop or modify malicious packets in real time. Question 20. Multi‑factor authentication (MFA) typically combines which of the following factors? A) Something you know, something you have, something you are B) Something you know and something you know C) Something you have and something you have D) Something you are and something you are Answer: A Explanation: MFA uses at least two of the three categories: knowledge, possession, and inherence. Question 21. In Windows Active Directory, the default container for computer accounts is: A) Users B) Computers C) Domain Controllers D) Built‑in Answer: B Explanation: The “Computers” container holds computer objects unless a different OU is specified. Question 22. Which protocol provides secure remote desktop access over TLS? A) RDP B) VNC

PROGRAMME Practice Exam

Question 25. Which Linux file system permission bit controls execution of a file? A) Read (r) B) Write (w) C) Execute (x) D) Sticky (t) Answer: C Explanation: The execute bit (x) allows a file to be run as a program. Question 26. The sudoers file is used to: A) Define network interfaces. B) Grant users root‑level privileges on a per‑command basis. C) Store user passwords. D) Schedule cron jobs. Answer: B Explanation: /etc/sudoers specifies which users may run which commands as root via sudo. Question 27. Which of the following daemons is responsible for serving web pages on a typical Linux system? A) sshd B) httpd (Apache) C) vsftpd D) mysqld Answer: B

PROGRAMME Practice Exam

Explanation: httpd (or apache2) is the Apache web server daemon handling HTTP requests. Question 28. OWASP Top 10 category “Broken Authentication” primarily concerns: A) SQL injection vulnerabilities. B) Weak password policies and session management flaws. C) Cross‑site scripting. D) Insecure deserialization. Answer: B Explanation: Broken authentication covers issues like credential stuffing, weak passwords, and insecure session handling. Question 29. Which HTTP header is used to mitigate Cross‑Site Scripting (XSS) attacks? A) Content‑Security‑Policy B) Server C) Cache‑Control D) Accept‑Encoding Answer: A Explanation: CSP allows developers to define approved content sources, reducing the risk of injected scripts executing. Question 30. In SQL injection, the attacker’s goal is to: A) Overload the server with traffic. B) Modify the database schema. C) Execute arbitrary SQL commands.

PROGRAMME Practice Exam

Question 33. In DREAD risk assessment, which factor evaluates the likelihood of an attack being successful? A) Damage potential B) Reproducibility C) Exploitability D) Affected users Answer: C Explanation: Exploitability measures how easy it is for an attacker to exploit a vulnerability. Question 34. Which of the following is a characteristic of a “silent” data exfiltration technique? A) Generates large volumes of traffic visible to IDS. B) Uses encrypted channels to hide data. C) Requires physical access to the server. D) Sends data only during business hours. Answer: B Explanation: Silent exfiltration often leverages encrypted protocols (e.g., HTTPS) to evade detection. Question 35. The principle of “defence in depth” suggests: A) Using a single, strong firewall. B) Relying solely on encryption. C) Implementing multiple layers of security controls. D) Disabling all network services.

PROGRAMME Practice Exam

Answer: C Explanation: Defence in depth advocates layered security to provide redundancy if one control fails. Question 36. Which of the following is a characteristic of a “zero‑day” vulnerability? A) It has been patched by the vendor. B) It is publicly known for more than a year. C) No fix exists at the time of discovery. D) It only affects legacy systems. Answer: C Explanation: Zero‑day vulnerabilities are unknown to the vendor and lack an available patch. Question 37. In a public‑key infrastructure, a certificate revocation list (CRL) is used to: A) Store private keys. B) List certificates that have been revoked before expiration. C) Generate new keys automatically. D) Encrypt email messages. Answer: B Explanation: CRLs contain serial numbers of certificates that are no longer trusted. Question 38. Which of the following best describes a “man‑in‑the‑middle” (MITM) attack? A) An attacker blocks all traffic between two hosts. B) An attacker intercepts and possibly alters communication between two parties.

PROGRAMME Practice Exam

Question 41. In the context of cryptographic hash functions, a “collision” occurs when: A) Two different inputs produce the same hash output. B) The hash output is longer than the input. C) The hash function is reversible. D) The hash output is all zeros. Answer: A Explanation: A collision is when distinct messages map to the same hash value, undermining uniqueness. Question 42. Which of the following is a post‑quantum cryptographic algorithm? A) RSA‑ 2048 B) ECC‑P‑ 256 C) Lattice‑based (e.g., Kyber) D) SHA‑ 256 Answer: C Explanation: Lattice‑based schemes like Kyber are believed to resist attacks from quantum computers. Question 43. Which quantum gate is equivalent to the classical NOT operation? A) Hadamard (H) B) Pauli‑X (X) C) Phase (S) D) CNOT

PROGRAMME Practice Exam

Answer: B Explanation: The Pauli‑X gate flips the qubit state |0⟩ ↔ |1⟩, analogous to a NOT. Question 44. In quantum computing, Grover’s algorithm provides a quadratic speedup for which type of problem? A. Factoring large integers B. Unstructured search C. Solving linear equations D. Simulating quantum systems Answer: B Explanation: Grover’s algorithm reduces the search complexity from O(N) to O(√N) for unsorted databases. Question 45. Which of the following best describes the “no‑write‑down” rule in the Bell‑LaPadula model? A) Subjects cannot read objects at a higher classification. B) Subjects cannot write to objects at a lower classification. C) Subjects can read any object but only write to lower ones. D) Subjects can write to any object but cannot read higher ones. Answer: B Explanation: The “no‑write‑down” (∗‑property) prevents information leakage from higher to lower security levels. Question 46. In the context of firewalls, a “DMZ” (demilitarized zone) is used to: A) Host internal databases only.

PROGRAMME Practice Exam

Question 49. Which of the following is a primary benefit of using a bastion host? A) It stores all user passwords centrally. B) It provides a hardened entry point for remote access. C) It replaces the need for VPNs. D) It automatically patches all internal servers. Answer: B Explanation: A bastion host is a hardened system that mediates external connections to internal resources. Question 50. In the context of file permissions, the “sticky bit” on a directory ensures that: A) Only the owner can delete files within the directory. B) All users can read files but not write. C) Files cannot be renamed by anyone. D) New files inherit the directory’s permissions. Answer: A Explanation: The sticky bit (t) on a directory (e.g., /tmp) allows only the file’s owner, the directory owner, or root to delete or rename files. Question 51. Which of the following attacks exploits the trust relationship between a user’s browser and a web application to perform unauthorized actions? A) SQL injection B) Cross‑Site Request Forgery (CSRF) C) Clickjacking D) Session fixation

PROGRAMME Practice Exam

Answer: B Explanation: CSRF tricks a logged‑in user’s browser into sending a forged request to a vulnerable site. Question 52. Which of the following is a characteristic of a “sandbox” in application security? A) It encrypts all application data at rest. B) It runs code in an isolated environment to limit system impact. C) It provides unlimited network access to the application. D) It disables all logging mechanisms. Answer: B Explanation: Sandboxing confines execution, preventing malicious code from affecting the host system. Question 53. In a PKI, what does the term “certificate chaining” refer to? A) Linking multiple certificates to form a hierarchical trust path. B) Combining two certificates into one file. C) Encrypting a certificate with a private key. D) Revoking a certificate automatically. Answer: A Explanation: Certificate chaining builds a path from an end‑entity certificate up to a trusted root CA. Question 54. Which of the following best describes a “rainbow table” attack?