System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Chapter: 46
Q961:
Service Manager registry keys under SOFTWARE are found in which root key?
A. HKEY_USERS
B. HKEY_CURRENT_USER
C. HKEY_LOCAL_MACHINE
D. HKEY_CLASSES_ROOT
Correct Answer:
C
Chapter: 46
Q962:
Modifying registry settings in Service Manager usually requires ________.
A. administrator privileges
B. no privileges
C. guest access
D. system restore
Correct Answer:
A
Chapter: 46
Q963:
Changes to registry entries for Service Manager can be required ________.
A. occasionally
B. daily
C. never
D. immediately
Correct Answer:
A
Chapter: 46
Q964:
Which of the following paths refers to console settings for Service Manager?
A. HKEY_CURRENT_USER\Software\Microsoft\System Center<version>\Service Manager\Console
B. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\System Center<version>\Console
C. HKEY_USERS\Software\Microsoft\System Center<version>\Service Manager\Console
D. HKEY_CLASSES_ROOT\Software\Microsoft\System Center<version>\Service Manager\Console
Correct Answer:
A
Chapter: 46
Q965:
Registry keys in HKEY_LOCAL_MACHINE apply to ________.
A. all users
B. current user
C. specific user
D. group policies
Correct Answer:
A
Chapter: 46
Q966:
Registry paths use backslashes to indicate ________.
A. hierarchy levels
B. access rights
C. file types
D. user groups
Correct Answer:
A
Chapter: 46
Q967:
Service Manager settings in the registry are usually stored as ________.
A. keys and values
B. files and folders
C. databases and tables
D. scripts and logs
Correct Answer:
A
Chapter: 46
Q968:
The registry is a ________ database.
A. hierarchical
B. relational
C. flat
D. graph
Correct Answer:
A
Chapter: 46
Q969:
The version in the registry path usually indicates the ________.
A. Service Manager version
B. Windows version
C. OS build
D. number of users
Correct Answer:
A
Chapter: 46
Q970:
HKEY_CURRENT_USER is best described as storing ________.
A. user-specific settings
B. system-wide settings
C. network configurations
D. hardware profiles
Correct Answer:
A
Chapter: 46
Q971:
Service Manager registry keys are mostly located under which software key?
A. Microsoft
B. Windows
C. Registry
D. System
Correct Answer:
A
Chapter: 46
Q972:
Manual editing of the registry is recommended ________.
A. only when necessary
B. for routine maintenance
C. daily
D. never
Correct Answer:
A
Chapter: 47
Q973:
Which PowerShell command lists all items directly within the HKEY_CURRENT_USER registry key?
A. Get-ChildItem -Path HKCU:\
B. Get-ItemProperty -Path HKCU:\
C. Get-RegistryKey -Path HKCU:\
D. Set-RegistryKey -Path HKCU:\
Correct Answer:
A
Chapter: 47
Q974:
To show hidden or system items within a registry key using Get-ChildItem, you should add the ________ parameter.
A. Force
B. Include
C. Hidden
D. ShowSystem
Correct Answer:
A
Chapter: 47
Q975:
The registry provider's full name in PowerShell is ________.
A. Microsoft.PowerShell.Core\Registry
B. Microsoft.PowerShell\Registry
C. PowerShell.Core\Registry
D. Registry.Core\PowerShell
Correct Answer:
A
Chapter: 47
Q976:
Which of these commands will NOT list contents directly under HKCU:?
A. Get-ChildItem -Path Registry::HKEY_CURRENT_USER
B. Get-ChildItem -Path Registry::HKCU
C. Get-ChildItem -Path Microsoft.PowerShell.Core\Registry::HKCU
D. Get-ChildItem -Path Registry::HKEY_LOCAL_MACHINE
Correct Answer:
D
Chapter: 47
Q977:
The abbreviation HKCU refers to the registry hive ________.
A. HKEY_CURRENT_USER
B. HKEY_CLASSES_ROOT
C. HKEY_LOCAL_MACHINE
D. HKEY_USERS
Correct Answer:
A
Chapter: 47
Q978:
The PowerShell command to list registry keys can be shortened by using ________.
A. Registry::HKCU
B. Microsoft.Registry::HKCU
C. PSRegistry::HKCU
D. PowerShell::HKCU
Correct Answer:
A
Chapter: 47
Q979:
The command Get-ChildItem HKCU: will list items under which registry hive?
A. HKEY_CURRENT_USER
B. HKEY_LOCAL_MACHINE
C. HKEY_USERS
D. HKEY_CLASSES_ROOT
Correct Answer:
A
Chapter: 47
Q980:
You can list registry keys by specifying the provider name followed by ________.
A. ::
B. --
C. -
D. \
Correct Answer:
A