Linux+, Practice Test 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

​What operator below is known as the NOT operator? Select one: a. -o b. ! c. % d. -a

!

Which switch below can be added to the ls command to show a list of files and their type? Select one: a. -L b. -l c. -F d. -T

-F

What option, when added to the crontab command, opens the vi editor with a user's cron table? Select one: a. -e b. -u c. -f d. -c

-e

At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off? Select one: a. 0 b. 1 c. 7 d. 6

0

What number represents the stdin file descriptor? Select one: a. 3 b. 0 c. 1 d. 2

0

True/False: You can use a small bootable Linux kernel (such as on a LiveCD) to fix problems related to the following: the boot loader; filesystems and partitions; the configuration file; and drivers.

True

True/False: ​The database for the locate command can be updated manually by using the updatedb command.

True

True/False: Fedora 20 makes use of the XFree86 ​implementation of X Windows.

False

True/False: Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.

False

True/False: In the past, SATA hard disks were referred to as Integrated Drive Electronics (IDE).​

False

True/False: Pressing the Esc key at the prompt while using the more command displays a help screen.

False

True/False: The secure log file contains information regarding the last user to log in to a system.​

False

The GNOME 3 desktop environment utilizes what window manager and toolkit below? Select one or more: a. GTK+ toolkit b. ​Qt toolkit c. ​mutter d. ​kwin

GTK+ toolkit

When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: Select one: a. Metacharacters b. Options c. Keywords d. Arguments

Options

The IP address of the network interface on the router to which you send packets is called the ___.

default gateway

What piece of software tells the operating system how to use a specific hardware device? Select one: a. graphical user interface b. user interface c. device driver d. system service

device driver

Which command below provides the easiest method for monitoring free space on mounted filesystems? Select one: a. du b. df c. fs d. fd

df

Viewing the output of the ___ command, journalctl -b command, or the contents of the /var/log/boot.log and /var/log/messages log files can isolate most hardware problems.

dmesg

After modifying the /etc/aliases file, what command must be run in order to rebuild the aliases database? Select one: a. alias b. sendmail c. newaliases d. mail

newaliases

To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use which command below? Select one: a. newgroup b. groupadd c. newgrp d. groupmod

newgrp

Select the command that can be used to send a small TCP/IP packet to another IP address and await a response: Select one: a. ipquery b. ring c. ping d. png

ping

In standard GRUB notation, select the option below that represents the first hard drive in a system, and the first partition on that hard drive.​ Select one: a. ​(hd0,0) b. ​(hd1,1) c. ​(hda,1) d. ​(hda,0)

​(hd0,0)

What file in the /proc directory contains information about a computer's CPU?​ Select one: a. ​/proc/cpuinfo b. ​/proc/cpu_info c. ​/proc/meminfo d. ​/proc/proc_info

​/proc/cpuinfo

What is the maximum number of characters that can be used in a NetBIOS name? Select one: a. 15 b. 100 c. 25 d. 50

15

In Linux, what runlevel is also known as the multiuser mode? Select one: a. 1 b. 2 c. 4 d. 3

2

What is the subnet mask for a Class C IP address? Select one: a. 255.0.0.0 b. 255.255.255.0 c. 255.255.255.255 d. 255.255.0.0

255.255.255.0

Select the two numbers below that represent the number of bits needed to make an IPv4 or IPv6 IP address:​ Select one or more: a. 32 b. 128 c. 64 d. 48

32 128

The GUI components and related software take up how much space on a typical Linux installation? Select one: a. 3GB b. 2GB c. 1GB d. 4GB

4GB

The System Log Daemon uses what TCP and UDP port to accept incoming requests from another System Log Daemon on a remote system?​ Select one: a. 23 b. 827 c. 514 d. 1012

514

When using the chmod command, the mode rwx can be represented by which number? Select one: a. 0 b. 7 c. 1 d. 8

7

Each octet in an IP address represents a binary number consisting of how many bits / bytes? Select one: a. 8-byte b. 8-bit c. 4-byte d. 4-bit

8-bit

What hex code is associated with a Linux swap type partition?​ Select one: a. 12 b. 96 c. 82 d. 83

82

___ is a mathematical operation that compares two binary digits and gives a result of 1 or 0. ​If both binary digits being compared have a value of 1, the result is 1. If one digit is 0 and the other is 1, or if both digits are 0, the result is 0.

ANDing

What is the most commonly used LAN protocol? Select one: a. TCP/IP b. DLC c. IPX/SPX d. UDP/IP

TCP/IP

Select the command that can be used to create partitions that will be stored in an MBR after installation: Select one: a. formatdisk b. partition c. fdisk d. format

fdisk

What command can be used to assign a TCP/IP configuration to a NIC as well as view the current configuration of all network interfaces? Select one: a. ipconf b. ipconfig c. ifconfig d. ifconf

ifconfig

Older hardware that is malfunctioning may begin to send large amounts of information to the CPU when not in use. What is this process called?​ Select one: a. ​dumping b. jabbering​ c. ​hiccuping d. ​flooding

jabbering​

Select the file in the /proc directory that contains statistics on the performance of the processor: Select one: a. modules b. loadavg c. kcore d. cpuinfo

loadavg

Select the command below that utilizes a premade database that contains a list of all the files on a system: Select one: a. locate b. id c. find d. search

locate

Select below the command and the associated alias available on most Linux systems that displays ​a long listing for each file in a directory? Select one or more: a. lf b. ls -l c. ls -F d. ll

ls -l ll

What command can be issued to confirm what directory you are in at a command line prompt? Select one: a. ld b. whereami c. dir d. pwd

pwd

To copy a directory full of files in Linux, you must tell the cp command that the copy will be ___ (involve files and subdirectories too) by using the -r option.

recursive

A(n) ___ is a computer or special hardware device that provides interconnection between company networks, home networks, and institutional networks.

router

The environment variables that are set by default and their current values can be viewed with what command? Select one: a. set b. get c. env d. setenv

set

What file contains the DSA public key in the /etc/ssh directory? Select one: a. ssh_target_dsa_key b. ssh_target_dsa_key.pub c. ssh_host_dsa_key d. ssh_host_dsa_key. pub

ssh_host_dsa_key. pub

To create a(n) ___ link, you use the -s option to the ln command.

symbolic

Which Linux command can be utilized to display your current login name? Select one: a. whoami b. w c. id d. who

whoami

What two options below are examples of common UNIX flavors?​ Select one or more: a. OpenSuSE b. ​Red Hat Linux c. ​Macintosh OS X d. ​HP-UX

​Macintosh OS X ​HP-UX

Which two problems below are typically seen on large systems that write large amounts of data to a non-ZFS filesystem?​ Select one or more: a. ​segment faults b. ​bit rot c. ​snapshotting d. ​misdirected writes

​bit rot ​misdirected writes

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?​ Select one: a. ​execute b. sticky bit c. ​read d. ​write

​execute

Because Linux has the ability to manage thousands of tasks at the same time, including allowing multiple users to access the system simultaneously, it is referred to as an operating system that is: Select one or more: a. ​multiaccess b. ​multitasking c. ​multiuser d. ​multilevel

​multitasking ​multiuser

​What command below can be used to create a new physical volume? Select one: a. ​new_pv b. ​pvdisk c. ​lvcreate d. ​pvcreate

​pvcreate

In order to quickly create an empty file, what command can be used?​ Select one: a. ​echo file1 b. ​create file1 c. ​vim file1 d.​touch file1

​vim file1

The ​state and performance of a RAID-Z volume can be viewed using what two commands? Select one or more: a. ​zfs iostat b. ​zfs status c. ​zpool iostat d. ​zpool status

​zpool iostat


Conjuntos de estudio relacionados

Life Insurance: The Insurance Marketplace

View Set

Chapter Five - Human Resource Development

View Set

ARTHRITIS AND CONNECTIVE TISSUE DISEASES

View Set

Chapter 15 Review Quiz- UAFS US History I FULL ONLINE Julie Oliver

View Set

Psychology, Sect. 3.1: Human Genetics

View Set

The Help Chapters 1-3 Study Guide

View Set