JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Linux Part-I
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Packages can be downloaded but not installed with yum or dnf by specifying which option?
*
1 point
None of these answers. yum does not support downloading packages without installing them.
--downloaddir
-d
--downloadonly
The ssh-copy-id command copies _ to the remote host.
*
1 point
both private and public keys
the ssh public key
the ssh private key
a fingerprint file
When would this system cron job run its task? 0 1 * * *
*
1 point
every minute of the hour
every hour of every day
every day at 1:00 AM
only on Mondays
Which command in Bash executes the last line in the shell history that starts with ls?
*
1 point
!
!!
!*
!ls
What character class is equal to this set?[0-9]
*
1 point
[[:alnum:]]
[[:digit:]]
[[:alpha:]]
[[:num:]]
What is the key difference between a redirect (>) and piping to the tee command?
*
1 point
The tee command sends output only to STDOUT and STDERR.
A redirect sends output to STDOUT and a file, whereas a tee sends output only to STDOUT.
Nothing, they are the same.
The tee command sends output to STDOUT and a file, whereas a redirect sends output only to a file.
Assume the variable myNumber holds a string consisting of 10 digits. What will this command output?
*
1 point
It will only match digits—and since the string has only digits, the command will output the same number without changes.
It will output the same 10-digit number, but every digit will be inside parentheses.
It will output the entire 10-digit number inside parentheses.
It will output the same 10-digit number, but the first 3 digits will be inside parentheses.
Which command will tell you how long a system has been running?
*
1 point
log
uptime
runtime
access
What would this command output?
*
1 point
the user ID, process ID, parent process ID, CPU usage, and command name of a process
the user ID, group ID, parent process ID, CPU usage, and command name of a process
the UUID, process ID, parent process ID, CPU usage, and command name of a process
all of these answers
Which command allows you to do packet analysis from the command line?
*
1 point
wireshark
ethtool
netstat
tcpdump
What command is used to determine the amount of disk usage for a directory?
*
1 point
find
fdisk
du
df
What does this command string do?
*
1 point
It finds all files using ls -l and hands them off to the find command to display.
It finds all files older than 10 minutes and long lists them using the ls command.
It finds all files larger than 10 MB and long lists them using the ls command.
It uses the ls command to find all files in the filesystem matching the {} wildcard.
How would you describe PCP (Performance Co-Pilot)?
*
1 point
It is an application testing suite used to profile programming code.
It is a local command used for monitoring local system resources in real time.
It is a set of tools, services, and libraries for gathering and analyzing performance measures.
It is a tool designed to change system configuration for purposes of optimization.
To mount a drive by its ID, what command would you use first to retrieve it?
*
1 point
df -h
listid
ls -l
blkid
Linux file access control lists (ACLs) are _.
*
1 point
discretionary access control system permissions layered over standard Linux permissions
mandatory access control system permissions layered over standard Linux permissions
a type of firewall for Linux
the same as standard Linux permissions
What command would you use to resize an LVM volume group to include an additional physical volume?
*
1 point
vgadd
vgresize
vgappend
vgextend
You want to resolve a long list of DNS names using dig. What should you do?
*
1 point
Create a text file including all names and use the -f option of dig.
Type in each query manually.
Write a shell script to send multiple dig queries to the DNS server.
Save the DNS names in an SQL database and process it with dig.
In a systemd-based OS, you can change the system hostname by editing /etc/hostname manually and then doing what?
*
1 point
Restart dhcpd.
Run /etc/hostname.
Nothing, the system notices automatically.
Notify systemd to update it by restarting the systemd-hostnamed service.
You are managing an Apache web server on a system using SELinux. By default it cannot read personal webpages in users' home directories. What SELinux boolean would you set to allow this?
*
1 point
apache_enable_homedirs
httpd_enable_userdirs
httpd_enable_homedirs
httpd_enable_userhome_dirs
When using iproute2, how do you show routing information for an IPv6 network?
*
1 point
route -ipv6
route
ip -6 route show
ip route show
ifconfig has been deprecated. What command is now recommended for changing IP addresses in the live config?
*
1 point
netconf
ipconfig
ipman
ip
When archiving files, which command will preserve all file attributes including ACLs and SELinux security context?
*
1 point
zip
tar
archive
gzip
A backup drive was created using dd to make a bit-for-bit copy. When the drive is inserted into an iSCSI target before it is booted up, the data appears to be missing. What happened?
*
1 point
The backup drive is corrupted and needs to be re-created.
When the backup drive was duplicated, the label was as well. When booted, the system mounted the old duplicated drive by its identical label.
There is a conflict between the physical location of the backup drive and the original drive.
The backup process went wrong, and the old drive was duplicated over the original drive.
What would this locate command show?
*
1 point
all files in a directory named pixmaps
all files ending in ".jpg"
all file paths that start with "/usr", include the word "pixmaps", and end with ".jpg"
all file paths that include "/usr/pixmaps" and end with ".jpg"
What does the /etc/nsswitch.conf file manage?
*
1 point
priority of one DNS server over another
per network interface DNS server configuration
alternative DNS services
sources for name service information
Submit
Page 1 of 1
Clear form
Forms
This content is neither created nor endorsed by Google.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report