Courseiva

CCNA Security Architecture and Engineering Questions

57 questions · Security Architecture and Engineering · All types, answers revealed

1
MCQmedium

A security architect is deploying a public key infrastructure (PKI) and wants to ensure that certificate revocation status is verified efficiently without relying on a centralized CRL distribution point. Which technique should be used?

A.Certificate Transparency Logs
B.OCSP Stapling
C.Certificate Pinning
D.Self-Signed Certificates
AnswerB

OCSP Stapling is an efficient method for web servers to provide clients with the revocation status of their own SSL/TLS certificates during the TLS handshake. The server periodically queries the Certificate Authority's (CA) Online Certificate Status Protocol (OCSP) responder for its certificate's status, caches the signed response, and "staples" it to the certificate sent to the client. This significantly improves privacy and performance by eliminating the need for each client to directly query the OCSP responder, reducing latency and server load.

Why this answer

OCSP stapling allows a TLS server to present a signed OCSP response from the CA, reducing load on the CA and providing timely revocation status.

2
MCQeasy

A company is implementing an access control system where permissions are granted based on attributes such as user role, department, time of day, and device trust score. This approach allows for fine-grained policies that can adapt to context. Which access control model is being used?

A.MAC (Mandatory Access Control)
B.ABAC (Attribute-Based Access Control)
C.DAC (Discretionary Access Control)
D.RBAC (Role-Based Access Control)
AnswerB

Attribute-Based Access Control (ABAC) is the correct choice because it dynamically evaluates a comprehensive set of attributes associated with the subject (user), object (resource), and environment (e.g., time of day, location, device security posture) to make real-time access decisions. This model offers fine-grained control and exceptional flexibility, allowing policies to be expressed as logical rules that combine various contextual factors beyond just roles or labels.

Why this answer

ABAC (Attribute-Based Access Control) uses attributes of the user, resource, and environment to determine access. It is more flexible than RBAC or MAC.

3
Multi-Selectmedium

A security architect is evaluating access control models for a healthcare system where users have specific roles (e.g., doctor, nurse, admin) and permissions are assigned based on those roles. However, the architect also wants to incorporate attributes such as time of day, patient consent status, and device type. Which TWO models should be combined to meet these requirements?

Select 2 answers
A.Clark-Wilson
B.MAC
C.ABAC
D.RBAC
E.DAC
AnswersC, D

Attribute-Based Access Control (ABAC) is a dynamic access control model that evaluates a set of attributes associated with the subject (user), object (resource), action (operation), and environment (context) to make real-time access decisions. This highly flexible approach allows for fine-grained control, enabling policies like "a manager in department X can approve expenses up to $500 during business hours." ABAC provides unparalleled granularity and adaptability, making it suitable for complex, evolving access requirements.

Why this answer

RBAC provides role-based permissions, while ABAC adds flexibility with attributes. Combining them allows fine-grained control.

4
Multi-Selectmedium

A security engineer is hardening a web application against race condition vulnerabilities. Which TWO techniques are effective mitigations?

Select 2 answers
A.Enabling ASLR
B.Input validation
C.Implementing file locking
D.Using prepared statements
E.Use of atomic transactions
AnswersC, E

Implementing file locking is an effective mechanism to prevent race conditions when multiple processes or threads attempt to access and modify the same file concurrently. A file lock ensures that only one process can hold the lock and access the critical section of code involving file operations at any given time. This serialization of access prevents inconsistent states or data corruption that could occur if operations like reading, modifying, and writing were interleaved unpredictably by competing processes, thereby maintaining data integrity.

Why this answer

Using atomic operations and implementing proper locking mechanisms prevent race conditions. Input validation alone does not prevent race conditions.

5
MCQmedium

A security analyst is investigating a potential covert timing channel in a system. Which of the following characteristics best describes this type of channel?

A.It requires high bandwidth to be effective
B.It modulates the time between events to encode information
C.It uses storage locations not normally accessible to the sender and receiver
D.It uses encryption to hide the content of the communication
AnswerB

A covert timing channel encodes information by precisely modulating the temporal relationship between observable events within a shared system. This involves a sender manipulating the timing of an action, like delaying a process or altering packet transmission intervals, which a receiver then observes and decodes based on the temporal variations. For example, a short delay might represent a '0' bit, while a longer delay signifies a '1' bit, transmitting data without using explicit storage or direct communication channels.

Why this answer

A covert timing channel uses the timing of events (e.g., response times) to transmit information, bypassing security controls.

6
MCQmedium

A security analyst is investigating a potential data leak via covert channels. Which of the following is an example of a timing covert channel?

A.Modifying unused fields in network packets
B.Encoding data in the TCP sequence number
C.Writing data to a shared disk file
D.Varying the spacing between keystrokes
AnswerD

Varying the spacing between keystrokes is a classic example of a timing covert channel. The secret information is not stored in any persistent state or modified data field, but rather conveyed through the temporal relationship between events. By subtly altering the inter-event delay, such as the time between keystrokes, the sender encodes data that the receiver can decode by observing these timing variations.

Why this answer

A timing covert channel uses variations in timing (e.g., response time) to encode information, rather than storing data in shared resources.

7
MCQmedium

An organization is evaluating a Time-of-Check to Time-of-Use (TOCTOU) vulnerability in a file access routine. The routine checks if a user has permission to open a file, then later opens the file. Which of the following best describes the potential exploitation?

A.An attacker exploits a weak cryptographic algorithm
B.An attacker modifies the file after the permission check but before the open operation
C.An attacker performs a buffer overflow to gain elevated privileges
D.An attacker intercepts the network traffic to steal credentials
AnswerB

This scenario precisely describes a Time of Check to Time of Use (TOCTOU) vulnerability, where a system first checks a resource's state, such as file permissions, and then later uses that resource, like opening the file. An attacker exploits the brief interval between these two operations to maliciously alter the file, for instance, by replacing a legitimate file with a symlink to a sensitive system file. This allows the attacker to bypass the initial security check and gain unauthorized access or control over the system's subsequent actions.

Why this answer

A TOCTOU attack occurs when the resource state changes between the check and the use. For example, an attacker could replace the file after authorization but before open.

8
MCQmedium

A security architect is selecting a cryptographic algorithm for encrypting data at rest in a backup system. The system requires strong security with a block cipher, and the organization mandates using a NIST-approved algorithm with key sizes of 128, 192, or 256 bits. Which algorithm should be selected?

A.RC4
B.RSA
C.AES
D.3DES
AnswerC

AES (Advanced Encryption Standard) is a symmetric block cipher, widely recognized and adopted as the global standard for secure data encryption. It operates by encrypting data in fixed-size blocks (128 bits) using key sizes of 128, 192, or 256 bits, offering robust security against all known practical attacks when properly implemented. Its excellent balance of strong cryptographic properties, high performance, and efficiency makes it the optimal choice for encrypting bulk data in contemporary systems.

Why this answer

AES is a NIST-approved symmetric block cipher supporting 128, 192, and 256-bit keys. It is the standard for data at rest encryption.

9
MCQeasy

A security architect is designing a physical security perimeter for a data center. Which of the following is an example of Crime Prevention Through Environmental Design (CPTED) principle?

A.Using high fences with barbed wire around the facility
B.Designing the landscape to provide clear sightlines from the guard post
C.Deploying motion sensors and CCTV cameras
D.Installing biometric locks on all server room doors
AnswerB

Designing the landscape to provide clear sightlines from a guard post directly implements the CPTED principle of natural surveillance. By eliminating potential hiding spots and ensuring unobstructed views, this design choice increases the perceived risk for potential offenders, as they believe their actions are more likely to be observed. This proactive environmental design deters criminal activity by making illicit behavior more difficult to conceal, thereby enhancing overall security through visibility.

Why this answer

CPTED uses natural surveillance, access control, and territorial reinforcement. Clear sightlines allow monitoring and deter crime.

10
MCQeasy

Which access control model allows the data owner to determine who can access their resources, typically using Access Control Lists (ACLs)?

A.Discretionary Access Control (DAC)
B.Role-Based Access Control (RBAC)
C.Mandatory Access Control (MAC)
D.Attribute-Based Access Control (ABAC)
AnswerA

Correct. DAC allows owners to grant or deny access.

Why this answer

Discretionary Access Control (DAC) gives owners discretion over access permissions, often via ACLs.

11
MCQeasy

Which component of a trusted computing base (TCB) implements the reference monitor concept by enforcing access control decisions for all subjects and objects in the system?

A.Trusted platform module
B.Trusted computing base
C.Reference monitor
D.Security kernel
AnswerD

The security kernel is the concrete implementation of the abstract reference monitor concept within a Trusted Computing Base (TCB). It is the core of the operating system that enforces the system's access control policies, mediating all subject-object interactions to ensure security. This critical component is responsible for isolating processes, managing memory, and controlling access to resources, making it the actual mechanism that implements the TCB's security functions.

Why this answer

The security kernel is the part of the TCB that implements the reference monitor, mediating all access requests.

12
MCQmedium

A government agency requires a security model that prevents users from reading documents at a higher classification level and from writing to documents at a lower classification level. Which model enforces these constraints?

A.Bell-LaPadula
B.Brewer-Nash
C.Clark-Wilson
D.Biba
AnswerA

The Bell-LaPadula security model is specifically designed to enforce confidentiality, primarily within military and government hierarchical classification systems. It prevents unauthorized disclosure of information by implementing two core rules: the Simple Security Property (no read up) and the *-Property (no write down). This ensures that subjects can only access information at or below their security clearance level and cannot write information to a lower clearance level, thus maintaining strict confidentiality.

Why this answer

Bell-LaPadula enforces no read up (simple security property) and no write down (*-property) to ensure confidentiality.

13
MCQmedium

A security architect is designing a system for a government agency that requires strict confidentiality controls. Data must be classified at multiple levels (e.g., Top Secret, Secret, Confidential). Users at a lower classification should not be able to read data at a higher classification, and users at a higher classification should not be able to write data to a lower classification. Which security model enforces these rules?

A.Biba model
B.Clark-Wilson model
C.Brewer-Nash model
D.Bell-LaPadula model
AnswerD

The Bell-LaPadula model is a state machine model designed specifically to enforce confidentiality in systems handling classified information, such as those used by governments. It prevents unauthorized disclosure by implementing two core rules: the Simple Security Property ("no read up") and the *-Property ("no write down"). These rules ensure that subjects can only access information at or below their security clearance level and cannot write information to a lower security level, thus preventing information flow to less secure domains.

Why this answer

The Bell-LaPadula model is a state machine model focused on confidentiality. It enforces 'no read up' and 'no write down' to prevent unauthorized access to higher classification data and prevent downgrading of classified information.

14
MCQmedium

An organization requires a commercial integrity model where users cannot modify data in higher integrity levels and cannot read data from lower integrity levels. Which model should they implement?

A.Bell-LaPadula
B.Clark-Wilson
C.Biba
D.Take-Grant
AnswerC

The Biba integrity model is specifically designed to prevent data corruption and maintain data integrity by enforcing a strict hierarchical integrity policy. Its primary rules are 'no write up' (Simple Integrity Property) and 'no read down' (*-Integrity Property), which prevent subjects from writing to objects of higher integrity or reading from objects of lower integrity. This model ensures that high-integrity data is not contaminated by low-integrity data, making it ideal for scenarios requiring strong data trustworthiness.

Why this answer

The Biba model addresses integrity through *no write up* and *no read down* rules.

15
MCQmedium

Which physical security design principle emphasizes that the physical environment should be designed to discourage criminal activity by using natural surveillance, access control, and territorial reinforcement?

A.TEMPEST
B.Fail-safe
C.Layered defense
D.CPTED
AnswerD

Crime Prevention Through Environmental Design (CPTED) is a multidisciplinary approach that uses urban and architectural design to reduce the incidence and fear of crime, and improve the quality of life. It emphasizes manipulating the built environment to create a sense of ownership, increase natural surveillance, and define clear territorial boundaries. CPTED principles, such as natural access control, natural surveillance, and territorial reinforcement, directly focus on how physical design can proactively deter undesirable behavior and enhance security.

Why this answer

CPTED (Crime Prevention Through Environmental Design) uses architectural features to reduce crime.

16
Multi-Selectmedium

A security architect is designing a system that must ensure integrity of commercial transactions. Which of the following models are specifically focused on integrity? (Choose TWO)

Select 2 answers
A.Take-Grant
B.Brewer-Nash
C.Biba
D.Clark-Wilson
E.Bell-LaPadula
AnswersC, D

Biba is a formal state-machine model designed specifically to protect data integrity by preventing unauthorized modification. It operates on the principle of "no write up, no read down" to ensure that information from lower-integrity levels cannot contaminate higher-integrity levels. This makes it the ideal choice for a system where preventing data corruption and maintaining trustworthiness is the primary objective.

Why this answer

Biba is an integrity model using no write up/no read down. Clark-Wilson is a commercial integrity model based on well-formed transactions and separation of duties.

17
MCQmedium

An organization is implementing a Public Key Infrastructure (PKI) to support secure email and web communications. The PKI includes a root CA, intermediate CAs, and end-entity certificates. Which of the following best describes the role of the root CA in this hierarchy?

A.It performs key escrow for all users
B.It issues certificates directly to end users
C.It validates certificate revocation lists (CRLs)
D.It is self-signed and forms the trust anchor
AnswerD

The root CA's certificate is uniquely self-signed, meaning its public key is used to verify a signature created by its own private key, making it inherently self-authenticating. This self-signed certificate is then manually or automatically distributed and pre-installed as a trusted root in operating systems and applications. It serves as the ultimate trust anchor, the foundational point from which all other certificates in the PKI hierarchy derive their trustworthiness and validity.

Why this answer

The root CA is the top-level entity that signs its own certificate (self-signed) and issues certificates to intermediate CAs. It is the trust anchor for the entire PKI.

18
MCQhard

A financial institution must ensure that transactions are well-formed and enforce separation of duties to prevent fraud. Which security model best addresses these requirements?

A.Biba
B.Clark-Wilson
C.Brewer-Nash
D.Bell-LaPadula
AnswerB

The Clark-Wilson integrity model is specifically designed for commercial environments requiring strong data integrity, well-formed transactions, and accountability. It enforces integrity through constrained data items (CDIs) that can only be modified by certified transformation procedures (TPs), which are executed by authorized users under strict separation of duties. This model directly addresses the need for controlled, validated operations and accountability in financial systems, ensuring transactions are processed correctly and preventing fraud.

Why this answer

Clark-Wilson model defines well-formed transactions and separation of duties to maintain commercial integrity.

19
MCQeasy

Which access control model allows the owner of a resource to grant or deny access to other users?

A.Mandatory Access Control (MAC)
B.Discretionary Access Control (DAC)
C.Attribute-Based Access Control (ABAC)
D.Role-Based Access Control (RBAC)
AnswerB

Discretionary Access Control (DAC) is the correct model because it empowers the resource owner to define and modify access permissions for the resources they own. Under DAC, the owner can grant or revoke specific access rights (e.g., read, write, execute) to other users or groups, typically through mechanisms like Access Control Lists (ACLs) or permission bits. This model provides flexibility by allowing individual users to manage access to their own data and files, making it prevalent in many common operating systems.

Why this answer

Discretionary Access Control (DAC) enables resource owners to control access.

20
MCQmedium

A security architect is implementing a system that must prevent conflicts of interest for a consulting firm serving competing clients. Which security model is best suited for this requirement?

A.Take-Grant
B.Brewer-Nash
C.Clark-Wilson
D.Graham-Denning
AnswerB

The Brewer-Nash model, also known as the Chinese Wall model, is specifically designed to prevent conflicts of interest by dynamically restricting access based on prior access history. It ensures that a subject who has accessed information from one company within a "conflict of interest class" cannot subsequently access information from a competing company within the same class. This dynamic access control mechanism effectively enforces ethical walls, making it the ideal choice for scenarios requiring the prevention of information leakage between competing entities.

Why this answer

The Brewer-Nash (Chinese Wall) model prevents consultants from accessing data of competing clients once they have accessed one client's data.

21
MCQeasy

Which physical security concept uses natural surveillance, territorial reinforcement, and access control to deter crime in built environments?

A.TEMPEST
B.Faraday cage
C.Defense in depth
D.CPTED
AnswerD

Crime Prevention Through Environmental Design (CPTED) is a multidisciplinary approach that strategically uses the physical environment to reduce crime and the fear of crime. It achieves this by manipulating the built environment to enhance natural surveillance, control access, define territoriality, and maintain spaces, thereby increasing the perceived risk for offenders and reducing opportunities for crime. Natural surveillance, a core CPTED principle, involves designing spaces where legitimate users can naturally observe their surroundings, making criminal acts more difficult or noticeable.

Why this answer

Crime Prevention Through Environmental Design (CPTED) uses design principles to reduce crime opportunities.

22
Multi-Selecthard

A security engineer is investigating a covert channel in a system. Which TWO types of covert channels could be used to leak information from a high-security to a low-security process?

Select 2 answers
A.TOCTOU
B.Emanations
C.Covert timing channel
D.Side-channel
E.Covert storage channel
AnswersC, E

A covert timing channel transmits information by modulating the temporal characteristics of system events or resource access, such as the precise timing of CPU cycles, network packet delays, or disk I/O operations. A sender encodes data by introducing subtle, detectable delays or variations in these timings, which a receiver then observes and decodes. This method exploits shared system resources or observable event sequences to establish a hidden communication path, bypassing explicit security policies.

Why this answer

Covert timing channels modulate the timing of events to signal information. Covert storage channels write data to a shared resource that the other process can read.

23
MCQmedium

A financial application requires strict integrity controls to prevent unauthorized modifications. The security team implements a model where users cannot write data to higher integrity levels (no write up) and cannot read data from lower integrity levels (no read down). Which model is being applied?

A.Bell-LaPadula
B.Graham-Denning
C.Clark-Wilson
D.Biba
AnswerD

The Biba integrity model is specifically designed to prevent data corruption and maintain data integrity. It operates on two core principles: the Simple Integrity Axiom (no read down) and the * (Star) Integrity Axiom (no write up). These rules ensure that subjects cannot read data of lower integrity (to prevent being corrupted) and cannot write to data of higher integrity (to prevent corrupting it), making it ideal for applications requiring strict integrity controls.

Why this answer

Biba model enforces integrity: no write up (subjects cannot write to higher integrity objects) and no read down (subjects cannot read lower integrity data).

24
MCQeasy

Which cryptographic algorithm is an example of a symmetric stream cipher?

A.RC4
B.AES
C.3DES
D.RSA
AnswerA

RC4 is indeed a symmetric stream cipher, meaning it encrypts data one byte or bit at a time, generating a pseudorandom keystream that is then XORed with the plaintext to produce ciphertext. This approach makes it highly efficient for real-time communication and variable-length data streams, as it does not require padding to fixed block sizes. While widely used in protocols like WEP and SSL/TLS in the past, RC4 is now largely deprecated due to identified vulnerabilities when used improperly, particularly related to weak keys and non-random keystream generation.

Why this answer

RC4 is a widely known stream cipher that encrypts data one byte at a time.

25
MCQeasy

Which of the following is a primary function of a Trusted Platform Module (TPM)?

A.Encrypting network traffic
B.Providing antivirus protection
C.Enforcing access control policies
D.Storing cryptographic keys securely
AnswerD

Storing cryptographic keys securely is a core and primary function of a Trusted Platform Module (TPM). The TPM provides a tamper-resistant environment, often isolated from the main CPU, where sensitive cryptographic keys can be generated, stored, and used without being exposed to software vulnerabilities or physical attacks on the host system. This secure storage protects keys from unauthorized access and ensures their integrity, which is crucial for secure boot, disk encryption, and digital signing operations.

Why this answer

A TPM provides hardware-based secure storage for cryptographic keys, enabling secure boot and remote attestation.

26
MCQmedium

A company wants to ensure that only authorized software can run on its laptops. They decide to use a hardware component that validates the boot process by measuring each component before it loads. Which technology is being used?

A.Trusted Platform Module (TPM)
B.Trusted Execution Environment (TEE)
C.Security Kernel
D.Hypervisor
AnswerA

The Trusted Platform Module (TPM) is a secure cryptoprocessor designed to secure hardware by integrating cryptographic keys into devices. It performs a "measured boot" process, where each component loaded during startup (firmware, boot loader, operating system kernel) is cryptographically hashed and the measurements are stored in secure PCRs (Platform Configuration Registers). This allows the system to verify the integrity of the boot path and, through remote attestation, prove to a third party that the system booted with an authorized and untampered software configuration.

Why this answer

TPM (Trusted Platform Module) enables measured boot, where the TPM stores measurements of boot components and verifies their integrity.

27
MCQmedium

An organization uses a system where access decisions are based on user attributes (e.g., job title, clearance), resource attributes (e.g., classification), and environmental factors (e.g., time of day). This is an example of:

A.Role-Based Access Control (RBAC)
B.Attribute-Based Access Control (ABAC)
C.Mandatory Access Control (MAC)
D.Discretionary Access Control (DAC)
AnswerB

Attribute-Based Access Control (ABAC) is the correct answer because it defines access policies based on a combination of attributes associated with the subject (user), object (resource), action, and environment. This model allows for highly granular and dynamic access decisions, evaluating conditions like time of day, location, or resource sensitivity in real-time against defined policies.

Why this answer

Attribute-Based Access Control (ABAC) considers multiple attributes for access decisions.

28
MCQhard

A security analyst discovers that an application allows a user to read a file they just wrote before the file's integrity is verified, due to a gap between the time of check and time of use. This is an example of which vulnerability?

A.Covert channel
B.Buffer overflow
C.TOCTOU
D.Side-channel attack
AnswerC

TOCTOU, or Time-of-Check to Time-of-Use, is a specific type of race condition vulnerability that occurs when there is a delay between the time a security check is performed on a resource and the time that resource is actually used. An attacker can exploit this window by modifying the resource or its attributes after the check but before the use, thereby bypassing the intended security control. This allows the application to "allow a user" to perform an unauthorized action by manipulating the system state during the vulnerable interval.

Why this answer

TOCTOU (Time of Check to Time of Use) is a race condition where a resource is checked and then used, but the state changes in between.

29
MCQmedium

An organization implements a security model where users can only read objects at or below their security clearance, and can only write to objects at or above their clearance. This model primarily ensures:

A.Integrity
B.Confidentiality
C.Accountability
D.Availability
AnswerB

The Bell-LaPadula model is specifically designed to enforce confidentiality in multi-level security environments. It achieves this through two primary rules: the simple security property, which prevents subjects from reading objects at a higher classification level ('no read up'), and the *-property (star property), which prevents subjects from writing to objects at a lower classification level ('no write down'). These rules collectively ensure that sensitive information cannot flow downwards to less secure classifications, thereby preserving its secrecy.

Why this answer

The described model is the Bell-LaPadula model, which enforces confidentiality. In Bell-LaPadula, subjects can read objects at or below their security level (read down) and write to objects at or above their level (write up). This prevents unauthorized access to higher classified information, ensuring confidentiality.

30
MCQhard

A security team is investigating a vulnerability where an attacker can intercept and modify data as it moves between processes within a CPU's secure enclave. Which technology is designed to protect against such attacks by creating a trusted execution environment?

A.Trusted Platform Module (TPM)
B.Intel Software Guard Extensions (SGX)
C.Measured Boot
D.Secure Boot
AnswerB

Intel Software Guard Extensions (SGX) is a set of CPU instructions that allows developers to protect specific code and data from disclosure or modification. It achieves this by creating "enclaves," which are isolated, hardware-protected memory regions within an application's address space. Even if the operating system, hypervisor, or other privileged software is compromised, the code and data inside an SGX enclave remain protected, making it suitable for mitigating vulnerabilities that target runtime execution integrity and confidentiality.

Why this answer

Intel SGX provides a TEE that isolates code and data in enclaves, protecting from other processes.

31
Multi-Selecteasy

Which of the following are characteristics of a Trusted Execution Environment (TEE)? (Choose TWO)

Select 2 answers
A.It is only available in cloud environments
B.It runs as a separate virtual machine
C.It requires a TPM chip
D.It provides hardware-enforced isolation from the main OS
E.It protects code and data from unauthorized access even by the OS
AnswersD, E

A fundamental characteristic of a Trusted Execution Environment (TEE) is its ability to provide robust hardware-enforced isolation from the main operating system. This isolation ensures that code and data running within the TEE are protected from unauthorized access or tampering by the rich OS, hypervisor, or any other software running in the less privileged 'normal world.' This hardware-level separation is critical for maintaining the integrity and confidentiality of sensitive computations.

Why this answer

A TEE provides hardware-enforced isolation and a secure area for code execution, protecting sensitive data from the main OS.

32
Multi-Selecthard

A security engineer is hardening a system against buffer overflow attacks. Which of the following are effective mitigations? (Choose THREE)

Select 3 answers
A.Address Space Layout Randomization (ASLR)
B.Data Execution Prevention (DEP/NX)
C.Using unpatched software
D.Stack canaries
E.Disabling ASLR
AnswersA, B, D

Address Space Layout Randomization (ASLR) is an effective defense that randomizes the memory locations of program components, such as the stack, heap, and libraries. By making these addresses unpredictable, ASLR prevents attackers from reliably targeting specific memory addresses with malicious payloads during a buffer overflow attack. This significantly increases the difficulty of executing successful shellcode or return-oriented programming (ROP) exploits.

Why this answer

ASLR randomizes memory addresses, DEP prevents code execution on the stack/heap, and stack canaries detect buffer overflows before control data is corrupted.

33
MCQhard

A cloud service provider uses a Type 1 hypervisor to host multiple virtual machines (VMs) for different customers. Which of the following is a primary security concern specific to this architecture?

A.Virtual machine escape from one guest to the hypervisor or other guests
B.Inability to patch the hypervisor without downtime
C.Performance degradation due to resource sharing
D.Lack of support for legacy operating systems
AnswerA

Virtual machine escape is a critical security vulnerability where an attacker breaks out of the confines of a guest operating system to gain unauthorized access to the hypervisor or other virtual machines. This breach compromises the fundamental isolation provided by the hypervisor, potentially allowing an attacker to control the host system or access sensitive data across multiple tenants. It represents a severe failure of the hypervisor's security mechanisms, making it a top concern for cloud providers.

Why this answer

A VM escape attack occurs when an attacker breaks out of a VM to access the hypervisor or other VMs. This is a critical risk in multi-tenant environments.

34
Multi-Selectmedium

A company is implementing a PKI to support secure web browsing. Which of the following are commonly used to enhance the security of certificate validation? (Choose TWO)

Select 2 answers
A.OCSP stapling
B.Certificate revocation lists (CRLs)
C.Certificate pinning
D.Self-signed root certificates
E.Wildcard certificates
AnswersA, C

OCSP stapling significantly improves the efficiency and privacy of certificate revocation checks. Instead of each client directly querying the Certificate Authority's (CA) OCSP responder, the web server periodically fetches a signed OCSP response from the CA and "staples" it to its own certificate during the TLS handshake. This reduces the load on CA infrastructure, minimizes client-side latency, and enhances user privacy by preventing the CA from logging individual client queries.

Why this answer

OCSP stapling allows the server to present a timestamped OCSP response, reducing load on CA. Certificate pinning associates a host with a specific certificate or public key to prevent MITM attacks.

35
MCQmedium

A security architect is designing a system that must prevent conflicts of interest when a consultant works for two competing clients. Which security model ensures that the consultant cannot access data from one client if they have already accessed data from the other?

A.Clark-Wilson
B.Biba
C.Brewer-Nash
D.Bell-LaPadula
AnswerC

The Brewer-Nash model, also known as the Chinese Wall policy, is specifically designed to prevent conflicts of interest within organizations. It dynamically restricts a subject's access to information based on their past access history, ensuring that once a subject accesses data related to one company within a conflict-of-interest class, they cannot access data related to any competing company in that same class. This model is crucial in environments like financial services to maintain ethical conduct and prevent insider trading.

Why this answer

Brewer-Nash (Chinese Wall) model prevents conflict of interest by dynamically adjusting access based on previously accessed datasets.

36
MCQeasy

Which cryptographic algorithm is a symmetric block cipher widely used for encrypting sensitive data, with key sizes of 128, 192, or 256 bits?

A.RSA
B.RC4
C.AES
D.ECC
AnswerC

The Advanced Encryption Standard (AES) is a widely adopted symmetric block cipher, encrypting data in fixed-size blocks of 128 bits using the same secret key for both encryption and decryption. It supports key lengths of 128, 192, or 256 bits, offering robust security against brute-force attacks. As a highly efficient and secure algorithm, AES is the standard for protecting sensitive government and commercial data, making it the correct answer for a symmetric block cipher.

Why this answer

AES is a symmetric block cipher with standard key sizes of 128, 192, and 256 bits.

37
MCQhard

An organization deploys a hypervisor to host multiple virtual machines. To mitigate the risk of VM escape attacks, which of the following is the most effective security measure?

A.Disabling all unnecessary hypervisor services and applying security patches
B.Using Type 2 hypervisor only
C.Using VLANs to isolate VM traffic
D.Enabling VM snapshots for quick recovery
AnswerA

Disabling unnecessary hypervisor services significantly reduces the attack surface by removing potential entry points and unneeded code that could harbor vulnerabilities. Concurrently, applying security patches promptly addresses known flaws and exploits, preventing attackers from leveraging publicly disclosed weaknesses in the hypervisor software. This proactive combination of hardening and continuous vulnerability management is critical for maintaining the integrity and security of the virtualization layer, directly mitigating risks like VM escape.

Why this answer

Keeping the hypervisor patched and minimized reduces attack surface and addresses known vulnerabilities that could be exploited for VM escape.

38
Multi-Selectmedium

A security analyst is evaluating access control models for a healthcare organization that needs to enforce both confidentiality and integrity. Which TWO models should be considered? Select two.

Select 2 answers
A.Take-Grant
B.Bell-LaPadula
C.Biba
D.Clark-Wilson
E.Brewer-Nash
AnswersB, C

The Bell-LaPadula model is a state-machine model primarily designed to enforce confidentiality, particularly in military and government systems. It operates on the principles of 'no read up' (Simple Security Property) and 'no write down' (*-property), ensuring that subjects can only access information at or below their security clearance level and cannot write information to a lower security level. This prevents unauthorized disclosure of classified information by strictly controlling information flow.

Why this answer

Bell-LaPadula enforces confidentiality; Biba enforces integrity. Together they address both requirements.

39
MCQhard

A software vulnerability allows an attacker to overwrite a return address on the stack to execute arbitrary code. What mitigation technique randomizes the memory layout to prevent the attacker from predicting target addresses?

A.ASLR (Address Space Layout Randomization)
B.Stack canary
C.Data Execution Prevention (DEP)
D.NX bit (No-Execute)
AnswerA

ASLR (Address Space Layout Randomization) actively randomizes the base memory addresses of key program components like the executable, libraries, stack, and heap each time a program loads. This randomization makes it significantly more challenging for an attacker to reliably predict the exact memory locations of critical data or functions they intend to overwrite or jump to. By introducing unpredictability into the memory layout, ASLR directly hinders exploits that rely on fixed or predictable memory addresses.

Why this answer

ASLR (Address Space Layout Randomization) randomizes the base addresses of executable regions, making it harder to exploit buffer overflows.

40
MCQmedium

A security architect is designing a system for a military intelligence agency where data classification labels (Top Secret, Secret, Confidential, Unclassified) are mandatory. Users are cleared to a specific level and must not read data above their clearance. Which security model enforces this type of access control?

A.Bell-LaPadula model
B.Biba model
C.Brewer-Nash model
D.Clark-Wilson model
AnswerA

The Bell-LaPadula model is a state machine model primarily designed to enforce strict confidentiality in multi-level security environments, making it ideal for military systems handling classified information. It operates on two core rules: the "simple security property" (no read up), preventing subjects from reading data at a higher classification level, and the "*-property" (no write down), preventing subjects from writing data to a lower classification level. These rules ensure that information flows only upwards, effectively protecting classified data from unauthorized disclosure.

Why this answer

Bell-LaPadula focuses on confidentiality and enforces no read up (simple security property) and no write down (*-property), matching the scenario's need to prevent reading higher classified data.

41
MCQmedium

An organization wants to implement a security mechanism that ensures all accesses are mediated and cannot be bypassed, is tamperproof, and is small enough to be verified. This describes which concept?

A.Trusted Computing Base (TCB)
B.Reference Monitor
C.Trusted Platform Module (TPM)
D.Security Kernel
AnswerB

The reference monitor is an abstract, conceptual security mechanism that mediates all access attempts by subjects to objects, ensuring strict compliance with the system's defined security policy. For it to be truly effective and secure, it must possess three fundamental properties: it must be tamperproof, always invoked for every access request, and verifiable, allowing its correctness to be mathematically proven. This abstract model serves as the foundational principle for designing secure access control enforcement.

Why this answer

The reference monitor is an abstract model that enforces access control with the properties: complete mediation, tamperproof, and verifiable.

42
MCQhard

During a security audit, a vulnerability scanner reports a buffer overflow vulnerability in a legacy application. The application runs on a system with Data Execution Prevention (DEP/NX) enabled and Address Space Layout Randomization (ASLR) active. Which of the following is the most likely impact of these mitigations on a typical stack-based buffer overflow exploit?

A.They only protect heap-based overflows, not stack-based
B.They completely prevent any exploitation of buffer overflows
C.They make it harder to execute arbitrary code via injected shellcode
D.They have no effect on buffer overflow exploits
AnswerC

This statement is correct because Data Execution Prevention (DEP) directly prevents the execution of code from non-executable memory regions, such as the stack and heap, where injected shellcode typically resides. Concurrently, Address Space Layout Randomization (ASLR) randomizes the memory addresses of key program components, making it extremely challenging for an attacker to reliably predict the exact location of their injected shellcode or necessary return addresses. Together, these mechanisms significantly increase the difficulty and complexity of exploiting buffer overflows with injected shellcode.

Why this answer

DEP prevents code execution in data segments like the stack. ASLR randomizes memory addresses, making it harder for an attacker to redirect execution to injected code. Combined, they significantly raise the bar.

43
MCQhard

A security engineer is evaluating a system that uses a Trusted Platform Module (TPM) for secure boot. The TPM measures the boot components and stores the measurements in Platform Configuration Registers (PCRs). Which of the following is a primary security goal achieved by this process?

A.Ensures the boot process has not been tampered with
B.Provides full disk encryption
C.Prevents all malware from executing
D.Authenticates the user during boot
AnswerA

A Trusted Platform Module (TPM) actively measures critical boot components, including firmware, bootloaders, and operating system kernels, before they execute. These measurements are stored in Platform Configuration Registers (PCRs) and compared against known good values. If any component's measurement deviates, it indicates unauthorized modification or tampering, preventing the system from booting or alerting the user to a compromised state.

Why this answer

Measured boot ensures that each boot component's hash is extended into PCRs. The TPM can attest these measurements to a remote verifier, proving the boot integrity.

44
MCQhard

A security engineer is analyzing a vulnerability where an attacker can cause a buffer overflow on the stack. Which mitigation technique randomizes memory addresses to make it harder for the attacker to predict the location of shellcode or return addresses?

A.ASLR
B.SafeSEH
C.Stack canaries
D.DEP/NX bit
AnswerA

ASLR (Address Space Layout Randomization) is a memory protection technique that randomly arranges the positions of key data areas, such as the base of the executable, the stack, heap, and libraries, within a process's virtual address space. This randomization makes it significantly more difficult for an attacker to predict target addresses for return-oriented programming (ROP) attacks or to reliably locate malicious code or useful gadgets. By introducing unpredictability, ASLR effectively mitigates the success rate of many memory corruption exploits that rely on known memory layouts.

Why this answer

ASLR (Address Space Layout Randomization) randomizes the base addresses of stack, heap, and libraries, making it difficult for an attacker to guess memory addresses.

45
MCQhard

A company is deploying a hypervisor to run multiple virtual servers. To minimize the risk of VM escape attacks, which type of hypervisor should they choose and what hardening measure is most effective?

A.Type 1 hypervisor with minimal services and regular patching
B.Type 2 hypervisor with regular patching
C.Type 2 hypervisor with host-based firewall
D.Type 1 hypervisor with no additional hardening
AnswerA

A Type 1 hypervisor, also known as a bare-metal hypervisor, runs directly on the host hardware, significantly reducing the attack surface by eliminating the need for an underlying general-purpose operating system. Implementing minimal services further restricts potential entry points for attackers. Regular patching is critical to address known vulnerabilities, including hypervisor escape flaws, ensuring the integrity and isolation of virtual machines.

Why this answer

Type 1 hypervisors (bare-metal) have a smaller attack surface than Type 2. Regular patching and secure configuration are essential.

46
MCQmedium

A government agency requires a security model that prevents users from reading documents classified above their clearance level and from writing classified information to lower-level systems. Which model enforces these constraints?

A.Bell-LaPadula
B.Biba
C.Brewer-Nash
D.Clark-Wilson
AnswerA

The Bell-LaPadula security model is specifically designed to enforce confidentiality in multi-level security systems, making it ideal for government agencies dealing with classified information. It operates on two core rules: the Simple Security Property (no read up) and the *-Property (no write down). These rules prevent subjects from accessing information at a higher security level than their own and from writing information to a lower security level, thereby ensuring that classified data remains protected from unauthorized disclosure.

Why this answer

The Bell-LaPadula model is a state machine model that enforces confidentiality via the *no read up* (simple security property) and *no write down* (*-property) rules.

47
MCQeasy

Which type of covert channel uses the timing of events or operations to transmit information?

A.Emanations channel
B.Side channel
C.Timing channel
D.Storage channel
AnswerC

A timing channel is a specific type of covert channel that modulates information by altering the temporal characteristics of system events or operations. This involves varying the time taken for a process to complete, the delay between two events, or the order of operations, to encode and transmit data between processes that are not supposed to communicate directly. The receiver deciphers the secret message by observing these temporal variations.

Why this answer

Timing channels manipulate the timing of events to encode data, while storage channels use shared resources.

48
Multi-Selectmedium

A security engineer is hardening a system against side-channel attacks that exploit variations in execution time or power consumption. Which TWO mitigations are specifically designed to counter such attacks? Select two.

Select 2 answers
A.Data Execution Prevention (DEP)
B.Address Space Layout Randomization (ASLR)
C.Input validation
D.Constant-time algorithms
E.Noise injection in power consumption
AnswersD, E

Constant-time algorithms are specifically designed to execute in a predictable amount of time, regardless of the secret data being processed or the input values. By eliminating data-dependent branches, memory access patterns, or loop iterations, these algorithms prevent timing variations that could otherwise be observed by an attacker to infer sensitive information, such as cryptographic keys. This approach directly counters timing side-channel attacks by removing the observable timing differences.

Why this answer

Constant-time programming ensures operations take the same time regardless of inputs, and noise injection obscures power consumption patterns.

49
Multi-Selectmedium

A company is designing a secure application that requires hardware-based key storage and remote attestation. Which THREE technologies provide hardware root of trust? Select three.

Select 3 answers
A.Virtual Trusted Platform Module (vTPM)
B.Hardware Security Module (HSM)
C.Software Guard Extensions (SGX)
D.Trusted Execution Environment (TEE)
E.Trusted Platform Module (TPM)
AnswersB, D, E

A Hardware Security Module (HSM) is a dedicated physical computing device designed to protect cryptographic keys and perform cryptographic operations within a tamper-resistant and tamper-evident environment. It establishes a strong hardware root of trust, ensuring the integrity and confidentiality of critical keys even against sophisticated physical attacks. HSMs are essential for high-assurance applications requiring secure key generation, storage, and management, making them a cornerstone for robust cryptographic security and compliance.

Why this answer

TPM, TEE (e.g., Intel SGX, ARM TrustZone), and HSM provide hardware-based security functions and root of trust.

50
MCQhard

In a PKI hierarchy, a relying party needs to verify a certificate's validity. To reduce latency and improve privacy, which mechanism allows the relying party to obtain the revocation status without contacting the CA directly for each verification?

A.Certificate Transparency (CT) logs
B.Certificate pinning
C.Certificate Revocation List (CRL)
D.OCSP stapling
AnswerD

OCSP stapling, formally known as the TLS Certificate Status Request extension, allows the web server itself to query the Certificate Authority's (CA) Online Certificate Status Protocol (OCSP) responder for the revocation status of its own certificate. The server then caches this signed OCSP response and "staples" it to the TLS handshake, sending it directly to the client. This method significantly improves performance by eliminating the need for each client to contact the OCSP responder directly and enhances privacy by preventing the OCSP responder from tracking client requests.

Why this answer

OCSP stapling allows the server to provide a time-stamped OCSP response from the CA, reducing the client's need to contact the CA directly.

51
MCQeasy

A security architect is designing a physical security system for a data center. Which of the following is an example of a layered physical control at the perimeter?

A.Biometric access to server room
B.Locked server cabinets
C.CCTV in the lobby
D.Fencing around the property
AnswerD

Fencing around the property is a primary perimeter physical security control, establishing the outermost boundary of the secured area. Its purpose is to deter unauthorized entry, define the property line, and delay intruders before they can reach the building itself. This initial barrier provides the first line of defense against external threats, making it a foundational perimeter measure.

Why this answer

Fencing is a perimeter control that provides a physical barrier around the facility.

52
Multi-Selectmedium

A security architect is evaluating physical security controls for a facility handling sensitive data. Which of the following are examples of layered physical security controls? (Choose THREE)

Select 3 answers
A.Perimeter fence
B.Server rack locks
C.Mantrap at the entrance to the secure area
D.Single-factor authentication for all doors
E.Unsecured windows on ground floor
AnswersA, B, C

A perimeter fence serves as a foundational deterrent and delay mechanism, establishing the outermost boundary of a secured area. It acts as a primary physical control, designed to discourage unauthorized entry and provide early detection of intrusion attempts by forcing an attacker to spend time breaching it. This initial barrier is crucial for defining the property line and channeling legitimate access through controlled entry points.

Why this answer

Layered security uses multiple barriers: perimeter (fence), external (lighting), building (locks), secure area (mantrap), and IT area (cage). Biometrics and guards are also layers.

53
MCQeasy

Which access control model allows data owners to grant or revoke access to resources they own, typically implemented using ACLs?

A.MAC
B.RBAC
C.ABAC
D.DAC
AnswerD

Discretionary Access Control (DAC) is an access control model where the owner of a resource (or an authorized administrator) has the discretion to grant or revoke access permissions to other users. This is typically implemented using Access Control Lists (ACLs) or capabilities, allowing owners to specify who can perform specific actions (read, write, execute) on their owned objects. DAC is highly flexible and widely used in commercial operating systems because it empowers data owners to manage access to their own data.

Why this answer

DAC (Discretionary Access Control) enables owners to control access to their resources, commonly via ACLs.

54
MCQmedium

A software developer is concerned about buffer overflow vulnerabilities. Which combination of mitigations makes it most difficult for an attacker to exploit a stack-based buffer overflow?

A.Using a privileged account to run the application
B.Disabling stack protection
C.Stack canaries and NOP sleds
D.Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR)
AnswerD

Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR) are fundamental and effective mitigations against buffer overflow vulnerabilities. DEP marks memory regions, such as the stack and heap, as non-executable, preventing an attacker from executing injected shellcode directly from these areas. ASLR randomizes the memory locations of key program components, making it significantly more difficult for an attacker to predict the exact addresses needed to launch successful return-oriented programming (ROP) attacks or jump to injected code.

Why this answer

Data Execution Prevention (DEP) prevents code execution on the stack, and Address Space Layout Randomization (ASLR) randomizes memory addresses, making it harder to predict target addresses.

55
MCQmedium

A security architect is evaluating hypervisor security for a multi-tenant cloud environment. Which type of hypervisor is considered more secure because it runs directly on the hardware without a host operating system, reducing the attack surface?

A.Virtual machine monitor
B.Containers
C.Type 1 hypervisor
D.Type 2 hypervisor
AnswerC

A Type 1 hypervisor, also known as a bare-metal hypervisor, runs directly on the host hardware without an intervening operating system. This architecture provides a significantly reduced attack surface because it has a minimal codebase and fewer dependencies than a hypervisor running on a host OS. Its direct control over hardware resources and strong isolation capabilities make it the most secure choice for critical infrastructure and sensitive workloads.

Why this answer

Type 1 hypervisors (bare-metal) run directly on hardware, eliminating the OS layer that could be exploited. Examples: VMware ESXi, Hyper-V.

56
Multi-Selectmedium

A security architect is designing a system to protect against side-channel attacks that exploit electromagnetic emanations. Which TWO controls are most effective?

Select 2 answers
A.Data encryption at rest
B.TEMPEST shielding
C.Intrusion detection system
D.Time-based access controls
E.Faraday cage
AnswersB, E

TEMPEST shielding involves applying specialized materials, filters, and design principles directly to electronic equipment to suppress compromising electromagnetic emanations. This standard prevents adversaries from intercepting and reconstructing sensitive data processed by the system through transient electromagnetic pulse emanations.

Why this answer

TEMPEST shielding reduces emanations, and Faraday cages block electromagnetic signals. While physical access control is important, it does not directly address emanations.

57
Multi-Selectmedium

An organization is implementing a defense-in-depth strategy for a data center. Which THREE of the following are examples of physical security controls that align with layered defense?

Select 3 answers
A.Antivirus software
B.Intrusion detection system on the network
C.Card reader at building entrance
D.Server cage locks
E.Perimeter fencing
AnswersC, D, E

A card reader at a building entrance is a definitive physical access control mechanism, serving as a critical layer in a defense-in-depth strategy. It enforces authentication and authorization requirements before granting physical entry to a facility, directly restricting human movement and protecting all assets within from unauthorized personnel.

Why this answer

Layered physical security includes perimeter fencing, building access controls (e.g., card readers), and internal secure areas (e.g., server cages).

Ready to test yourself?

Try a timed practice session using only Security Architecture and Engineering questions.