Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 8. Operating Systems > Select the appropriate commands and options to t...

2.1. Select the appropriate commands and options to troubleshoot and resolve problems

  • MSCONFIG

  • DIR

  • CHKDSK (/f, /R)

  • EDIT

  • COPY (/A, /V, /Y)

  • XCOPY

  • FORMAT

  • IPCONFIG (/ALL, /RELEASE, /RENEW)

  • PING (-T, -L)

  • MD/CD/RD

  • NET

  • TRACERT

  • NSLOOKUP

  • [command name] /?

  • SFC

1.What command can you use to start the System Configuration Utility so that you can see what programs start when Windows loads?

A.CHKDSK
B.MSCONFIG
C.IPCONFIG
D.edit


2.Which of the following tools allows a user to manage his computer system’s configuration?

A.REGEDIT.EXE
B.SCANREG.EXE
C.MSCONFIG.EXE
D.Disk Management


3.What command can you execute at the command prompt that will display the folders and files in your current location?

A.CHKDSK
B.LS
C.DIR
D.MSCONFIG


4.What command do you use to open a command prompt executed from the RUN option?

A.C:\
B.CMDPROMPT
C.COMMANDPROMPT
D.CMD


5.What option would you use to display files using the short names (8.3 format) while using the dir command?

A./B
B./C
C./Q
D./X


6.What option would you use with the dir command to pause a long directory listing so that only one screen shows at a time?

A./W
B./P
C./B
D./X


7.What option would you use with the dir command to display the listing in alphabetical order?

A./OD
B./ON
C./Q
D./AD


8.What option would you use with the dir command to display only subdirectories?

A./OD
B./AD
C./B
D./X


9.What option would you use with the dir command to display hidden files?

A./OD
B./AD
C./AH
D./ON


10.What command would you use to check a disk for errors and display a status report?

A.FIXDISK
B.CHKDSK
C.CHECKDISK
D.DIR /CH


11.What option would you use to fix disk errors found with the chkdsk command?

A./FIX
B./R
C./F
D./FIXDISK


12.What option do you need to use with the chkdsk command that will locate bad sectors and recover readable information?

A./FIX
B./R
C./SCANDISK
D./FIXDISK


13.What two commands execute a text editor? (Choose two answers.)

A.NOTEPAD
B.MSCONFIG
C.DIR /E
D.EDIT


14.What command do you use to copy a file from one place to another?

A.DISKCOPY
B.COPY
C.FORMAT
D.SHADOW COPY


15.How do you get a list of the options that can be used with the COPY command at the command prompt?

A.COPY ?
B.COPY /?
C.COPY *
D.COPY /Help


16.What command would you use to copy test.dll (in your current location) to the C:\Windows\System32 folder?

A.COPY TEST.DLL C:\WINDOWS\SYSTEM32
B.COPY C:\WINDOWS\SYSTEM32 TEST.DLL
C.COPY TEST.DLL to C:\WINDOWS\SYSTEM32
D.COPY C:\WINDOWS\SYSTEM32 from test.dll


17.What option would you use with the copy command to verify whether the file has been copied properly?

A./A
B./B
C./V
D./N


18.What option do you use with the copy command that copies the text content of the file, stopping when it reaches the End of File (EOF) character?

A./A
B./B
C./V
D./N


19.You want to copy a group of folders and subfolders—including empty folders—from one place to another in a PC you are working on. You are working from the command prompt, so you need to use the XCOPY command. Which XCOPY switch enables you to perform this operation?

A.XCOPY /s
B.XCOPY /h
C.XCOPY /e
D.XCOPY /CMDLINE


20.You want to copy all files that have a txt extension. What command would you use?

A.COPY *txt C:
B.COPY *.TXT C:
C.COPY TXT C:
D.COPY ?.TXT C:


21.What does a switch do when you’re using the command line?

A.It turns the command off.
B.It forces the command to perform unrelated tasks.
C.It allows the computer to be overclocked.
D.It widens or narrows the function of the command.


22.Which of the following commands clears the screen when you’re using the command line?

A.CLS
B.REM
C.CD
D.DIR


23.Which of the following command-line switches lists the available switches for most command-line utilities?

A./HELP
B./*
C./H
D./?


24.What Windows XP command-line utility can be used to create and manage disk partitions?

A.FDISK
B.FORMAT
C.DISKPART
D.DISKPERF


25.What command would you use to format a disk so that it can be used by the operating system?

A.CONVERT
B.FORMAT
C.FDISK
D.DISKPART


26.What command would you use to format the D: drive as an NTFS file system?

A.FORMAT D:
B.FORMAT D: /FS:NTFS
C.FORMAT D: /FS
D.FORMAT D: /NTFS
E.FORMAT D: /X


27.What command would you use to perform a quick format that will delete all the files on a volume in Windows XP?

A.FORMAT D: /FS
B.FORMAT D: /Q
C.FORMAT D: /VOLUME
D.FORMAT D: /X


28.What command would you use to format the D drive as a NTFS file system in Windows 7?

A.FORMAT D: /FS:NTFS
B.FORMAT D: /Q
C.FORMAT D: /VOLUME
D.FORMAT D: /X


29.What option do you use with the copy command that will not prompt you to overwrite an existing file?

A./Y
B./-Y
C./V
D./D


30.What command would you use to delete a file?

A.DEL
B.REMOVE
C.CHKDSK
D.EDIT


31.What option do you use with the del command that will prompt you to delete each file?

A./PROMPT
B./P
C./Q
D./F


32.What option would you use with the del command that will delete files from all subdirectories?

A./P
B./F
C./S
D./Q


33.What option would you use with the del command to force the deletion of read-only files?

A./P
B./F
C./S
D./Q


34.What command would you use to view the IP configuration on a Windows computer?

A.CHKDSK
B.NSLOOKUP
C.IPCONFIG
D.MSCONFIG


35.What command would you use to view the DNS servers used by a client?

A.IPCONFIG /ALL
B.IPCONFIG /RENEW
C.IPCONFIG /DNS
D.IPCONFIG /FLUSHDNS


36.You just moved a computer to a different subnet. Now you want to get a new IP address. What command should you execute?

A.MSCONFIG
B.RENEWIP
C.IPCONFIG /RENEW
D.IPCONFIG /ALL


37.What command would you use to release the DHCP addresses assigned to an adapter?

A.MSCONFIG
B.RENEWIP
C.IPCONFIG /RELEASE
D.IPCONFIG /ALL


38.What command would you use to purge the DNS Resolver cache so that it can resolve a different address from the DNS server?

A.IPCONFIG /RELEASE
B.IPCONFIG /RENEW
C.IPCONFIG /REGISTERDNS
D.IPCONFIG /FLUSHDNS


39.You want to test connectivity between a workstation and another host. Which command would you use?

A.PING
B.ARP -a
C.IPCONFIG /ALL
D.WINIPCFG /ALL


40.What command would you use to ping the loopback address?

A.PING 0.0.0.0
B.PING 127.0.0.1
C.PING 192.168.1.122
D.PING 255.255.255.255


41.What command would you use to ping server01?

A.IPCONFIG /SERVER01
B.PING SERVER01
C.ARP -A server01\
D.WINIPCFG /SERVER01


42.What option can you use with the ping command that will make ping keep pinging until you stop it?

A.-T
B.-A
C.-F
D.-W


43.Two computers have the same IP address. What command would you use to help you figure out which two computers are affected?

A.PING
B.ARP -A
C.IPCONFIG /ALL
D.WINIPCFG /ALL


44.What command would you use to create a new folder?

A.CD
B.MD
C.RD
D.DIR


45.What command would you use to remove an empty directory?

A.CD
B.MD
C.RD
D.DIR


46.What option would you use with the rd command to remove all subfolders and files in a specified directory?

A./Q
B./ALL
C./S
D./RECURRENT


47.What command would you use to start the server service?

A.IPCONFIG SERVER
B.NET START SERVER
C.NET USE SERVER
D.SFS SERVER


48.What command would you use to stop a service?

A.NET ST
B.NET STOP
C.NET SHOW
D.NET USE


49.What command would you use to map the G drive to the \\server01\share folder?

A.NET START G \\SERVER01\SHARE
B.NET START CONNECT \\SERVER\SHARE
C.NET USE G: \\SERVER01\SHARE
D.NET USE CONNECTTO G: \\SERVER01\SHARE


50.Which of the following commands would you enter at the command prompt in Windows when you want to defragment the C drive?

A.DEFRAG C:
B.FDISK
C.SCANDISK
D.CHKDSK C: /F


51.You want to determine which switches for the DEFRAG command you can use to force defragmentation even though the free space on a hard disk is low. What command should you use? (Select all that apply.)

A.DEFRAG /HELP
B.DEFRAG -f
C.DEFRAG /?
D.DEFRAG /H


52.Which Windows TCP/IP utility would you use to identify all the connections between source and destination computers?

A.ARP
B.PING
C.NETSTAT
D.TRACERT


53.What command can you use to show DNS resolution of a host?

A.IPCONFIG
B.ARP
C.NSLOOKUP
D.NBTSTAT


54.Which two TCP/IP utilities display the address of a known remote location?

A.PING
B.NETSTAT
C.IPCONFIG
D.NSLOOKUP


55.Which of the following commands or utilities can be used to check the integrity of the system files in Windows XP Professional?

A.SFC /SCANNOW
B.Dr. Watson
C.SFC /SCAN
D.SCANDSK


56.What command would you use to delete all files in a folder?

A.DEL ALL
B.DEL *.*
C.RD
D.SFC /ALL


57.What command do you use to change to a different folder?

A.CD
B.MD
C.RD
D.CHKDSK



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint