Microsoft Windows Quiz For Intermediate
1) You can open a Port in Windows Firewall by selecting allow a program through Windows Firewall
- False
- True
- May be true
- a May be false
2) The registry key that holds the database of installed services in a system is ___________
- HKEY_CURRENT_USER\ControlPanel\Services
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- HKEY_CURRENT_CONFIG\SYSTEM\CurrentControlSet\Services
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services
3) Your computer name is “Computer1”. How do view all the shares created on your folder
- Start->Run->\\Compter1
- Start->Run-> view \\Compter1
- Start->Run-> Get \\Compter1
- Start->Run->Netview\\Compter1
4) What does RAID stands for
- Redundant Array of Integrated Disks
- Redundant Array of Inexpensive Disks
- Redundant Array of Independent Disks
- Redundant Array of Improved Disks
5) ____________Display or set a search path for executable files in Windows Operating System
- SearchPath
- Path
- GetPath
- GetPath
6) To view or edit 64-bit keys, you must use the 64-bit version of Registry Editor which is __________
- exe
- exe
- exe
- Regedit.exe
7) What does MSTSC stand for
- Microsoft Technical Services Client
- Microsoft Terminal Services Client
- Microsoft Tuning Services Client
- None of the above
8) Which of the following file systems allows to compress drive to save disk space?
- NTFS
- FAT32
- FAT16
- All of the above
9) ________ allows you to access a computer running Windows from another computer running Windows
- Remote Server program
- Remote Server Extension
- Remote Desktop Program
- Remote Desktop Extension
10) __________ is a network protocol used on the Internet or local area networks to provide a bidirectional interactive communications facility.
- NetBIOS
- TCP/IP
- Telnet
- NamedPipes
11) _____________ is a program used in Windows to query Domain Name System (DNS) servers to find DNS details.
- dnssearch
- nssearch
- dnslookup
- nslookup
12) ______________ is the loopback address used to verify that TCP/IP is installed and configured correctly on the local computer.
- 127.0.0.1
- 0.0.1
- 0.0.1
- 0.0.1
13) ________Commnd is used Test a network connection in Windows Operating System
- IPConf
- NetConf
- PING
- All of the Above
14) 1. Which of the following storage components are part of file systems supported by Windows?
- Volumes. A volume is a collection of directories and files.
- Directories. A directory is a hierarchical collection of directories and files.
- Files. A fi
- a. All of A, B, C are supported
- Only A and C is supported
- Only C is supported
- Only B and C are supported
15) 10. A process has which of the following
- Virtual Address Space
- Unique Identifier
- Primary Thread
- All of the above
16) 11. Which option below correctly describes Windows scheduling?
- It schedules based on first come first serve with priority pre-emption by higher priority ready thread
- It schedules the shortest job first. Assuming no interference due to processor affinity it can preempt the current job by a higher priority runnable /ready thread
- It schedules based on priority and is preemptive. Assuming no interference due to processor affinity the highest priority runnable /ready thread always executes.
- It is priority-driven, non-preemptive but depending on processor affinity
17) 12. If process P1 has 7 runnable threads and process P2 has 5 runnable threads, and all 12 threads are at the same priority, how much CPU time would each thread get and why?
- Would be decided at the time of thread creation as the CPU time and number is decided when CreateThread is invoked
- Each process would get 50 percent of the CPU and the processes would decide how much to give each thread within the process.
- P1 would get 1/7th of CPU time and P2 would get 1/5th. Internally the processes P1 and P2 would decide how much to give each thread based on how heavy they are.
- Each thread would receive one-twelfth of the CPU time as they are of same priority
18) 13. Which of the following is TRUE about thread pooling in Windows
- It enables you to use threads more efficiently by providing your application with a pool of worker threads that are managed by the system.
- At least one thread monitors the status of all wait operations queued to the thread pool
- When a wait operation has completed, a worker thread from the thread pool executes the corresponding callback function
- All of the above
19) 14. Windows provides memory protection to prevent user processes from corrupting the address space of another process or the operating system itself. Which of the following methods are used by Windows to achieve this protection?
- A) All system-wide data
- Only A
- Only B
- Neither A nor B
- Both A and B
20) 15. The size of a pointer to an integer in a 32 bit Windows OS will be _____ long
- 4 bytes
- 1 bytes
- 4 bits
- 8 bits
21) 2. Which statement holds TRUE for the File compression and decompression supported by NTFS
- It uses a lossless algorithm and is carried out transparently
- It supports any size file to be compressed
- It uses a lossy algorithm causing some data to be lost
- It gives access to compressed bytes of the file and allows an application to work directly on them to make changes to the file
22) 3. Which of the following is a valid file link in Windows NTFS?
- a) Hard link
- b) Junction
- c) Symbolic link
- d) All of the above
23) 4. CreateFile API can be used for which of the following Operations
- Creating a File
- Opening a File for Reading
- Opening a File for Writing
- All of the above
24) 5. Which is the API function used to copy an existing file to a new location and delete the original
- CopyFile
- MoveFile
- ReplaceFile
- CreateFile
25) 6. Which of the following is not correct w.r.t. file systems in Windows
- Windows supports FAT file system primarily to enable upgrades from other versions of Microsoft Windows
- NTFS file system is the native file system format of Windows
- FAT uses 64bit cluster numbers
- NTFS logs changes to metadata in a transactional so that file system structures can be repaired to a consistent state
26) 7. When an open file is no longer in use, the application should close it using which of the following functions?
- DeleteFile
- CloseHandle
- CloseModule
- CloseFile
27) 8. A file in which much of the data is zeros is called a ___________
- Binary File
- System File
- Sparse File
- Log File
28) 9. In a 64 bit system which is the component that supports the coexistence of 32-bit and 64-bit COM registration and application states by presenting 32-bit applications with an alternate view of the registry?
- Registry Emulator
- Regedt64
- Registry Monitor
- WOW64 Emulator
29) How do you take backup of Windows Registry
- You can’t take registry backup seperatly
- In the Registry Editor select the node to backup and from the File menu select “Export” option
- In the Registry Editor select the node to backup and from the File menu select “Backup” option
- In the Registry Editor select the node to backup and from the Tools menu select “Backup” option
30) In PowerShell, tasks are generally performed by
- Commands
- .net code
- Cmdlets
- All of the above
31) ipconfig (internet protocol configuration) in Microsoft Windows is a console application that lets you
- Display all current TCP/IP network configuration values
- Release the IP address for the specified adapter
- Renew the IP address for the specified adapter
- All of the above
32) LoginMode key value ‘1’ under HKEY_LOCAL_MACHINE subtree denotes which athentication mode of SQL Server?
- Windows athentication
- SQL Server authentication
- Both SQL & Windows Authentication
- None of the above
33) Network architecture in Windows is based on the seven layered ___________reference model
- OSI (Open Systems Interconnection)
- WSI (Windows Systems Interconnection)
- WOSI(Windows Open Systems Interconnection)
- SI (Systems Interconnection)
34) Terminating a Process has which of the following results?
- The process code is removed from memory
- The process exit code is set
- The process object is signaled
- All of the above
35) What are two methods for calling a function in a DLL
- Load-time dynamic linking and Run-time dynamic linking
- Load-time static linking and Run-time dynamic linking
- Static linking and Dynamic linking
- None of the above
36) What is the command you use to invoke Event Log from command prompt
- Open EvenLog
- Open Eventvwr
- Eventvwr
- EventLog
37) What is true about load-time dynamic linking
- A module makes explicit calls to exported DLL functions as if they were local functions
- You need to link the module with the import library for the DLL that contains the functions
- The import library supplies the system with the information needed to load the DLL and locate the exported DLL functions when the application is loaded
- All of the above
38) What is Windows PowerShell?
- Windows GUI shell designed especially designed for .net developers
- Windows command-line shell designed especially for system administrators
- Windows command Prompt designed especially for system administrators
- None of the above
39) Which is the Console registry tool to edit the registry that can be invoked from the command prompt?
- exe
- exe
- Reg.exe
- exe
40) Which of the below are Protocols supported by Windows
- Windows Sockets 2
- NetBIOS
- Teredo
- All of the above
41) Which of the following cannot be encrypted?
- Compressed files
- System files and directories
- Root directories
- All of the above
42) Which of the following is not true about Dynamic Linked Libraries
- Provide a way to modularize applications so that their functionality can be updated and reused more easily
- Help to reduce memory overhead when several applications use the same functionality
- Supports only exported functions
- Programs written in different programming languages can call the same DLL function as long as the programs follow the same calling convention that the function uses.
43) Which of the following is not true about Windows Registry
- Windows operating system and other programs use the registry to store data about users and about the current configuration of the system and its components.
- Windows operating system and other programs use the registry to store data about users but not about the current configuration of the system and its components.
- Windows registry is a hierarchical database that stores the values of variables in Windows and the applications and services that run on Windows
- Windows registry is available whenever the system is running
44) Which of the following is true about Windows services
- Services require no user intervention to run
- Services takes less system resources
- Services state can’t be managed
- Services must be started during system startup
45) Which of the following statements is FALSE about eventlogs?
- Application and Services should add their names to the Application Log
- Eventlog supports Custom Log which contains customised events to be logged by applications
- Device Drivers should record their events to the Security log
- An event source is the name of the software that logs the event
46) Which of the following steps are performed by the Service Control Manager when the service starts on demand?
- Load the user profile
- Creates the service in the suspended state
- Allows the service process to execute
- All of the above
47) Which Registry Key contains Edition of the SQL Server installed on that system
- HKEY_CLASSES_ROOT
- HKEY_CURRENT_CONFIG
- HKEY_LOCAL_MACHINE
- HKEY_INSTALL_CONFIG
48) Windows Event viewers ‘Windows Event Logs’ section consists of
- Application & Security Logs
- Setup & System Logs
- Forwarded Event Logs
- All of the above
49) Windows registry consists of nested containers. Choose the correct container(s) from the list given below
- a) Subtrees b) Keys c) Subkeys d) Hives
- Only A
- A and B
- A, B and C
- All of the above
50) You can quickly install your service application by using a command-line utility called __________________
- exe
- InstallUtil.exe
- exe
- exe