Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Linux 171 SU23

Linux Final Exam Prep

Question4 ChoicesAnswer
Your systemd system is taking a long time to boot and you need to reduce the boot time. Which systemd-analyze command is the best to start narrowing down which units need to be investigated first? A. time B. dump C. failure D. blame E. verify D. blame
The ____ firmware method has replaced BIOS on most modern IBM-compatible computers. A. FTP B. NFS C. UEFI D. PXE C. UEFI
A license where you don’t have access to the source code is called: A. Open source B. Sourceless C. Closed source D. Impaired source C. Closed source
Bundling utilities, management tools, and application software with a Linux kernel is called a: A. A trademark B. A distribution of Linux C. A type of hardware D. A text editor B. A distribution of Linux
You've recently become the system administrator for an older Linux server, which still uses SysV init. You determine that its default runlevel is 3. What file did you find that information in? A. /etc/rc.d B. /etc/init.d/rc C. /etc/rc.d/rc D. /etc/inittab D. /etc/inittab
What server role should you implement to block your local network clients from accessing sports websites during business hours? A. A DHCP server B. A web proxy C. A container D. A web server B. A web proxy
Which of the following utilities change text within a file? (Choose all that apply.) A. sort B. nano C. cut D. vim B. nano D. vim
Which directory on an old SysV init system stores the service startup scripts? A. /etc/rc.d/rc n .d/ B. /etc/init.d/ C. /etc/systemd/system/ D. /usr/lib/systemd/system/ B. /etc/init.d/
The cat -E MyFile.txt command is entered, and at the end of every line displayed is a $. What does this indicate? A. The text file records end in the ASCII character NUL. B. The text file records end in the ASCII character $. C. The text file records end in the ASCII character LF. D. The text file has been corrupted somehow. C. The text file records end in the ASCII character LF.
Which part of the Linux mail process allows you to create filters to automatically redirect incoming mail messages? A. MUA B. Evolution C. MDA D. MTA C. MDA
What program allows you to fix corrupted hard drive partitions? A. mount B. fsck C. umount D. dmesg B. fsck
A copyleft provision in a software license means: A. You must provide support for your modifications B. You may not link against third party closed source software C. If you redistribute the software, you must distribute the source to any changes you make D. You give up your copyright to the software C. If you redistribute the software, you must distribute the source to any changes you make
You have a file that is over 10 GB in size, and it needs to be backed up to a locally attached drive. What is the best utility to use in this situation? A. mv B. scp C. cp D. rsync D. rsync
Which open source database provided fast performance and became a popular choice for web applications? A. MongoDB B. PostgreSQL C. MySQL D. NoSQL C. MySQL
What server role should you implement to increase performance on your company's website? A. A web proxy B. A DHCP server C. A container D. A load balancer D. A load balancer
monitor.txt has info re: monitors for a data center. Each record ends with the ASCII LF character & fields are delimitated by (,). The record has monitor ID, manufacture, serial #, & location. To display each monitor's data, you'd use which cut command? A. cut monitor.txt -d "," -f 1,3,4 B. cut -z -d "," -f 1,3,4 monitor.txt C. cut -d "," -f 1,3,4 monitor.txt D. cut -f "," -d 1,3,4 monitor.txt C. cut -d "," -f 1,3,4 monitor.txt
Which of the following commands will determine how many records in the file Problems.txt contain the word error? A. grep Problems.txt error | wc -w B. grep error Problems.txt | wc -l C. grep error Problems.txt | wc -b D. grep error Problems.txt | wc -w B. grep error Problems.txt | wc -l
Which server software would you use to create a company directory that you could search and authenticate against? A. ISC DHCP B. OpenLDAP C. Samba D. bind B. OpenLDAP
What package do you need to install to allow your Linux server to provide IP addresses to clients on your local network? A. Evolution B. BIND C. DHCPd D. ntpd C. DHCPd
What folder do most Linux distributions use to store boot logs? A. /var/log B. /etc C. /var/messages D. /boot A. /var/log
The ________ package allows you to create a secure tunnel across a private network to access your local network remotely. A. OpenSSL B. OpenSSH C. ntpd D. BIND B. OpenSSH
Where are GRUB2 configuration files stored? (Choose all that apply.) A. /etc/grub.d B. /boot/efi C. /proc D. /boot/grub A. /etc/grub.d D. /boot/grub
Which of the following would be the appropriate base name for a mount unit file that mounts a filesystem at the /var/log/ mount point? A. /var/log.unit B. /var/log.mount C. var-log.unit D. var-log.mount B. /var/log.mount
Linux is distributed under which license? A. BSD B. GPLv2 C. GPLv3 D. MIT B. GPLv2
A Unicode-encoded text file, MyUCode.txt, needs to be perused. Before you view the file's contents, you employ the wc command on it. This utility displays 2020 6786 11328 to STDOUT. Which of the following is true? (Choose all that apply.) A. The file has 2,020 lines in it. B. The file has 6,786 words in it. C. The file has 2,020 characters in it. D. The file has 11,328 characters in it. A. The file has 2,020 lines in it. B. The file has 6,786 words in it.
What popular open source web servers can also perform as a load balancer? A. PostgreSQL B. Apache C. nginX D. Lighthttpd C. nginX
The grep utility can employ regular expressions in its PATTERN. Which of the following best describes a regular expression? A. WC chars, like * or ?, a utility uses to filter txt B. ASCII chars, like LF or NUL, that "" C. A series of chars defined for a util, which uses chars to match same chars in txt files D. A pattern template for a util that uses a pattern to filter txt D. A pattern template for a util that uses a pattern to filter txt
What command must you run to save changes to a GRUB Legacy boot menu? A. mkinitrd B. grub-mkconfig C. mkinitramfs D. grub-install D. grub-install
You are looking at a directory that you have not viewed in a long time and need to determine which files are actually directories. Which command is the best one to use? A. ls -F B. ls C. mkdir -v D. ls -i A. ls -F
You have modified an OpenSSH service's configuration file, /etc/ssh/ssh_config. The service is already running. What is the best command to use with systemctl to make this modified file take immediate effect? A. restart B. mask C. reload D. daemon-reload C. reload
You are managing a systemd system and need to create an automount unit file. Which of the following directives should you review to possibly include in this file's [Automount] section? (Choose all that apply.) A. TimeOutIdleSec B. DirectoryMode C. Where D. Options B. DirectoryMode C. Where
If you see the named program running in the background on your Linux server, what service does it provide? A. Printing B. Hostname resolution C. Network time D. Dynamic IP address allocation B. Hostname resolution
An admin has left the company. The old account directory tree, /home/Zoe/, was backed up. Which command is best to quickly remove her files and still indicate you are removing the correct directory, but without forcing you to confirm every file deletion? A. rm -rI /home/Zoe B. rm -ri /home/Zoe/ C. rm -Rf /home/Zoe/ D. mv -R /home/zoe/ /dev/null/ A. rm -rI /home/Zoe
Your systemd system is taking a long time to boot and you need to reduce the boot time. Which systemd-analyze command is the best to start narrowing down which units need to be investigated first? A. failure B. dump C. time D. blame D. blame
Which web server is used in the popular LAMP stack? A. Apache B. PostgreSQL C. nginX D. Lighthttpd A. Apache
A control file is not working properly with the program that reads it. You suspect the file was corrupted by a control code update, even though the file's control codes are correct. Which command should you use on the file in your problem investigation? A. cat -n B. cat -v C. cat -z D. cat -s B. cat -v
You need to change the system's default target. What systemctl command should you use to accomplish this task? A. is-enabled B. get-default C. isolate D. set-default D. set-default
You issued a command grep Hal on a file generated from a failed login attempts file. It returns nothing, but you performed a test case by failing to log into the Hal account prior to generating the file. Which is the best choice as your next step? A. Delete the text file and regenerate it using information from the failed login attempts file. B. Issue the grep -d skip Hal command on the text file. C. Issue the grep -i Hal command on the text file. D. Employ the cat command to view the text file. C. Issue the grep -i Hal command on the text file.
A text file, StarGateAttacks.txt, needs to be specially formatted for review. Which of the following commands is the best command to accomplish this task quickly? A. pr B. paste C. printf D. wc A. pr
A file data.txt needs to be sorted numerically and its output saved to a new file newdata.txt. Which of the following commands can accomplish this task? (Choose all that apply.) A. sort -o newdata.txt data.txt B. sort -n data.txt > newdata.txt C. sort -n -o newdata.txt data.txt D. sort -n -o data.txt newdata.txt C. sort -n -o newdata.txt data.txt
Which of the following commands will display the file SpaceOpera.txt to output as well as save a copy of it to the file SciFi.txt? A. cp SpaceOpera.txt SciFi.txt B. cat SpaceOpera.txt 2> SciFi.txt C. cat SpaceOpera.txt | tee SciFi.txt D. cat SpaceOpera.txt > SciFi.txt C. cat SpaceOpera.txt | tee SciFi.txt
Linux originally only ran on: A. Specialized processor chips B. Intel 386 PCs C. Macintosh D. Raspberry Pi computers B. Intel 386 PCs
You are working on a Linux server at the command line, and you try to issue a diff command and receive a response stating that the command was not found. What is the next best step to take in order to start the troubleshooting process? A. Enter the which diff command. B. Log out, log back in, and retry the command. C. Enter the whereis diff command. D. Hit your up arrow key and press Enter. A. Enter the which diff command.
A ________ allows your developers to easily deploy applications between development, test, and production. A. cluster B. container C. DHCP server D. web proxy B. container
Where is the Master Boot Record located? A. The boot partition of any hard drive on the system B. Any sector on any hard drive on the system C. The first sector of the first hard drive on the system D. The last sector of the first hard drive on the system C. The first sector of the first hard drive on the system
Where does the firmware first look for a Linux bootloader program? A. The /boot/grub folder B. A boot partition C. The /var/log folder D. The Master Boot Record (MBR) D. The Master Boot Record (MBR)
Your system uses systemd and has a service currently set to not start at system boot. You want to change this behavior and have it start. What systemctl command should you employ for this service? A. start B. disable C. isolate D. enable D. enable
Embedded Systems means: A. Systems designed to do a specific task on hardware optimized for only that purpose B. Users must support the systems themselves C. You can view the software's source code D. Companies must share their changes A. Systems designed to do a specific task on hardware optimized for only that purpose
The ________ command generates the GRUB2 configuration used for booting. A. grub-mkconfig B. mkinitramfs C. mkinitrd D. grub-install A. grub-mkconfig
You want to find any file named 42.tmp, which exists somewhere in your current directory's tree structure and display its contents to STDOUT. Which of the following will allow you to build a command to do this? (Choose all that apply.) A. cat `find . -name 42.tmp` B. cat $(find . -name 42.tmp) C. find . -name 42.tmp | xargs cat D. cat {find . -name 42.tmp} A. cat `find . -name 42.tmp` B. cat $(find . -name 42.tmp) C. find . -name 42.tmp | xargs cat
Which of the following commands will put any generated error messages into the black hole? A. sort SpaceOpera.txt > BlackHole B. sort SpaceOpera.txt 2> /dev/null C. sort SpaceOpera.txt &> BlackHole D. sort SpaceOpera.txt 2> BlackHole B. sort SpaceOpera.txt 2> /dev/null
Created by: Millio1014
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards