1002 A+ 2 Flashcards

1
Q

What is GDPR?

A

General data protection regulation.

An EU regulation.
Gives its citizens more control over information about themselves by giving them ability to remove information about themselves.

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

How to remotely reboot a windows computer from command line?

A

Shutdown /r /t nn

t = timer

*where “nn” = the seconds before rebooting.

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

How to change a Linux account password from the terminal?

A

Passwd

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

How to display currently running windows processes from command line?

A

Tasklist

To kill processes:

taskkill /im notepad.exe
taskkill /pid 1234 /t

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

What is the shortcut to run cmd prompt as administrator?

A

Type cmd into run and press ctrl+shft+enter.

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

How to use help in windows command prompt?

A

Help [command]

Or

[command] /?

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

What is the windows equivalent in command prompt of using the “ls” command to list the current directory?

A

dir

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

How to shut down a windows computer from the command prompt?

A

shutdown /s

  • if timer is running, can abort with:
    Shutdown /a
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is dism?

A

Deployment Image Servicing and Management tool.

Allows you to manage Windows Imaging format (WIM) files.

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

What is sfc and how to use it?

A

System file checker.

sfc /scannow

Checks for damaged system files in windows.
Scans all core system files.

Verifies that malware has not modified any system files.

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

How to scan hard drive on windows for errors from command line?

A

chkdsk /f
- fixes logical file system errors on disk.

chkdsk /r

  • locates bad sectors and recovers readable info.
  • also does logical check from /f.
  • if running from that volume, windows allows you to run chkdsk on the next startup.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the command line utility for managing storage devices?

A

Diskpart

diskpart -> help

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

How to force a group policy update on a windows computer?

A

gpupdate
*usually update takes affect at next login.

gpupdate /target:{computer|user} /force
gpupdate /target:professor /force

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

How to view group policy settings for a user or computer?

A

gpresult /r = shows for that computer

gpresult /user sgc/professor /v
- checks a specific user/remote device.

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

How to format a drive from the command line?

A

format d:

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

What does the /v option mean when using “copy” from command line?

A

Verifies that files copied correctly to the new location.

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

What does the /y option mean when using “copy” from command line?

A

Suppresses any prompts to confirm you want to overwrite an existing destination file.

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

What does xcopy do?

A

Copies all files inside a directory as well.

Can use “/s” command to also copy all sub directories.

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

What is a better option than xcopy?

A

robocopy.

Included with windows 7, 8 and 10.

Has ability to resume copying if interrupted.
- good for times when connectivity is difficult.

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

Where can you restart a print spoiler in windows?

A

Under “Services”.

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

Where to work with usernames and passwords in windows?

A

Credential manager.

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

What is a hypervisor snapshot?

A

An image of an entire VM, kind of like making restore points in windows. If the VM crashes or is currupted, it can be entirely reloaded.

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

Another name for a “connection-specific DNS suffix”?

A

Fully-qualified domain name.

FQDN

24
Q

What is the command for a more detailed ipconfig?

A

ipconfig /all

25
Q

Ping uses what protocol?

A

ICMP

26
Q

How to show all active network connections on your local machine?

A

netstat -a
- use “-n” to not resolve the ip addresses to names (to see the ip’s)

Netstat -b shows binaries
- that means the name of the executable file

27
Q

What is the “command”?

A

Specific to windows.
Allows mapping out new drives (like “h:”) and moving files to it.

Net use h: \computera\info-folder

28
Q

What is mmc.exe?

A

A pre-built management console for windows that can control a lot of different administrative tasks.

29
Q

Command to start device manager from command line?

A

devmgmt.msc

30
Q

Is Local Security Policy available in home editions of Windows?

A

No,

Only in Enterprise, Pro, Ultimate and professional versions.

31
Q

How to access the Services program in Windows?

A

Services.msc
- background processes.

Used for troubleshooting startup process.

Command line:
Net start
Net stop

32
Q

What is Task Scheduler?

A

Control panel -> administrative tools -> task scheduler.

Schedule an application or batch file.

33
Q

What is ODBC?

A

Open database connectivity.

Manages list of servers, applications and other things that devices may need to communicate with.

34
Q

What is PCI DSS?

A

Payment Card Industry Data Security Standard

a set of security standards designed to ensure that ALL companies that accept, process, store or transmit credit card information maintain a secure environment.

35
Q

What is iwconfig?

A

View or change wireless config.

36
Q

What is a stateful firewall?

A

A firewall that keeps track of the flow of data. It knows when return traffic is coming back from a server and automatically lets it in. Outside traffic that is not expected will be blocked and other such traffic.

37
Q

What is mstsc?

A

Microsoft Terminal Services Client.

Remote Desktop connection.
- can connect to servers to manage them.

38
Q

How to view currently running applications on a Linux device via command line?

A

ps

39
Q

What is the Linux command “dd?”

A

Restore a Linux partition from backup.

Can also make an image to be used as a backup.

40
Q

What is DRM?

A

Digital Rights Management

Used to manage how we are able to use software.

41
Q

What is FOSS?

A

Free and open source.

42
Q

What is PHI?

A

Personal Healthcare Information.

43
Q

What is PII?

A

Personally Identifiable Information.

44
Q

What is BCD?

A

Boot configuration database.

Formerly boot.ini

Recovery console: bootrec /rebuildbcd

45
Q

How to check bios version on windows computer?

A

Msinfo32

46
Q

What is a low-level format?

A

The formatting done at the factory, not done by users.

47
Q

How to wake computer from sleep for late-night software updates?

A

Power management tab under the network connection properties, if supported, there will be a checkbox.

48
Q

What is DSCP?

A

Differentiated services code points.

Can be managed through group policy/local computer policy.

IPv4 - ToS (type of service) field
IPv6 - Traffic Class octet

49
Q

What is the shortcut to force quit?

A

Cmd + opt + escape

50
Q

What is tar?

A

Utility for backing up Linux from the command line.
- easy to script into a backup schedule.

Also “rsync” syncs files between storage decices. Instant or scheduled.

51
Q

How to force a disk check in Linux?

A

sudo touch /forcefsck

File system consistency check.

52
Q

Examples of screen sharing apps for Linux?

A

Remmina, ultraVNC

53
Q

What is “ls -l | more”?

A

ls -l = shows current directory w details.

The “| more” = lets you step through the list one page at a time by using the space bar.

54
Q

Keyword to search in Linux?

A

grep

55
Q

Su vs sudo?

A

Sudo only executes as super user for that specific command.

Su keeps you at elevated privileges.

56
Q

How to shut down Linux from command line?

A

Sudo shutdown 2

*the 2 means 2 minutes.

57
Q

How to restart Linux from terminal?

A

Sudo shutdown -r 2

Abort:

Shutdown -c
-OR-
Ctrl-c