Module 1 Labs Flashcards

1
Q

What command brings up the directory of the current volume?

A

C:>dir

This shows all the folders in the current directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If you want to open the Program Files directory in the C: drive?

A

C:>cd “C:\program files”

Because there is a space in the directory, you have to enclose the path in quotation marks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

From C:\Program Files> how would you go back to the root directory?

A

C:\Program Files>cd .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If your directory has a space, but you don’t want to use quotes around the path, which command would you use?

A

C:\chdir C:\program files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

From C:\Program Files>, how would you get to the D: drive?

To the E: drive?

How would you check the directory in E:?

A

C:\Program Files>D:

D:>E:

E:>dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

If you have a full screen, how do you clear the screen?

A

C:>cls

This clears screen!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What config brings up the local IP address, subnet mask, default gateway, IPv6 addresses and connection status of media?

A

C:\Users\Administrators\ipconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can you tell if an IPv6 address is self-assigned?

A

It begins with fe80.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you tell if a IPv4 address is self-assigned?

A

If it starts in the 169-254 range.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What gives you all the necessary networking information?

This will show the DNS server, its addresses, whether the network is DHCP enabled and auto configuration enabled., etc.

A

C:\Users\Administrator>ipconfig /all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you test network connections?

How would you ping the loop back address? Such that you know that IPv4 is installed and bound to the local NIC card?

A

C:\Users\Administrators>ping

C:\Users\Administrators>ping 127.0.0.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

________ is the loop back address. All machines use this to refer to themselves. If you were having communication issues, you could check this to make sure that IPv4 is there and bound to the NIC.

A

127.0.0.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How would you check to see if your own IP is assigned and bound to the NIC?

A

Ping your own IP address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How would you check to see if you can get to the router?

A

Ping the gateway IP address?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can you confirm that you can get to something outside your network on another router?

A

You could ping a machine on the outside of the router. 8.8.8.8 is the Google DNS server which you can ping.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you run a trace route?

A

C:\Users\Administator>tracert [name of another machine]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What happens when you run tracert on the public internet?

A

Often they will timeout as routers between two locations will be configured to not respond to these requests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which command will tell you which open connections your machine has to other machines?

A

C:\Users\Administrator\ netstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

________ is the IPv6 loopback address. If you were to run netstat and see this, you would know that the machine is able to talk to itself using IPv6.

A

::1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

How do you test DNS? This will show you which server is the DNS server.

A

C:\Users\Administrator>nslookup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How do you look for certain types of records in DNS lookup?

A

set type:

Look this up in Google to see why you’d ever do this…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How do you run the disk partition command line tool? If we select /? To lookup switches, we see that it would like us to call a script. What is the switch for using a script here?

A

C:\Users\Administrator>diskpart

/s [script]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

How would we create a Windows Recovery Environment partition using diskpart?

A

Use the command C:\Users\Administrator>diskpart /s

Select disk 0 // This selects the physical disk which alsways starts at 0 as opposed to a logical disk
Clean // This wipes data from the drive.
Convert gpt // this creates a guid partition table.
Create partition primary size=800 //this gives the size in megabytes.
Format quick fs=ntfs label=“Windows RE” //This formats the partition and names it.
Assign letter=“R” // this assigns a letter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How would you format a drive?

A

C:\Users\Administator>format /?

This will bring up all the switches for the format command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

How would you shutdown the machine from CLI?

A

C:\Users\Administrator>shutdown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

How would you run system file checker and what does it do?

A

C:\Users\Administrator> sfc

This will scan the system to check the integrity of all system files and replace incorrect versions with correct Microsoft versions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

If task manager can’t stop a task, what CLI command can do so and what will we need to do it?

A

C:\Users\Administrator> TASKKILL

If we want to kill a process, we will need to use TASKKILL and then provide the process ID for the task found in task manager.

28
Q

How do we check the file system, look for bad sectors on the disk, check for broken files, and check the integrity of the file system structure?

What are the stages?

What parameter would make changes?

What is the most important result?

A

C:\Users\Administrator>chkdsk

Stage 1: Examines the file system structure.
Stage 2: Examines file linkage. // Looks for broken links and missing files and makes sure everything is indexed.
Stage 3: Checks security descriptors and validates integrity of files on disk.

/f // this parameter will make changes, but not running it will show chkdsk in read-only mode.

bytes of data in bad sectors shown at the end of the result.

29
Q

What is group policy?

A

Group policy is a collection of user and computer settings setup by an administrator to all users.

30
Q

What is the command for looking up different group policy switches?

A

C:\Users[user]>gpresult

31
Q

Which gpresult switch gives a concise summary report? What is in it?

A

C:\Users\Administrator>gpresult /R

The machine you are on, applied Group Policy Objects, Local Policy Objects and the security groups you are a user of.

32
Q

Which command and switch updates group policy. What does this switch do?

A

C:/Users/[USER]>gpupdate /Force

The /Force switch reprocesses all of group policy. This is great for remote users as it forces them reprocess all of group policy even if they’ve lost their trust relationship.

33
Q

What are the default Windows image files and where are they found?

A

Boot.wim and install.wim

They are found in the sources directory of all Windows installation media since Windows Vista.

34
Q

Which tool services the boot.wim and install.wim files?

A

Deployment and Imaging Services tool (DISM)

35
Q

DISM is a command-line tool? T/F?

A

True.

36
Q

DISM _____ switch commits any changes made. _______ switch makes sure no changes are kept.

A

commit

discard

37
Q

Look up a video on DISM when you see this flashcard!

A

Completed.

38
Q

If you had a repetitive task of copying folders or files on a regular basis, you can use ______ or _______ scripts.

A

xcopy and robocopy

39
Q

How would you use copy?

A

Point directory to location of files to copy.

C:\Users\Administrators> cd C:[location]

C:[location]>copy *txt C:[destination] //wildcard * selects all copied txt files.
Overwrite? Yes/No/All

. // extension designation chooses all names of files of all extensions.

40
Q

_____ is built upon copy.

A

Xcopy

41
Q

_______ is built upon xcopy.

A

Robocopy

42
Q

What drive was the floppy drive?

A

A: drive.

43
Q

What was the B: drive?

A

It was used with A: to save work onto after running programs from A:..

44
Q

How do you map a network drive?

A

Right-click This PC and select “map network drive.”

45
Q

What is the folder naming protocol of a network drive?

A

\[computer_name]\Share

46
Q

What command is used in CLI for mapping a network drive?

A

C:\Users[user]>net use z: \[computer_name]\Share /persistent:yes /SAVECRED

//persistent allows reconnect at login. You would then select yes or no if you want to select this.
//SAVECRED saves current logged on credentials to reconnect.
47
Q

What command would you use to delete a mapped network drive.

A

C: \Users[user]>net use z: /DELETE

48
Q

_____ commands have mostly all been deprecated.

A

Net

49
Q

_______ is used within the CLI for managing, defining, creating and deleting local user accounts.

A

Net User

50
Q

The ______ switch lets us know to create or delete a user account not on local SAM file database, but out on the network on a domain controller in the active directory database.

A

/DOMAIN

51
Q

Only those with __________ ________ in the domain can use the domain commands.

A

Admin rights.

52
Q

Instead of Net User command, what is a more marketable skill as Net User is almost obsolete.

A

PowerShell with AD User commandlet.

53
Q

What is Services?

A

This lets you know all the services running on a machine and shows the name, description, status, startup type and “log on as” descriptors.

54
Q

______ define the ways in which I can interact with the operating system.

A

Rights

55
Q

______ allow us to read a file or execute an application.

A

Permissions

56
Q

When calling a service in a script, do you use the service name or the display name?

A

Service name.

57
Q

Where can you find the path of a service?

A

Right clicking the service in Services and locating the path.

58
Q

Where can you check dependencies for a service?

A

Right click the service in Services and check dependencies.

59
Q

_________ is great to use for scripting as all the formatting is stripped away of text.

A

Notepad

60
Q

If you are doing something new in PowerShell, you will want to take the script and add it to ________ and save it so it can be used as a script to be used in the future.

A

Notepad

61
Q

What is regedit?

A

It allows us to edit the registry.

62
Q

HKEYs are known as _________

A

Hives

63
Q

Where is the SAM file database found?

A

Within HKEY_USERS

64
Q

Where will techs spend their time in regedit?

A

HKEY_LOCAL_MACHINE and HKEY_CURRENT_USERS

65
Q

When is the only time we would use regedit?

A

When there is guidance (like security guidance). Don’t use it to muck around too much.