Microsoft’s Early Beginnings
- 128Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
128 questions
- 1The software Allen and Gates hoped to develop for the Altair 8800 was an implementation of_____.
Hint
It is a programming language they planned to implement for the new computer.
Answer
BASIC
Explanation
Allen and Gates sought a contract to develop an implementation of BASIC for the Altair 8800.
- 2The company that released the Altair 8800 was_____.
Hint
This company manufactured the Altair 8800.
Answer
MITS
Explanation
MITS released the Altair 8800 at a price that consumers could afford, creating an opportunity for Allen and Gates.
- 3Microsoft licensed its modified version of 86-DOS to IBM as_____.
Hint
It was the operating system Microsoft licensed to IBM after acquiring 86-DOS.
Answer
MS-DOS
Explanation
Microsoft acquired 86-DOS, modified it, and licensed it to IBM as MS-DOS.
- 4The 1985 release of Windows was a_____running on top of DOS.
Hint
It provided a visual way to interact with the computer rather than only using text commands.
Answer
graphical interface
Explanation
Windows first appeared as a graphical interface running on top of DOS.
- 5A unit of data consisting of 8 bits is a_____.
Hint
It is the standard unit made up of eight bits.
Answer
byte
Explanation
A byte consists of 8 bits and is a common unit for measuring data.
- 6In the described size convention, a 16-bit unit is a_____.
Hint
It is twice the size of a byte in this context.
Answer
word
Explanation
In the terminology described, a word represents 16 bits.
- 7A unit that is 2 times the size of a word is a_____.
Hint
It is one of the larger units formed by multiplying a word's size.
Answer
double word
Explanation
A double word is twice the size of a word.
- 8A unit that is 4 times the size of a word is a_____.
Hint
It is four times as large as a word.
Answer
quadruple word
Explanation
A quadruple word is four times the size of a word.
- 9Once a program has been executed and loaded into memory, it is called a_____.
Hint
It is the running form of a program.
Answer
process
Explanation
A program that has been executed and loaded into memory is called a process.
- 10Virtual memory constricts each process into its own_____.
Hint
It is the set of memory addresses available to a process.
Answer
address space
Explanation
An address space is the range of addresses a process uses to access its memory; virtual memory gives each process its own.
- 11The chunks of memory associated with applications through address translation tables are called_____.
Hint
These are the chunks of memory described by the tables.
Answer
pages
Explanation
Virtual memory divides memory into chunks called pages, which are associated with processes through address translation tables.
- 12When shared library pages should be copied only when a process writes to them, the page table entries specify_____.
Hint
This mechanism delays copying shared data until a process tries to modify it.
Answer
copy-on-write
Explanation
With copy-on-write, processes can initially share a physical page, but a writing process receives a private copy when it modifies that page.
- 13A usual memory page is_____in size.
Hint
This is the usual page size, equivalent to 4096 bytes.
Answer
4 kilobytes
Explanation
A standard page is usually 4096 bytes, or 4 kilobytes.
- 14Pages of 2 megabytes are called_____.
Hint
This page type is larger than a standard page but smaller than a giant page.
Answer
huge pages
Explanation
The system can use huge pages of 2 megabytes instead of the usual 4-kilobyte pages.
- 15Pages of 1 gigabyte are called_____.
Hint
This is the 1-gigabyte page type.
Answer
giant pages
Explanation
The described system can use giant pages that are 1 gigabyte in size.
- 16The virtual address translation scheme described usually uses_____of tables.
Hint
This is the usual number of table layers in the described arrangement.
Answer
four levels
Explanation
The described virtual address translation usually uses four levels of tables.
- 17Each memory translation table contains_____entries.
Hint
This is the number of entries in each table.
Answer
512
Explanation
Each table has 512 entries, with each entry pointing to a lower-level table except at the final level.
- 18The virtual address uses_____to index into each table level before the final page offset.
Hint
Each table index in the described scheme uses this many bits.
Answer
9 bits
Explanation
Nine bits of a virtual address index into each of the first three levels of tables.
- 19The final_____of a virtual address offset into a 4096-byte page.
Hint
Since 4096 is a power of two, this many bits select a byte within the page.
Answer
12 bits
Explanation
The final 12 bits of the virtual address provide the offset into a 4096-byte page.
- 20Each memory table entry is_____wide.
Hint
This is the bit width of an individual table entry.
Answer
64 bits
Explanation
Each entry in the described memory tables is 64 bits in size.
- 21A table of 512 entries, each 64 bits long, occupies_____.
Hint
Multiplying 512 entries by 8 bytes per entry gives this size.
Answer
4096 bytes
Explanation
A table with 512 entries of 64 bits each occupies 4096 bytes, the same size as a standard memory page.
- 22Pages containing Windows system code are marked with the_____so user-mode code cannot access them.
Hint
This page-table bit restricts access to privileged execution.
Answer
kernel bit
Explanation
The kernel bit marks mapped system pages so that they are accessible only when the CPU is in privileged mode.
- 23On x86-64, the register that points to the current instruction is_____.
Hint
This register tracks the current position in the instruction stream.
Answer
RIP
Explanation
RIP, the instruction pointer, points to the instruction currently being executed by a core.
- 24The execution unit that handles arithmetic operations is the_____.
Hint
It is the execution unit named for arithmetic and logic.
Answer
ALU
Explanation
The arithmetic logical unit handles arithmetic operations and, as its name indicates, logical operations.
- 25The CPU component responsible for handling virtual memory is the_____.
Hint
This CPU component is responsible for managing memory translation.
Answer
MMU
Explanation
The memory management unit handles memory operations, including virtual memory.
- 26The large CPU cache shared between all cores is the_____cache.
Hint
It is the higher-numbered cache level described as shared between cores.
Answer
L3
Explanation
The L3 cache is a large cache shared among all processor cores.
- 27A function's return value is often stored in the_____register.
Hint
This general-purpose register commonly carries a function result.
Answer
RAX
Explanation
Although registers such as RAX have no mandatory role, RAX is often used to hold a function's return value.
- 28On x86-64, accessing_____reads the first 32 bits of RAX.
Hint
This register name refers to the lower 32-bit portion of RAX.
Answer
EAX
Explanation
EAX accesses only the first 32 bits of the RAX register.
- 29The CPU uses_____as a bitfield for conditions and configuration.
Hint
This register holds status and control flags.
Answer
RFLAGS
Explanation
RFLAGS is a bitfield that records CPU conditions and configuration, including the zero flag.
- 30The sixth bit in RFLAGS is the_____; when set after a test, it indicates a zero value.
Hint
It indicates whether a tested value equals zero.
Answer
zero flag
Explanation
If the zero flag is set after testing a register, the value in that register is zero.
- 31Only the_____part of RFLAGS is accessible in user mode.
Hint
This is the accessible portion of the flags register in user mode.
Answer
EFLAGS
Explanation
In the described system, only the EFLAGS portion of RFLAGS is accessible in user mode.
- 32The register that stores the current program's first-level translation table is_____.
Hint
This control register points to the top level of the current address translation tables.
Answer
CR3
Explanation
CR3 stores the first-level table used to translate the current program's virtual addresses.
- 33The individual execution contexts contained in a process are its_____.
Hint
These are the execution contexts that run within a process.
Answer
threads
Explanation
A process contains threads, each representing an execution context and associated CPU state.
- 34A thread's fixed-size memory area for local variables and function arguments is its_____.
Hint
Functions use this per-thread memory area for local data and arguments.
Answer
stack
Explanation
Each thread has a fixed-size, readable and writable stack for function arguments and local variables.
- 35The portion of a thread's stack reserved for a function is called a_____.
Hint
It is the function-specific region of the stack.
Answer
stack frame
Explanation
A stack frame is the portion of the thread stack reserved for a particular function.
- 36The register that points to the top of the stack is_____.
Hint
This register tracks the top of the stack.
Answer
RSP
Explanation
RSP is the stack pointer and points to the top of the stack.
- 37The register that points to the base of the current stack frame is_____.
Hint
This register tracks the base of the current function's stack frame.
Answer
RBP
Explanation
RBP is the base pointer and points to the base of the current stack frame.
- 38A program would generally use the_____rather than the fixed-size thread stack to store large data such as an image.
Hint
This is the alternative memory area mentioned for large data such as images.
Answer
heap
Explanation
Large data that is unsuitable for a fixed-size thread stack can instead be stored on the heap.
- 39Windows executable files use the_____format, which supports multiple architectures.
Hint
This executable format is abbreviated PE.
Answer
portable executable
Explanation
The portable executable format, or PE, is the format used by Windows executable files and supports multiple architectures.
- 40The small 16-bit program in a PE file that commonly prints a DOS-mode message is the_____.
Hint
This legacy program appears near the beginning of many PE files.
Answer
DOS stub
Explanation
The DOS stub is a small 16-bit program that can run under an old DOS system and commonly displays a message that the program cannot run in DOS mode.
- 41The first chunk of information in a PE file, containing values for locating the NT headers, is the_____.
Hint
It appears before the DOS stub and points toward the NT headers.
Answer
DOS header
Explanation
The DOS header is the first chunk of information in a PE file and contains values used to locate the NT headers.
- 42The NT header that stores details such as architecture is the_____.
Hint
It is one of the NT headers and records basic file information.
Answer
file header
Explanation
The file header contains information including the executable's architecture and creation time.
- 43The PE header that stores information such as where the code begins is the_____.
Hint
This NT header is important even though its name suggests otherwise.
Answer
optional header
Explanation
Despite its name, the optional header is important and includes information such as where the code begins.
- 44The PE structure that lists section names, sizes, and attributes is the_____.
Hint
It contains entries describing the sections in the executable.
Answer
section table
Explanation
The section table lists executable sections and records their names, sizes, and attributes.
- 45The PE section conventionally used to store executable code is_____.
Hint
This conventional section name is associated with program instructions.
Answer
.text
Explanation
The .text section is used to store executable code.
- 46The PE section conventionally used for writable data is_____.
Hint
This conventional section holds writable data.
Answer
.data
Explanation
The .data section stores data that should be writable.
- 47The PE section conventionally used for read-only data is_____.
Hint
The letter in this section name indicates that its data is readable but not meant to be written.
Answer
.rdata
Explanation
The .rdata section stores data that should be read-only.
- 48If code tries to write to a section marked non-writable, an_____exception occurs.
Hint
This exception results from trying to perform an operation that the page protections forbid.
Answer
access violation
Explanation
Writing to a non-writable section causes an access violation exception and can crash the program.
- 49The set of utilities programmers use to interact with Windows is the_____.
Hint
It provides programmer-facing functions for working with Windows.
Answer
Windows API
Explanation
The Windows API is a large set of utilities that programmers use to interact with the operating system.
- 50Libraries stored separately and mapped into processes when needed are called_____.
Hint
These separate libraries can be shared by programs at runtime.
Answer
dynamically linked libraries
Explanation
Dynamically linked libraries are stored as separate files and can be mapped into multiple processes that need them, avoiding duplicated copies in executables.
- 51The files used for dynamically linked libraries are commonly abbreviated_____.
Hint
This common abbreviation names Windows' dynamically loaded library files.
Answer
DLLs
Explanation
DLL is short for dynamically linked library.
- 52The legacy Windows API library retained for backwards compatibility is_____.
Hint
This legacy Windows API library mostly forwards functions to its modern replacement.
Answer
kernel32.dll
Explanation
kernel32.dll is the legacy version of kernelbase.dll and is retained for backwards compatibility.
- 53The modern intended replacement for kernel32.dll is_____.
Hint
This library is the newer version that receives many forwarded calls.
Answer
kernelbase.dll
Explanation
kernelbase.dll is the modern intended replacement for kernel32.dll.
- 54The subsystem DLL that provides functions for graphical interfaces and user input is_____.
Hint
This subsystem is associated with windows, graphical interfaces, and input.
Answer
user32
Explanation
The user32 subsystem DLL provides functions for managing graphical interfaces and user input.
- 55The library that contains native system call wrappers and runtime helper functions is_____.
Hint
This library contains system call wrappers and runtime helper functions.
Answer
NTDLL
Explanation
Many subsystem functions eventually invoke routines in NTDLL, which provides native, Zw, and runtime library functions.
- 56The_____functions in NTDLL are essentially system call wrappers.
Hint
This prefix identifies NTDLL's native system call wrapper functions.
Answer
NT
Explanation
NT or native functions in NTDLL are essentially system call wrappers.
- 57The_____functions implement the same system calls as their NT equivalents for certain kernel-code uses.
Hint
This prefix identifies the system-call variants used by kernel code in some cases.
Answer
Zw
Explanation
Zw functions implement the same system calls as their NT equivalents, but are intended for kernel code to use in certain cases.
- 58The_____functions in NTDLL are runtime helpers that may or may not perform system calls.
Hint
This prefix marks NTDLL's runtime library functions.
Answer
Rtl
Explanation
Rtl functions are runtime library helpers and may or may not perform system calls.
- 59Libraries such as kernel32 and user32 that expose subsets of the Windows API are called_____.
Hint
These libraries provide particular parts of the Windows API.
Answer
subsystem DLLs
Explanation
Subsystem DLLs expose subsets of the Windows API to user processes.
- 60The Windows component that decides when and for how long threads run is the_____.
Hint
This system component determines which threads run and for how long.
Answer
scheduler
Explanation
The scheduler decides when and for how long each thread should run.
- 61The scheduler is part of the Windows_____.
Hint
This larger Windows component group includes lower-level features such as scheduling.
Answer
kernel
Explanation
The scheduler is part of the larger group of Windows components called the kernel.
- 62The Windows kernel-mode layer containing the memory manager and object manager is the_____.
Hint
This higher-level kernel-mode component group includes the memory and object managers.
Answer
executive
Explanation
The executive is the higher-level part of kernel-mode Windows and contains components such as the memory manager and object manager.
- 63The lowest, hardware-specific part of Windows is the_____.
Hint
This layer hides architecture-specific hardware details from higher components.
Answer
hardware abstraction layer
Explanation
The hardware abstraction layer is the lowest part of Windows and provides the hardware-specific implementation that varies across architectures.
- 64Processes such as Windows Defender that generally run outside a logged-in user's context are_____.
Hint
These processes commonly run independently of an interactive user's session.
Answer
service processes
Explanation
Service processes generally do not execute within the context of a logged-in user; Windows Defender is an example.
- 65Fixed processes with specific system-related purposes are called_____.
Hint
The logon manager is an example of this category.
Answer
system processes
Explanation
System processes are fixed processes with specific system-related purposes, such as handling logins and logouts.
- 66To start a program selected by the user, explorer.exe calls_____.
Hint
This Windows API utility is used to start a new process.
Answer
CreateProcess
Explanation
When a user executes a program through the desktop, explorer.exe calls the Windows API function CreateProcess.
- 67The function called by CreateProcess to gather arguments and initiate the process-creation sequence is_____.
Hint
This internal function sets the process-creation sequence in motion.
Answer
CreateProcessInternalW
Explanation
CreateProcess itself does little; CreateProcessInternalW gathers and formats the arguments before invoking NtCreateUserProcess.
- 68The system call used to hand process creation to Windows is_____.
Hint
This NTDLL system call requests creation of a user process.
Answer
NtCreateUserProcess
Explanation
CreateProcessInternalW invokes NtCreateUserProcess, the system call that hands control to Windows to create the process.
- 69Most of the Windows executive and kernel code is stored in_____.
Hint
This file contains the main Windows executive and kernel code.
Answer
ntoskrnl.exe
Explanation
ntoskrnl.exe contains most of the Windows executive and kernel, including system call handling and the functions that process operations.
- 70The system call dispatcher in the described x64 path is named_____.
Hint
This dispatcher is associated with x64 system call handling.
Answer
KiSystemCall64
Explanation
KiSystemCall64 is the system call dispatcher that handles the transition and routes the request.
- 71The system call dispatcher first executes the_____instruction.
Hint
This assembly instruction swaps the current GS value with the kernel GS base value.
Answer
swapgs
Explanation
The dispatcher first executes swapgs to exchange the GS segment register value with the value in the IA32_KERNEL_GS_BASE model-specific register.
- 72The per-processor kernel structure pointed to through the kernel GS base is the_____.
Hint
This per-core structure is also known as the Processor Control Region.
Answer
KPCR
Explanation
The Processor Control Region is a per-processor kernel structure pointed to by the IA32_KERNEL_GS_BASE model-specific register.
- 73The structure contained within the KPCR is the_____.
Hint
This processor-specific structure is contained within the KPCR.
Answer
KPRCB
Explanation
The Processor Control Region contains another structure known as the Processor Control Block.
- 74To isolate kernel-mode execution, the system switches to a special_____.
Hint
This special stack is used while the CPU is in kernel mode.
Answer
kernel stack
Explanation
The system call path saves the user stack pointer and switches to a special kernel stack to isolate kernel-mode execution.
- 75The structure containing information about the SSDT is the_____.
Hint
The system service path consults this structure for information about the SSDT.
Answer
service descriptor table
Explanation
The service descriptor table contains information regarding the system service dispatch table.
- 76The table of offsets to system call functions, indexed by the service number, is the_____.
Hint
This table maps a system call number to the corresponding function offset.
Answer
system service dispatch table
Explanation
The SSDT contains offsets to the actual system call functions and is indexed by the system call number.
- 77After restoring the saved state, the system call path executes_____to return.
Hint
This instruction returns from a system call to user-mode execution.
Answer
sysret
Explanation
After restoring saved state and swapping GS back, the system call path executes sysret to return to user mode.
- 78The system's tracked representations of resources such as processes, files, and threads are called_____.
Hint
They are kernel-managed representations of resources in use.
Answer
Windows objects
Explanation
Windows objects represent resources the system tracks, such as processes, files, and threads.
- 79The executive component responsible for managing the lifetime of Windows objects is the_____.
Hint
This executive component handles object lifetimes.
Answer
object manager
Explanation
The object manager manages the lifetime of Windows objects and removes them when their relevant counts reach zero, unless they are permanent.
- 80The common structure at the beginning of every Windows object is its_____.
Hint
This structure precedes an object's type-specific information.
Answer
object header
Explanation
Every Windows object begins with an object header containing details such as reference and handle counts.
- 81A process uses a permission-bearing_____to interact with a Windows object from user mode.
Hint
It acts like a permission-bearing key to an object.
Answer
handle
Explanation
User-mode code opens a handle to interact with a Windows object, and the handle carries permissions for that interaction.
- 82The Windows API function used to close an unneeded handle is_____.
Hint
This function releases a handle that a process has finished using.
Answer
CloseHandle
Explanation
User-mode code should call CloseHandle when it is finished with a handle so the object manager can track when the object is no longer needed.
- 83Kernel code increases an object's reference count by calling_____.
Hint
This kernel function indicates that an object is needed by incrementing its reference count.
Answer
ObReferenceObject
Explanation
Kernel-mode code can call ObReferenceObject to increase an object's reference count.
- 84Kernel code decreases an object's reference count by calling_____.
Hint
This kernel function reduces the reference count when an object is no longer needed.
Answer
ObDereferenceObject
Explanation
Kernel-mode code calls ObDereferenceObject to decrease an object's reference count.
- 85The structure associated with a Windows object that describes its security information is its_____.
Hint
This structure associates ownership and access-control information with an object.
Answer
security descriptor
Explanation
A security descriptor stores security information about an object, including its owner and references to its access control lists.
- 86The ACL that describes what operations and users should generate audit logs is the_____.
Hint
This ACL controls auditing rather than ordinary access permissions.
Answer
SACL
Explanation
The system access control list specifies which operations and users should generate audit logs.
- 87The ACL that describes who has what permission over an object is the_____.
Hint
This ACL controls which users are allowed or denied access.
Answer
DACL
Explanation
The discretionary access control list describes who has which permissions over an object.
- 88An individual entry in an access control list that grants or denies permissions is an_____.
Hint
An ACL is followed by zero or more of these individual entries.
Answer
ACE
Explanation
An access control entry specifies access for a user, including whether access is allowed or denied and which permissions apply.
- 89The unique identifier used to identify an authenticated entity is a_____.
Hint
This identifier associates an access control entry with a particular user or other entity.
Answer
SID
Explanation
A security identifier uniquely identifies an entity that the system can authenticate.
- 90The SID component that specifies which version of the identifier is being used is the_____.
Hint
This first numeric component specifies the SID version.
Answer
revision number
Explanation
The revision number in an SID indicates the version of the identifier format; the described version is 1.
- 91The 48-bit SID component that identifies who issued the identifier is the_____.
Hint
This SID component identifies the issuing component.
Answer
authority
Explanation
The authority is a 48-bit number identifying the component that issued the SID; an authority of 5 indicates the Windows security subsystem.
- 92The SID value that usually appears last and identifies a specific entity is the_____.
Hint
This final identifier distinguishes an entity within the relevant group or domain.
Answer
relative identifier
Explanation
The relative identifier, or RID, usually appears last and identifies a specific entity within a subauthority.
- 93A section object that represents a file to be mapped into memory is_____.
Hint
This section-object type is tied to a particular file.
Answer
file-backed
Explanation
A file-backed section object represents a file that can be mapped into memory.
- 94A section object that does not represent a file and can share memory is_____.
Hint
This section-object type is useful for shared memory without a backing file.
Answer
page-backed
Explanation
A page-backed section object does not represent a particular file and can be used to share memory between processes.
- 95The Windows API function used to open or create a file and get its handle is_____.
Hint
This API function obtains a handle for working with a file.
Answer
CreateFile
Explanation
CreateFile can open or create a file and return a handle to it.
- 96A program checks the result of CreateFile against_____to detect failure.
Hint
This is the failure value checked for the handle returned by CreateFile.
Answer
INVALID_HANDLE_VALUE
Explanation
CreateFile indicates failure with INVALID_HANDLE_VALUE, which is defined as negative one.
- 97A program checks the result of CreateFileMappingA against_____to detect failure.
Hint
This is the failure value checked for the handle returned by CreateFileMappingA.
Answer
nullptr
Explanation
CreateFileMappingA indicates failure by returning a null pointer value, unlike CreateFile's invalid-handle value.
- 98A Windows API function name ending in_____denotes its regular-string variant.
Hint
This suffix identifies the regular-string variant of a Windows API routine.
Answer
A
Explanation
Windows API functions with an A suffix use regular strings and generally convert them to wide strings as needed.
- 99A Windows API function name ending in_____denotes its wide-string variant.
Hint
This suffix identifies the wide-string variant.
Answer
W
Explanation
Windows API functions with a W suffix use wide strings, which are the standard string form in modern Windows.
- 100The Windows API function that creates a file-backed section object is_____.
Hint
Despite its name, this function creates the section object used for file mapping.
Answer
CreateFileMapping
Explanation
CreateFileMapping creates a file-backed section object; internally, it calls NtCreateSection.
- 101The function that maps a file's pages into a process address space is_____.
Hint
This function makes file contents accessible through mapped memory.
Answer
MapViewOfFile
Explanation
MapViewOfFile maps the memory pages representing a file into a process's address space.
- 102The function used to write modified mapped pages back to a file is_____.
Hint
This function ensures changes made through a mapped view are written to the file.
Answer
FlushViewOfFile
Explanation
FlushViewOfFile writes modified mapped pages back into the file.
- 103The extra header placed before an object header to hold a specified name is the_____.
Hint
This additional header appears before the object header when an object is named.
Answer
Object Name Info Header
Explanation
When a Windows object has a name, an additional Object Name Info Header is placed before the object header.
- 104The executive kernel object that represents a process is the_____.
Hint
This is the executive object used to represent a process in the kernel.
Answer
EPROCESS
Explanation
The executive process object represents a process and points to information such as its handle table and process ID.
- 105The structure within EPROCESS that separates kernel-specific process data is the_____.
Hint
This structure contains the process data specifically used by the kernel.
Answer
KPROCESS
Explanation
The KPROCESS structure at the top of EPROCESS separates kernel-specific process data from data used by the executive.
- 106The permission-bearing object assigned to a login session and copied to its processes is an_____.
Hint
It acts like a key containing permissions for a process.
Answer
access token
Explanation
An access token carries permissions; processes started after login receive a copy of the token assigned to the user's session.
- 107The set of a process's pages currently loaded into physical memory is its_____.
Hint
It describes the pages of a process currently resident in physical memory.
Answer
working set
Explanation
A process's working set is the set of memory pages it currently has loaded into physical memory.
- 108The session that exists at all times for system processes is_____.
Hint
This persistent session is reserved for system processes.
Answer
session zero
Explanation
Session zero exists at all times for system processes.
- 109The components within a session that hold desktops and clipboard state are_____.
Hint
These session components contain desktops and clipboard state.
Answer
window stations
Explanation
Within a session, window stations hold desktops and the state of the clipboard.
- 110An application can request virtual memory through the Windows API function_____.
Hint
This API function reserves or commits a region of a process's virtual address space.
Answer
VirtualAlloc
Explanation
VirtualAlloc is the Windows API function used by applications to allocate virtual memory.
- 111The allocation flag that reserves a region without committing it is_____.
Hint
This allocation flag reserves address space without committing it.
Answer
MEM_RESERVE
Explanation
MEM_RESERVE reserves a memory region without charging the memory to the system; writing to it is not allowed unless it is committed.
- 112The allocation flag used to commit a memory region is_____.
Hint
This flag commits a region so that access does not fail merely because it is uncommitted.
Answer
MEM_COMMIT
Explanation
MEM_COMMIT charges a reserved region to the system so it can be accessed; it can be combined with MEM_RESERVE.
- 113The tree structures whose nodes describe allocated memory regions are called_____.
Hint
These structures record the regions allocated in a process address space.
Answer
virtual address descriptors
Explanation
Virtual address descriptors are tree nodes that describe allocated regions of a process's virtual memory.
- 114When an accessed virtual region lacks a page table entry, a_____can prompt the system to look up its allocation.
Hint
This exception causes the system to resolve a missing memory mapping.
Answer
page fault
Explanation
Accessing a region without an existing page table entry can cause a page fault, after which the system checks the relevant virtual address descriptor and creates an entry if the region is committed.
- 115The user-mode structure that records process details such as loaded DLLs is the_____.
Hint
This user-mode process structure is the counterpart to process information stored in EPROCESS.
Answer
PEB
Explanation
The Process Environment Block is a user-mode structure containing information such as loaded DLLs, the image base address, and debugging status.
- 116The user-mode information structure that every thread has separately is the_____.
Hint
This is the per-thread user-mode information structure.
Answer
TEB
Explanation
Each thread has its own Thread Environment Block, which stores information for user-mode code.
- 117The kernel thread structure contained within ETHREAD is the_____.
Hint
This structure contains thread information used by the kernel.
Answer
KTHREAD
Explanation
KeInitThread sets up the KTHREAD structure that is part of the ETHREAD object.
- 118A newly prepared thread that is ready for a core but not yet running is in the_____.
Hint
This state indicates readiness to run without current execution.
Answer
deferred ready state
Explanation
KeReadyThread places the initial thread in a deferred ready state, meaning it is ready for a specific core but is not yet running.
- 119The subsystem that registers newly created processes and tracks them within a session is the_____.
Hint
This constantly running system process tracks processes and threads within its session.
Answer
ClientServerRuntimeSubsystem
Explanation
CreateProcessInternalW sends this subsystem a message so it can register the newly created process.
- 120The protocol used to send the process-registration message is an_____.
Hint
This is the local inter-process communication protocol used for the registration message.
Answer
Advanced Local Procedure Call
Explanation
CreateProcessInternalW uses an Advanced Local Procedure Call to send a message to the ClientServerRuntimeSubsystem.
- 121The initial thread begins image-loader initialization in_____.
Hint
This NTDLL routine performs early executable and library initialization.
Answer
LdrInitializeThunk
Explanation
The initial thread begins user-mode initialization in LdrInitializeThunk, also known as the image loader.
- 122The structure pointed to by the PEB's Ldr field that records loaded DLLs is the_____.
Hint
This database keeps track of the process's loaded DLL modules.
Answer
loader database
Explanation
The loader database, pointed to by the Ldr field of the PEB, stores a list of DLLs loaded into the process address space.
- 123The PE table the loader parses to discover required libraries is the_____.
Hint
This PE table lists the executable's imported libraries and functions.
Answer
Import Directory Table
Explanation
The image loader parses the Import Directory Table to determine which libraries and functions a program needs to load.
- 124An entry in the Import Directory Table is an_____structure.
Hint
Each entry in the import directory describes a library and its imported functions.
Answer
IMAGE_IMPORT_DESCRIPTOR
Explanation
The Import Directory Table contains a sequence of IMAGE_IMPORT_DESCRIPTOR structures.
- 125The table that provides the names or ordinals of imported functions is the_____.
Hint
This table is used to find the identities of imported functions before their addresses are resolved.
Answer
Import Name Table
Explanation
The Import Name Table provides the names or ordinals of the functions imported from a library.
- 126The table whose entries are set to the resolved function addresses is the_____.
Hint
This table is filled with the final addresses of imported functions.
Answer
Import Address Table
Explanation
After imports are resolved, the Import Address Table entries point to the addresses of the corresponding functions.
- 127A number representing a specific function in a library is called an_____.
Hint
An imported function can be identified by this number instead of a name.
Answer
ordinal
Explanation
An ordinal is a number that identifies a specific function exported by a library.
- 128After initialization, the image loader calls the application's_____.
Hint
This is the designated starting location for the program's own code.
Answer
entry point
Explanation
After completing its initialization work, the loader calls the application's entry point.

Ask anything
We've read this whole study set, so questions about it get the best answers.