CISCO Networking Academy

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which of the following pieces of software deal with file sharing?

* Samba * Netatalk * NFS

If a podcast is licensed under the CC BY-ND license, you may: (choose all that apply)

* Share it as long as you give credit to the author * Post it to your website

The Free Software Foundation believes that: (choose all that apply)

* Software should be free to share * Software should be free to modify

Which of the following protocols defines how network communication functions?

* TCP/IP

In the command tar -czf foo.tar.gz bar, what is the purpose of the f flag?

* Tells tar to write to the file that follows the flag

In graphical mode, you can get to a shell by running which applications? (Choose all that apply)

* Terminal * Xterm

Select all the applications that provide access to the Command Line Interface (CLI)?

* Terminal window * Virtual Termina

Richard Stallman is associated with

* The Free Software Foundation

Which of the following are glob characters? (choose all that apply)

* The asterisk "*" * The square brackets "[" and "]" * The question mark "?"

When interpreting the SYNOPSIS of a command found on a man page, the "|" means:

* The items it separates cannot be used together

Which of the following is a tool that helps you anonymize your Internet browsing?

* The onion router

What information is held inside $?

* The previous commands exit code

64 bit platforms can access more memory than 32 bit platforms. True or False?

* True

A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter

* True

A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter. True or False?

* True

A source and a hard link must be part of the same filesystem. True or False?

* True

A successful command will print output to STDOUT.

* True

A successful command will print output to STDOUT. True or False?

* True

A user will also have a group to which only they belong.

* True

Deleting a source file will break an associated symbolic link. True or False?

* True

Deleting a source file will break an associated symbolic link. True or False?

* True

Participating in open source projects can prove your technical skills even if is not your day job. True or False?

* True

Social network "like" buttons can track your activity across the Internet. True or False?

* True

The "execute" permission is never set on files by default. True or False?

* True

The command echo "text" > file.txt will create file.txt if it does not already exist. True or False?

* True

The command echo "text" >> file.txt will not overwrite file.txt if it already exists. True or False?

* True

The command man -k is the same as the command apropos. True or False?

* True

The grep command can be used with glob characters. True or False?

* True

The main purpose of using glob characters is to be able to provide a command a list of filenames. True or False?

* True

The main purpose of using glob characters is to be able to provide a command a list of filenames. True or False?

* True

The process (ps) command shows only processes running in the current shell by default. True or False?

* True

The semicolon ";" can be used to separate multiple commands to be executed in order. True or False?

* True

The shell program is what interprets the commands you type into the terminal into instructions that the Linux Operating System can execute. True or False?

* True

The useradd command will create a home directory by default for a user. True or False?

* True

Which of the following are valid video cable connector types? (choose all that apply)

* VGA * DVI

The most important consideration when choosing an operating system is:

* What the computer will do

If you wanted to set up a blog, which software would be most helpful?

* WordPress

Your company makes a hardware firewall that runs a custom Linux kernel. What are your obligations under GPLv2?

* You must make the source to your kernel available

The cd command by itself will take you to what directory?

* Your home directory

Which of the following commands will prevent any aliased options to the ls command?

* \ls

The "setuid" permission...

* allows a command to be run as the file owner.

The top-level directory on a Linux system is represented as:

/

What is the correct way to save the current directory to a variable?

* A=`pwd`

UNIX was originally invented at:

* AT&T Bell Labs

UNIX is (Choose all that apply)

* An operating system * A trademark

The Linux platform that runs on mobile phones is called:

* Android

If you are reading the synopsis of a command from a man page, then items in square brackets are:

* Optional

Which environment variable contains a list of directories that is searched for commands to execute?

* PATH

Which of the following are common busing systems? (choose all that apply)

* PCI * USB

What does the acronym RPM mean?

* RPM Package Management

UIDs 1-500 are usually reserved for what kind of users?

* Remote log-in accounts

Channel 2 is:

* STDERR

Which of the following are valid CPU types for Intel-based platforms? (choose all that apply)

* 64 bit * 32 bit

Which of the following permissions would allow all users to add, view, and delete files in a directory?

* 777

Error messages generated by commands are sent where by default?

* STDERR

In virtualization, what are the host and guest? (Choose all that apply)

* A guest is a virtual machine * The host is the machine that runs the virtual machines

Hidden files are files that begin with what character?

* A period (.)

Virtualization means:

* A single host can be split up into multiple guests

What is the correct way to assign the word "Hello" to a variable?

* A="Hello"

Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?

* -G

Which option for the usermod command can be used to specify a user's group ID (either primary or secondary)? (choose all that apply)

* -G * -g

Which flag would you pass to tar in order to have it make a new archive?

* -c

Which option for the cut command is used to specify the field?

* -f

Which option can be used with the rm command to prompt before deleting?

* -i

What option to the netstat command has information shown as numbers rather than names?

* -n

Which option of the head command will display only the first five lines of a file?

* -n 5

Which option for the wc command will print the total number of words in a file?

* -w

A service is...

* ...a feature provided by one computer to another

The usermod command can be used to do all of the following except...

* ...change the user's MAX and MIN password settings

A CPU flag...

* ...defines the features that the CPU supports

A pipe allows you to...

* ...send the output of one command to another

A network packet contains ...

* ...the IP address of the destination machine * ...the IP address of the source machine

A network packet contains... (Choose all that apply)

* ...the IP address of the destination machine * ...the IP address of the source machine

If a user is deleted, the files and directories that the user owned...

* ...will show a UID as the owner, but not user name

Which of the following is the valid device file name for the first IDE hard drive on the system?

* /dev/hda

Which of the following files contains user IDs?

* /etc/passwd

The directory where additional documentation for software packages most likely can be found is:

* /usr/share/doc

What directory typically contains log files?

* /var/log

The if command looks for what exit code to consider a condition to be true?

* 0

Commands typically executed by a user are covered in what section of the manual?

* 1

The Process ID (PID) of the init process is

* 1

What is the meaning of $(( $i + 1)) ?

* 1 will be added to the i variable

Permissive free software licenses: (choose all that apply)

* Are not approved by the FSF * Can allow software to be used inside closed source software * Don't have a copyleft provision

Which of the following are properties of a strong password? (Choose all that apply)

* At least 10 characters long * Includes symbols * A mix of upper and lower case

A user can belong to...

* At least 16 groups

The largest difference between the GPLv2 and BSD licenses is:

* BSD has no copyleft provision

Linux is written in:

* C

Apple's OS X is: (Choose all that apply)

* Certified as UNIX compatible * Only compatible with Apple hardware * Derived from FreeBSD

A license where you don't have access to the source code is called:

* Closed source

The acronym CLI stands for:

* Computer Line Interface

Most of nano's commands take the form of:

* Control and another character

What does this shell script do? FOO=/tmp/foo if [ ! d $FOO ]; then mkdir $FOO fi

* Creates /tmp/foo if it does not exist

When a computer boots, it can get its network information through:

* DHCP

The three main modes of tar are: (choose all that apply)

* Extract * List * Create

A load average of 1.0 always means the system is fully loaded. True or False?

* False

A pair of double quotes ( " ) will prevent the shell from interpreting any metacharacter. True or False?

* False

A server is likely to be running in graphical mode

* False

A server is likely to be running in graphical mode. True or False?

* False

A source file and a symbolic link must be part of the same file system. True or False?

* False

A user cannot delete a file if they do not own it. True or False?

* False

All log files contain only text data. True or False?

* False

Deleting a source file will break an associated hard link. True or False?

* False

Deleting a source file will break an associated hard link. True or False?

* False

Only one set (user, group, other) of permission can be changed at once using the symbolic method.

* False

Only one set (user, group, other) of permission can be changed at once using the symbolic method. True or False?

* False

Only servers have hostnames.

* False

Only servers have hostnames. True or False?

* False

The /etc/shadow file contains plain-text passwords. True or False?

* False

The /tmp directory is a temporary directory and will not exist on a system at all times

* False

The /tmp directory is a temporary directory and will not exist on a system at all times. True or False?

* False

The RSA key fingerprint allows the dig command to connect to remote systems. True or False?

* False

The command echo "text" > file.txt will not overwrite file.txt if it already exists. True or False?

* False

The double ampersand characters ( && ) are used to separate commands to be executed conditionally, where if the command to the left of the ampersands fails, then the command to the right of the ampersands will be executed. True or False?

* False

The groupmod command can be used to add users to a group. True or False?

* False

The user "sysadmin" will be able to read the "file" because they own it. ----r--r-- 1 sysadmin group 38270 Sep 2 18:49 file. True or False?

* False

The whatis command is the same as man -w.

* False

Which distributions are made by, or clone of, Red Hat? (Choose all that apply)

* Fedora * CentOS

Traditional UNIX command options used a single dash, like -a; _______ command options use two dashes like --all.

* GNU

Linux is distributed under which license?

* GPLv2

The acronym GNU stands for:

* Gnu's Not Unix

Microsoft Windows: (choose all that apply)

* Has powerful scripting capabilities * Comes in desktop and server variants * Has built in virtualization

The _______ command will print a list of the commands that you've previously executed

* History

Source code refers to:

* Human readable version of computer software

The first character in a long listing (ls -l) indicates:

* If something is a file, directory, or symbolic link

Software is backward compatible if:

* It still supports old file formats or applications

If you want to store logins and passwords for different websites in a secure manner, you could use:

* KeePassX

If you wanted to create and print an invoice, what could you use?

* LibreOffice

Which of the following are valid partitioning types?

* MBR * GPT

The following sections commonly appear on a man page: (choose all that apply)

* NAME * DESCRIPTION * SYNOPSIS

Which of the following commands can be used to access the home directory of the user "bob" while logged in as root? (choose all that apply)

* cd /home/bob * cd ~bob

Which of the following commands will set the "sticky bit" on /shared ?

* chmod 1777 /shared

Which of the following commands will set setgid on /shared ?

* chmod 2777 /shared

Which of the following commands will set setuid for /usr/bin/program?

* chmod 4755 /usr/bin/program

Which of the following commands sets "other" permissions on "file" to r-x?

* chmod 775 file

Which of the following commands set "other" permissions on "file" to r-x?

* chmod o=rx file

The userdel command will...

* delete the user account, but leave the user's files by default

Which command displays information from SMBIOS?

* dmidecode

How would you finish your script with an exit code of 42?

* exit 42

Which of the following are correct about for and while loops?

* for loops operate over a fixed list of items * while loops have a test each cycle to determine if it should run again

Which command can be used to view the /etc/passwd file entries?

* getent

Which of the following commands will display only lines that begin with start?

* grep ^start file.txt

Which command will display the UID, GID and groups your current user belongs to?

* id

Which of the following commands will display your machine's IP address?

* ifconfig

Which command can be used to determine a user's most recent log in?

* last

Which of the following commands can be used to scroll through a text file? (choose all that apply)

* less * more

Which of the following commands would create a symbolic link, "link" to "file"?

* ln -s file link

Which of the following commands would create a hard link, "link" to "file"?

* ln file link

To get help on using the info command, execute: (choose all that apply)

* man info * info info

Which of the following commands can be used to rename a file?

* mv

You type gzip myfile.tar. What happens? (choose all that apply)

* myfile.tar.gz holds a compressed version of myfile.tar * myfile.tar is removed

To go to the next match of a search on a man page press:

* n

Which are appropriate editors for writing shell scripts?

* nano * vi

Which command can be used to print line numbers?

* nl

A _______ is a division of a hard drive.

* partition * slice

To exit the info command press:

* q

Octal notation uses the following values for the permissions granted:

* r = 4, w = 2, x = 1

To get a list of all packages installed on a system using RPM Package Management you can execute:

* rpm -qa

Which log file contains messages regarding authentication and authorization?

* secure

Which command(s) can be used to sort the lines of list.file alphabetically and display it on the screen? (choose all that apply)

* sort < list.file * cat list.file | sort

To move a page forward one at a time while viewing a man page, press the following: (choose all that apply)

* spacebar * f

Which of the following commands will allow you to log into a remote machine?

* ssh

Which of the following commands will allow you to log into the machine server1 with the account name nick?

* ssh nick@server1

Which of the following are methods for setting permissions using the chmod command? (choose all that apply)

* symbolic * octal

Which command would you use to archive the "Documents" directory and compress it with bzip2 compression?

* tar -cjf documents.tbz Documents

A command that will continuously update statistics about running processes:

* top

Given a file called documents.zip, how can you see what's in it without extracting the files?

* unzip -l documents.zip

Which of the following commands, run as root, will prevent the user "bob" from logging in?

* usermod -L bob

The visudo command uses which text editor by default?

* vi

Which of the following commands will display how long the system has been running since the last boot? (choose all that apply)

* w * uptime

Which command will display the users are currently logged in to the system?

* who

Which package manager is used in Fedora?

* yum

The ls command without options or arguments...

*...lists the contents of the current directory.

The tilde (~) is used to represent:

A user's home directory.


संबंधित स्टडी सेट्स

Ch. 32: Skin Integrity and wound care master 2

View Set

Nature and concept of management

View Set

Free Anatomy Quiz: Circulatory System

View Set

PN Cystic Fibrosis HESI Case Study

View Set

Chapter 63: Management of Patients with Neurologic Trauma

View Set