Windows Command Line Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

D

What would be the correct syntax for setting the time-out period of 60 seconds before powering off a Windows host? A. POWEROFF /t 60 B. HALT /t 60 C. REBOOT /t 60 D. SHUTDOWN /t 60

B

Which of the command-line commands listed below allows for updating multiple Group Policy settings in Windows? A. CONVERT B. GPUPDATE C. BCDEDIT D. GPRESULT

D

Which of the command-line utilities listed below allows to test the reachability of a host across an IP network? A. NETSTAT B. IPCONFIG C. TRACERT D. PING

B,C

Which of the following command-line commands are used in Windows to create a directory or subdirectory? (Select all that apply) A. RMDIR B. MD C. MKDIR D. CD E. CHDIR F. RD

C

Which of the following commands in Windows Command Prompt writes a new boot sector to the system partition? A. BOOTREC /FIXMBR B. FIXBOOT C. BOOTREC /FIXBOOT D. FIXMBR

D

Which of the following commands in Windows launches a text-based command-line partitioning utility? A. REGSVR32 B. CHKDSK C. DEFRAG D. DISKPART

D

For a newly added hard drive, this command allows to configure it with a file system so that Windows can store information on the disk. A. MSTSC B. DEFRAG C. NBTSTAT D. FORMAT

A

NETSTAT is a command-line utility which can be used for: A. Displaying active TCP/IP connections B. Testing the reachability of a remote host C. Displaying intermediary points on the packet route D. Viewing the TCP/IP configuration details

A,D

Which of the Microsoft Windows command-line commands allow(s) for copying multiple files or entire directory trees from one directory to another and for copying files across a network? (Select all that apply) A. XCOPY B. TRACERT C. FORMAT D. ROBOCOPY E. MOVE

D

Which of the Windows Command Prompt commands listed below allows to display IP addresses, subnet mask, and default gateway for all adapters? A. NETSTAT B. IFCONFIG C. TRACERT D. IPCONFIG

C,D

Which of the Windows Command Prompt commands listed below can be used to delete one or more files? (Select all that apply) A. EDIT B. TASKKILL C. DEL D. ERASE E. MOVE

B

Which of the answers listed below refers to a Windows Command Prompt command used for uncompressing cabinet files? A. REPLACE B. EXPAND C. CONVERT D. RECOVER

A,C

Which of the following Windows Command Prompt commands can be used to list all directory's files and subdirectories contained in the current directory? (Select 2 answers) A. DIR B. /? C. DIR *.* D. *.* E. DIR /ALL

A

Which of the following Windows command-line utilities allows to terminate tasks by process id or image name? A. TASKKILL B. SHUTDOWN C. EXIT D. TASKLIST

A

Which of the following answers lists a Windows command-line utility designed to be of help in troubleshooting NetBIOS name resolution problems? A. NBTSTAT B. NSLOOKUP C. NETSTAT D. TRACERT

B

Which of the following network administration command-line tools can be used for DNS queries? A. EXPLORER B. NSLOOKUP C. MSINFO32 D. SERVICES.MSC

C

Which of the following switches puts the PING command in a loop (ping the specified host until stopped)? A. -a B. -n C. -t D. -i

A

Which of the following wildcard characters can be used as a substitute for a single character in a file or directory name? A. ? B. $ C. * D. &

D

Which of the key combinations listed below allows to stop the execution of the current command run in Windows Command Prompt? A. Ctrl+Shift+Esc B. Esc C. Ctrl+Alt+Delete D. Ctrl+C

B

Which of the wildcard characters listed below can be used as a substitute for any string of characters in a file or directory name? A. $ B. * C. & D. ?

D

Which parameter of the CD command in Windows moves the command-line prompt one folder up in the directory tree (sets the prompt at the parent folder of the current folder)? A. \ B. /? C. + D. ..

B

Which parameter of the RD command in Windows allows for the deletion of an entire directory tree? (the specified directory and all its subdirectories, including all files) A. /A B. /S C. /Y D. /Q

C

Which parameter of the System File Checker utility in Microsoft Windows combines scanning the integrity of all protected system files with restoration of corrupted files? A. /SCANFILE B. /VERIFYONLY C. /SCANNOW D. /VERIFYFILE

A

Which of the following answers lists the correct syntax for a Windows Command Prompt TASKKILL command that would allow to close NOTEPAD.EXE by providing its imagename? A. TASKKILL /IM NOTEPAD.EXE B. TASKKILL /PID NOTEPAD C. TASKKILL /IM NOTEPAD D. TASKKILL /PID NOTEPAD.EXE

B

Which of the following command-line commands in Windows displays a list of currently running processes on the local computer or on a remote computer? A. EXPLORER B. TASKLIST C. SERVICES.MSC D. NETSTAT

B

Which of the following commands allows for editing Windows registry from the Command Prompt? A. REGEDT32 B. REG C. CHKDSK D. REGEDIT

A,E

Which of the following commands exit(s) the command interpreter in Windows? (Select 2 answers) A. TASKKILL /IM CMD.EXE B. CMD.EXE /S C. TASKKILL CMD.EXE D. SHUTDOWN CMD.EXE EEXIT

C

Which of the following commands in Windows Command Prompt writes a new master boot record to a disk? A. BOOTREC /FIXBOOT B. FIXBOOT C. BOOTREC /FIXMBR D. FIXBOOT

D,E

Which of the following commands in Windows can be used to display help information related to a specific command-line utility? (Select all that apply) A. [command name] /help B. man [command name] C. [command name] info D. help [command name] E. [command name] /?

B,C

Which of the following commands in Windows change(s) the current directory to the root directory? (Select all that apply) A. CHDIR /R B. CD\ C. CHDIR\ D. CD.. E. DIR /ROOT

A

A Windows command-line command for managing Active Directory domains is called: A. NETDOM B. GPRESULT C. NET VIEW D. BCDEDIT

B

A command-line command in Windows that displays Group Policy information for a machine or user is known as: A. NBTSTAT B. GPRESULT C. VERIFY D. GPUPDATE

C

A command-line utility in Microsoft Windows operating systems for registering and unregistering DLLs and ActiveX controls in the Windows Registry is called: A. MSCONFIG B. SFC C. REGSVR32 D. BOOTREC.EXE

A

Microsoft Windows OS command-line utility for displaying intermediary points on the packet route is called: A. TRACERT B. ROUTE PRINT C. TASKLIST D. NETSTAT E. TRACEROUTE

A

Provided that the process ID of NOTEPAD.EXE obtained with the TASKLIST command is 1230, which of the following answers lists the correct syntax for a Windows Command Prompt TASKKILL command that would allow to close this application? A. TASKKILL /PID 1230 B. TASKKILL -IM 1230 C. TASKKILL /IM 1230 D. TASKKILL *PID 1230

A

The "Run as administrator" option in MS Windows available after right-clicking on the Command Prompt application icon allows for execution of shell commands reserved for a system administrator. A. True B. False

B

The "help [command name]" syntax in Windows shell can be used for displaying help information related to any command-line tool available in Windows, including utilities that fall into the category of network command-line tools (e.g. PING, IPCONFIG, NETSTAT, and others). A. True B. False

B

The /F switch of the CHKDSK utility: A. Locates bad sectors and recovers readable information B. Fixes errors on the disk C. Displays cleanup messages D. Displays the full path and name of every file on the disk

B,E

The /R switch of the CHKDSK utility: (Select all that apply) A. Displays cleanup messages B. Locates bad sectors and recovers readable information C. Uses more system resource to perform a scan as fast as possible D. Displays the full path and name of every file on the disk E. Fixes errors on the disk

B

The SFC utility in Windows: A. Encrypts files and folders B. Scans for and restores corrupted system files C. Displays information about system hardware and software configuration D. Starts Windows programs from command-line interface

A

The following Windows command-line command can be used to display a list of domains, computers, or shared resources available on a specific computer. A. NET VIEW B. REG C. NETSTAT D. VIEW

A

The following command can be used to shut down or restart local or remote hosts running Windows. A. SHUTDOWN B. TASKKILL C. EXIT D. REBOOOT

A

The following command clears the Command Prompt window screen in Windows A. CLS B. CLEAR C. CLR D. CLRSCR

C,D

The following command(s) can be used in Windows Command Prompt to delete a directory. (Select all that apply) A. CLS B. MKDIR C. RD D. RMDIR EMD

B

The following command-line command can be used to copy one or more files from one location to another. A. SFC B. COPY C. MOVE D. PUSHD

A

Used without any parameters, the HELP command in Windows displays a list of system commands with a brief description of each command. A. True B. False

B

Which SHUTDOWN command switch in Windows Command Prompt forces full system shutdown and restart of the Windows host? A. -s -r B. /r C. /s r D. -i

B

Which of the COPY command switches suppresses the confirmation prompt displayed when Windows is about to overwrite the contents of an existing file? A. /V B. /Y C. /A D. /-Y

B

Which of the COPY command switches verifies that the new files are written correctly? A. /-Y B. /V C. /Y D. /A

B

Windows Recovery Environment (Windows RE) offers a set of tools and utilities to troubleshoot Windows startup issues. Which of the following commands launches a tool for manual troubleshooting of problems related to master boot record (MBR), boot sector, and Boot Configuration Data (BCD) store in Windows RE Command Prompt? A. DISKPART B. BOOTREC.EXE C. CHKDSK D. FIXBOOT


Kaugnay na mga set ng pag-aaral

NUR 240 PrepU Chapter 60: Assessment of Neurologic Function

View Set

FTCE Reading K-12 Sample Questions

View Set

AP Español: Repaso de Comparaciones Culturales

View Set

Setting the Scene of Romeo and Juliet, Part 2

View Set

health online starting from (maintaining a healthy body comp. and body image)

View Set

Unit 14. Vocab. F. Match to make sentences.

View Set

Algebra - 5.11 Unit Test: Radical and Rational Expressions

View Set