Read each question, consider the options, then reveal the correct answer and explanation.
100 MCQs10 per page10 of 10
MCQ 91Computer Hardware & Architecture
What is the purpose of a 'victim cache' in processor cache hierarchy design?
To permanently discard evicted cache lines with no further use
A synonym for the L3 cache
To temporarily hold cache lines recently evicted from a smaller, faster cache level, giving them a chance to be quickly retrieved again if referenced soon after eviction, reducing conflict misses
A technique used only for network caches
Correct answerC — To temporarily hold cache lines recently evicted from a smaller, faster cache level, giving them a chance to be quickly retrieved again if referenced soon after eviction, reducing conflict misses
Explanation
A victim cache is a small, additional cache that temporarily holds lines recently evicted from a primary cache level, allowing them to be quickly retrieved if they are referenced again shortly after eviction, helping reduce the performance impact of conflict misses.
MCQ 92Oop & Uml
Which of the following best describes 'duck typing' combined with 'protocol' or 'structural typing' in modern statically-typed languages?
A typing approach where a type is considered compatible if it structurally has the required methods/properties, without needing to explicitly declare conformance to an interface
A requirement that types must be explicitly declared as implementing an interface, with no exceptions
A synonym for dynamic typing exclusively
A concept applicable only to abstract classes
Correct answerA — A typing approach where a type is considered compatible if it structurally has the required methods/properties, without needing to explicitly declare conformance to an interface
Explanation
Structural typing (as seen in languages like Go or TypeScript) allows a type to satisfy an interface simply by having the required methods or properties, without needing an explicit 'implements' declaration, blending static type safety with duck-typing flexibility.
MCQ 93Oop & Uml
What is the purpose of an 'anti-corruption layer' in domain-driven design, when integrating with a legacy or external system?
To physically clean corrupted hard drives
A synonym for the Facade pattern with no distinction
To provide a translation layer that isolates a system's clean domain model from the concepts and structure of an external or legacy system it integrates with, preventing those foreign concepts from leaking in
A pattern used only for database indexing
Correct answerC — To provide a translation layer that isolates a system's clean domain model from the concepts and structure of an external or legacy system it integrates with, preventing those foreign concepts from leaking in
Explanation
An anti-corruption layer acts as a translation boundary between a system's clean internal domain model and an external or legacy system's different concepts and structure, preventing the external system's model from 'corrupting' or leaking into the internal design.
MCQ 94Computer Fundamentals
Which of the following best describes the purpose of 'firmware over-the-air' (FOTA) updates on IoT and mobile devices?
To physically replace a device's internal chip
To remotely deliver and install firmware updates to a device wirelessly over a network, without requiring a physical wired connection or manual intervention
A synonym for a factory reset
A technique used only for updating desktop computers
Correct answerB — To remotely deliver and install firmware updates to a device wirelessly over a network, without requiring a physical wired connection or manual intervention
Explanation
FOTA updates allow firmware to be delivered and installed on a device remotely over a wireless network connection, without needing a physical wired connection to a computer or manual, in-person intervention, common for IoT devices, smartphones, and modern vehicles.
MCQ 95Web Technologies
Which of the following best describes the purpose of 'Content-Security-Policy report-only' mode?
To monitor and report potential Content Security Policy violations without actually enforcing or blocking them, useful for testing a policy before full deployment
To permanently block all content on a page
A synonym for enabling HTTPS
A technique used only for image compression
Correct answerA — To monitor and report potential Content Security Policy violations without actually enforcing or blocking them, useful for testing a policy before full deployment
Explanation
CSP's report-only mode allows developers to test a Content Security Policy by monitoring and logging what would have been blocked, without actually enforcing those restrictions yet, helping avoid breaking legitimate functionality before rolling out a strict policy.
MCQ 96Database Pl/sql
What is the purpose of 'row-level security' (RLS) in database systems?
To encrypt entire tables
To compress individual rows
To manage database backups
To restrict which specific rows a given user or role can view or modify, based on defined security policies, without needing separate views for each user group
Correct answerD — To restrict which specific rows a given user or role can view or modify, based on defined security policies, without needing separate views for each user group
Explanation
Row-level security allows fine-grained access control policies to be defined directly at the database level, restricting which specific rows a given user or role can see or modify, without requiring separate views or application-level filtering logic for each case.
MCQ 97Windows Linux File Systems
What is the purpose of Windows 'Virtualization-Based Security' (VBS)?
To permanently disable all virtualization features
A synonym for Hyper-V virtual machines used for testing
A feature used only for network virtualization
To use hardware virtualization capabilities to create an isolated, secure region of memory separate from the normal operating system, protecting sensitive security functions from compromise even if the OS kernel is attacked
Correct answerD — To use hardware virtualization capabilities to create an isolated, secure region of memory separate from the normal operating system, protecting sensitive security functions from compromise even if the OS kernel is attacked
Explanation
Virtualization-Based Security leverages hardware virtualization to create an isolated, protected memory region separate from the main OS, used to safeguard sensitive security functions (like Credential Guard) even if the main operating system kernel is compromised.
MCQ 98Windows Linux File Systems
What is the purpose of the Windows 'Secure Boot' UEFI feature?
To manage disk partitions
To compress files during boot
To manage network firewall rules
To verify that only trusted, digitally signed software (like the bootloader and OS) is allowed to run during the startup process, helping prevent malware from loading before the OS
Correct answerD — To verify that only trusted, digitally signed software (like the bootloader and OS) is allowed to run during the startup process, helping prevent malware from loading before the OS
Explanation
Secure Boot verifies the digital signatures of boot-time software components, ensuring only trusted, signed code (like the bootloader and OS kernel) is permitted to execute during startup, helping prevent rootkits or other malware from loading before the OS itself.
MCQ 99Operating Systems
What is the primary purpose of an operating system's 'entropy pool' used for cryptographic random number generation?
To permanently store encryption keys
To collect unpredictable data from various hardware and system events, providing a source of true randomness for generating secure cryptographic values
A synonym for the page cache
A feature used only for network timing
Correct answerB — To collect unpredictable data from various hardware and system events, providing a source of true randomness for generating secure cryptographic values
Explanation
An entropy pool gathers unpredictable data from sources like hardware interrupts, mouse movements, and disk timing, providing the randomness needed to generate cryptographically secure random numbers used in encryption keys and other security-sensitive operations.
MCQ 100Computer Hardware & Architecture
What is the purpose of a 'processor's execution ports' in superscalar architecture?
To represent the distinct internal hardware units (such as separate integer, floating-point, or load/store units) that can execute different types of operations in parallel
To provide physical network connectivity
A synonym for cache lines
A feature used only for GPU processing
Correct answerA — To represent the distinct internal hardware units (such as separate integer, floating-point, or load/store units) that can execute different types of operations in parallel
Explanation
Execution ports represent distinct internal functional units within a superscalar CPU (such as separate integer ALUs, floating-point units, and load/store units) that can process different types of operations simultaneously, enabling instruction-level parallelism.