nerdexam
Cisco

210-255 · Question #155

Which of the following statements is true about processes and threads?

The correct answer is C. Each process starts with a single thread, known as the primary thread, but can also create. Every operating system process begins with a single primary thread and can spawn additional threads to enable concurrent execution within that process.

Host-Based Analysis

Question

Which of the following statements is true about processes and threads?

Options

  • AEach thread starts with a single process, known as the primary process, but can also create
  • BEach service starts with a single hive, known as the primary hive, but can also create additional
  • CEach process starts with a single thread, known as the primary thread, but can also create
  • DEach hive starts with a single thread, known as the primary thread, but can also create additional

How the community answered

(22 responses)
  • A
    5% (1)
  • C
    91% (20)
  • D
    5% (1)

Why each option

Every operating system process begins with a single primary thread and can spawn additional threads to enable concurrent execution within that process.

AEach thread starts with a single process, known as the primary process, but can also create

The relationship is inverted - threads are owned by processes, not the other way around; a thread cannot own or start a process.

BEach service starts with a single hive, known as the primary hive, but can also create additional

Registry hives are a Windows registry concept for storing configuration data and have no relationship to process or thread execution models.

CEach process starts with a single thread, known as the primary thread, but can also createCorrect

An OS process is an independent execution environment that always initializes with one primary thread (the main thread). Additional threads can be created within the same process to perform concurrent operations, sharing the process memory space and resources - this is a foundational concept in multithreading and OS design.

DEach hive starts with a single thread, known as the primary thread, but can also create additional

Registry hives are not execution units and do not have or manage threads; this conflates Windows registry terminology with OS process scheduling concepts.

Concept tested: Operating system process and thread lifecycle relationship

Source: https://learn.microsoft.com/en-us/windows/win32/procthread/about-processes-and-threads

Topics

#processes#threads#primary thread#Windows internals

Community Discussion

No community discussion yet for this question.

Full 210-255 Practice