A+ part 2 Flashcards
Which Command Prompt command in MS Windows can be used to copy one or more files from one location to another?
copy
Which Microsoft Windows command-line commands allow(s) for copying multiple files and directories, including subdirectories?
xcopy and robocopy
Which copying utility accessible via Windows command line interface offers the widest range of options?
robocopy
Which of the Command Prompt commands allows for updating multiple Group Policy settings in MS Windows?
gpupdate
A command-line tool in Windows that displays Group Policy information for a machine or user is called:
gpresult
What command can be used to shut down or restart a local or remote host running MS Windows.
shutdown
The sfc Command Prompt utility in MS Windows:
Scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions
Which of the Command Prompt commands in MS Windows launches a text-based, command-line partitioning utility?
diskpart
Which of the Command Prompt commands in MS Windows launches a pop-up window containing brief summary of the installed operating system?
winver
Which Command Prompt commands in MS Windows move the command-line prompt one folder up in the directory tree
cd and chdir
Which Windows command-line commands change the current directory to the root directory?
cd \ and chdir \
Which netstat parameter allows to display all active TCP connections and the TCP/UDP ports on which the computer is listening?
-a
The -b netstat parameter in Microsoft Windows allows to display the name of an application involved in creating each connection or listening port.
True
Which netstat parameter displays addresses and port numbers in numerical form?
-n
The /f switch of the chkdsk Command Prompt utility in MS Windows:
Fixes errors on the disk
The /r switch of the chkdsk command-line utility in Windows
Locates bad sectors and recovers readable information then fixes errors
Which copy command switch in Windows verifies that the new files are written correctly?
/v
Which of the copy command switches suppresses the confirmation prompt displayed when Windows is about to overwrite the contents of an existing file?
/y
Which shutdown command switch forces full system shutdown and restart of a Windows host?
/r
Which of the command-line commands listed below enables a full system shutdown and restart of an MS Windows host after a time-out period of two minutes?
shutdown /r /t 120
Which shutdown command switch enables aborting a system shutdown?
/a
Which sfc switch enables a file check that scans integrity of all protected system files and attempts to repair corrupted files?
/scannow
A type of customizable framework providing access to a collection of system utilities (in the form of the so-called snap-ins) designed to manage networks, computers, services, and other system components in Microsoft Windows is known as:
mmc
A Microsoft Windows application utility used for displaying details about computer’s hardware resources, computer components, and software environment is known as:
msinfo32
The practice of using a telephone system to manipulate user into disclosing confidential information is known as:
Vishing
Most effective means to removing malware?
OS re-installation
In Microsoft Windows 10, screen lock settings can be accessed via:
Settings > Personalization > Lock screen
Which MMC plug in lets you manage users and groups
Local Users and Groups (lusrmgr.msc)
What does the linux command chown do
it lets you change file owners and groups
what does linux command chmod do
it lets you change the permissions of files
Which MMC plug in manages security policies
Local security policy (secpol.msc)
Does gpedit.msc and secpol.msc intersect and if so which has more options
they do and gpedit.msc has more options
Name of container that holds user accounts and defines the capabilities of users
group
What are file permission systems referred to as?
NTFS permissions
4 levels of UAC
Highest 1.Always notify
2. Lock desktop during UAC prompt
3.Do not lock desktop during UAC prompt
Lowest 4.Never notify
What MMC plug in handles task scheduling
task scheduler (taskschd.msc)
Where do you control autostarting software
mainly task manager but if not there then msconfig
4 impacts of installing new applications
1.impact on device
2.impact on network
3.impact on operation
4.impact on business
to edit and trouble shoot operating system and program start up processes and services you use
msconfig
What is the one stop shop for a vast majority of tools in windows
Settings app
What application handles setting through “applets”
Control panel
What administrator tool is used to check system usage
Resource monitor (resmon)
What does MMC do?
It launches special programs that have the .msc ext also called plug ins
8 MMC plug ins and the file names
- Event viewer : eventvwr.msc
2.Disk management : diskmgmt.msc
3.Task Scheduler : taskschd.msc
4.Device manager : devmgmt.msc
5.Certificate manager : certmgr.msc
6.Local users and groups : lusrmgr.msc
7.Performance monitor : perfmon.msc
8.Group Policy Editor : gpedit.msc
What command shows you the contents of the working directory
dir for windows
ls for linux
Root directory command
cd \ for windows
\ for linux
directory creation command
windows can use md or mkdir
linux uses mkdir
removing directories commands
windows and linux uses rmdir
to delete it and everything in it windows uses rd /s while linux uses rm -r
Running programs command
windows type name of app then enter
linux ./ then app name
command to write one or more files contents
cat
command to delete files
windows is del
linux is rm
copy and move commands
windows copy or move
linux cp or mv
5 step process to copy and move
1.focus on direction containing files
2.type in command and a space
3.type name of file and add a space
4.type path of new location
5.press enter
resource monitoring commands
ps and top
filtering commands
grep and find
package manager commands
apt-get and yum
text editor command
nano
What does dd command do
copy and convert files with three main purposes copying a hard drive, backing up a thumb drive, and wiping a disk
what does the df command do
helps diagnose storage problems in linux
6 files ext for scripting languages
1.batch files : .bat
2.power shell : .ps1
3.bash : .sh
4.python : .py
5.java script : .js
6.visual basic : .vbs
3 script considerations
- unintentionally introducing malware
- inadvertently changing system settings
- browser or system crash due to mishandled resources
what does sfc do
System file check or system file checker checks systems files to make sure they aren’t corrupted
System restore
enables you to go back to a time when your computer worked(disabled by default) {recovery}
uninstall updates
removes recently installed updates of windows {recovery}
system image recovery
lets you reset the computer to an image you have saved {recovery}
Start up repair
one stop shop do it all repair feature { recovery }
command prompt in recovery
opens a command prompt that lets you run diskpart which is a command line partitioning tool
nslookup command
shows exactly what info you get from dns on a specific hostname
command to show route that packet takes to destination
tracert, traceroute, and pingpath
command to view network
net
Windows 10 home
RAM=128GB
domain=no
RDP=no
group policy=no
BL=no
LTSB=no
Windows 10 pro
RAM=2TB
domain=yes
RDP=yes
group policy=yes
BL=yes
LTSB=no
Windows 10 pro for workstations
RAM=6TB
domain=yes
RDP=yes
group policy=yes
BL=yes
LTSB=no
windows 10 enterprise
RAM=6TB
domain=yes
RDP=yes
group policy=yes
BL=yes
LTSB=yes
Full backup
snap shot of a workstations files at some point in time
Incremental backup
requires a full backup then stores whatever changes since the last incremental backup
Differential backup
includes all changes since last update which mean it gets slower and slower each iteration
synthetic backup
created by merging previous full backup with subsequent incremental backups to create a brand new full backup with less work
malware recovery steps
1.Investigate and verify symptoms
2.Quarantine infected system
3.Disable system restore
4.remediate infected system(ie get rid of malware and return to normal function)
5.schedule scans and run updates
6.enable system restore and create a restore point
7.educate end user
Documented Business Processes
1.Rollback plan
2.Sandbox testing
3.Responsible staff member
format command
can reformat drives in RE command prompt