CYBR 3210 - Client Systems Security
What command in CentOS 7 can be used in a script to execute a number of instructions based on a maximum count you specify? -ANSW for in
How can a PowerShell ISE use include a suggestion from an IntelliSense menu in their script?
CYBR 3210 - Client Systems Security
What is the default PowerShell execution policy? -ANSW restricted policy
to find a cmdlet that obtains process values, use the Get-Command -noun Process
command. -ANSW True
What command in CentOS 7 can be used in a script to execute a number of instructions
based on a maximum count you specify? -ANSW for in
How can a PowerShell ISE use include a suggestion from an IntelliSense menu in their
script? -ANSW double-clicking the suggestion
When using filtering in PowerShell you need to know the comparison operators, what
operator allows you to see whether an identical value exists in a list of values? -ANSW
-contains
Before running a script on CentOS 7, what command will you need to modify the scripts
permission? -ANSW chmod
What syntax characters in PowerShell indicate optional items? -ANSW brackets
PowerShell ISE is an integrated scripting environment that is included with windows 10.
-ANSW True
In CentOS 7 using an extension on script files is optional. However, some Linux system
administrators prefer to add a file extension to their scripts. What file extension is
commonly used for this purpose? -ANSW .sh
What PowerShell command written with a trace parameter will enable script tracing? -
ANSW Set-PSDebug
What PowerShell cmdlet will allow you to arrange a table in a particular order? -ANSW
Sort-object
Microsoft's PowerShell Script pane is an "automatic completion" feature that helps you
develop scripts quickly -ANSW False
The CD command is used in the command line to change the path of a directory, what
is the equivalent cmdlet in PowerShell? -ANSW Set-Location
What PowerShell cmdlet will allow you to Select items to remain in a table after filtering
out unwanted items? -ANSW Where-Object
,What character can you use to break cmdlets between parameters when using
PowerShell? -ANSW backtick
Windows commands within PowerShell are as efficient as using an equivalent
PowerShell cmdlet. -ANSW False
What PowerShell ISE keyboard shortcut can be used to run a script immediately? -
ANSW F5
When you write a script, what type of line should you include to ensure that the script is
run under the correct shell? -ANSW header line
What keyboard shortcut will allow you to launch a script directly from the PowerShell
ISE? -ANSW F5
What key feature in the PowerShell ISE allows a user to display clickable menus of
cmdlets, parameters, parameter values, files, or folders that match the characters you
type? -ANSW IntelliSense
When a PowerShell user needs additional help regarding a cmdlet that will create a file,
what command syntax can be used to help obtain this information? -ANSW Help
"create file"
If a script is written for use in CentOS 7, how many times should a command line that is
executed multiple times be written? -ANSW only once
Where does the output appear when you run a script in the PowerShell ISE? -ANSW
Console pane
What is an alternative to the Help cmdlet when you need to locate a specific cmdlet? -
ANSW Get-Command
What specific configurable PowerShell script runs automatically each time the ISE
starts? -ANSW profile
PowerShell cmdlet parameters will always be preceded by what character? -ANSW
hyphen
When creating and executing scripts in CentOS 7, you must change the permissions on
the file before running the new script. -ANSW True
What characters in PowerShell represent a dynamic variable that stores the current
information being piped to it? -ANSW $_.
What command in CentOS 7 can be used in a script to enable multiple executions of a
set of instructions while a certain condition exists? -ANSW while
, CentOS 7 scripts can utilize the if command in two different ways to set up decisions
within scripts. The first format is referred to as "if then fi". What is the second format? -
ANSW if else fi
What type of network employs computers that are equally capable of being both clients
and servers? -ANSW peer-to-peer
SOHO is the standard used by home and business computers and is the foundation of
the Internet Protocol Suite. -ANSW False
What term best describes an access point to another network that is a node (a router)
on a TCP/IP network? -ANSW gateway
What type of unique addresses does the Internet layer use to identify computers or
devices in a network? -ANSW IP
The subnet IP address is a node (a router) on a TCP/IP network that serves as an
access point to another network. -ANSW False
When the CentOS 7 execute bit is set for the owner, what will the SUID bit be set to? -
ANSW s
When a file or folder is moved or copied to a FAT16 or FAT32 formatted partition, what
happens to the file and folder's NTFS permissions? -ANSW removed
The Internet protocol suite network layer allows the IP to transfer packet across a link.
-ANSW False
What term best describes a private network that uses Internet-type applications but is
available only within a single organization? -ANSW Intranet
What protocol does CentOS 7 provide for peer-to-peer networking that is based on the
common client/server protocol? -ANSW Samba
What CLI command can be used in CentOS 7 to view a system's IPv4 settings? -
ANSW ifconfig
What NTFS permissions override those assigned at the folder level? -ANSW file
What type of network connects different LANs using services such as dedicated, leased
data lines, satellite links, and data packet carrier services? -ANSW WAN
What specific type of server and ip address is used to provide domain name resolution?
-ANSW DNS
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller smartchoices. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.59. You're not tied to anything after your purchase.