CH 1 - 18 Comprehensive Final Flashcards

1
Q

Embedded Systems means?

Companies must share their changes
You can view the software source code
Business cannot change anything for the software, only the hardware
Systems designed to do a specific task on hardware optimized for only that purpose
Users must support the system themselves.

A

Systems designed to do a specific task on hardware optimized for only that purpose.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Linux originally only ran on?

Xerox Copy Machines
Specialized processor chips
Intel 386 PCs
Raspberry Pi Computers
Macintosh
A

Intel 386 PCs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Building utilities, management tools, and application software with a Linux Kernel is called a?

A Trademark
A Distribution of Linux
A Type of Hardware
A Text Editor

A

A Distribution of Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A Software Release cycle describes?

How often security fixes are implemented
How often the software’s memory is released back to the operating system
How often upgrades come out for software
How often the computer must be rebooted
How often the computer must be upgraded to support new software.

A

How often upgrades come out for software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Apple’s OS X is? (Choose Three)

A fully certified UNIX distro
Tightly integrated with Apple hardware
Partially based on code from the FreeBSD Project
Primarily used to manage network services
Derived from Linux
Able to natively run Windows binaries

A

A fully certified UNIX distro
Tightly integrated with Apple hardware
Partially based on code from the FreeBSD Project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Microsoft Windows? (Choose Three)

Is generally backwards compatible with previous versions.
Offers both desktop and server products
Has a Linux compatibility mode
Has a short maintenance cycle.
Has a scripting environment called PowerShell
Has a new desktop version every year.

A

Is generally backwards compatible with previous versions.
Offers both desktop and server products
Has a scripting environment called PowerShell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

An Interpreted programming language? (Choose Two)

Requires a compilation step but no linking step.
Is converted into Machine Specific instructions as the program runs.
Tends to offer more features than compiled languages.
Requires a linking step but no compilation step.
Takes fewer resources to run than a compiled language.

A

Is converted into Machine Specific instructions as the program runs.
Tends to offer more features than compiled languages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The two main families of Linux shells are? (Choose Two)

Bourne Shell
Python Shell
Korn Shell
Emacs
C Shell
A

Bourne Shell

C Shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In Virtualization, what are the host and guest? (Choose Two)

The host is the machine that runs the virtual machines.
The guest is the machine that runs the Virtual machines.
The terms can be used interchangeably
A host is a Virtual Machine
A Guest is a Virtual Machine

A

The host is the machine that runs the Virtual Machines.

A Guest IS the Virtual Machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cloud Computing is?

Requires fewer resources because systems are shared among many users.
Allows users in different geographical regions to work together in real time.
Is made possible by faster internet speeds.
Is useful for both business and home users.
All of the Above

A

All of the Above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following are properties of a Strong Password? (Choose Three)

Based on easy to remember items like birthdays.
Long so that it can be reused on multiple sites.
Includes Symbols
At least 10 characters long.
A Mix of Upper and Lower Case.

A

Includes Symbols
At least 10 characters long.
A Mix of Upper and Lower Case.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A license where you don’t have access to the source code is called?

Sourceless
Impaired Source
Open Source
Closed Source

A

Closed Source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A Copy left provision in a software license means?

You must provide support for your modifications.
You may not link against third party closed source software
If you redistribute the software, you must distribute the source to any changes you make.
You must provide free copies of the software if you use it.
You give up your copyright to the software.

A

If you redistribute the software, you must distribute the source to any changes you make.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The Free Software Foundation believes that? (Choose Two)

Software should be free to modify.
People should write software with no expectation of making money.
Software should not have a Copyright.
Software should be free to Share.
No money should ever change hands.
A

Software should be free to Modify.

Software should be free to Share.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does it mean when a work is placed in the public domain?

The work was done by a government agency.
You may not use the work for commercial purposes.
The author has died.
The author has relinquished the Copyright on the work.
You may redistribute changes to the software.

A

The author has relinquished the Copyright on the work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The semicolon (;) can be used to separate multiple commands to be executed in order.

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

To be able to output messages to the screen, use the _______ Command?

Print
Echo
Display
Type

A

Echo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

The ______ command will print a list of the commands that you’ve previously executed?

list
eval
exec
history

A

history

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Home is an Example of?

A path variable
A local variable
An environment variable
An Alias
An internal command
A

An environment variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

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

/var/share/doc
/var/lib/doc
/usr/software/doc
/usr/share/doc

A

/usr/share/doc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

To start searching a man page, the first key you press is?

f
s
/
!

A

/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

To get help using the info command, execute? (Choose Two)

man info
help info
info -q
info info

A

man info

info info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

The ______ command can be used to find any file not just commands or man pages?

whatis
locate
whereis
apropos

A

locate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Hidden files are files that begin with what character?

An Asterisk (*)
A Period (.)
A Plus (+)
A Dash (-)
A

A Period (.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

The Top-Level directory on a Linux system is represented as?

/home
/root
/
C:

A

/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

The Is command without options or arguments?

prompts for a directory to list
lists the contents of the current directory
lists the contents of the user’s home directory.
generates an error as this command requires arguments.

A

lists the contents of the current directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

The command Is -S will sort files?

By size, smallest to largest
By modification date, newest to oldest
By number of symlinks, largest to smallest
By size, largest to smallest

A

By size, largest to smallest.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

When using the cp command, you must provide both a source and a destination?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

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

I
A
-P
-j

A

-j

30
Q

Which command list files that do not begin with a “T” or a “W”?

echo /etc/[!TW]*
echo /etc/[TW]!
echo /etc/!TW
echo /etc/
[TW!]

A

echo /etc[!TW]*

31
Q

In general, for which of the following would you want to use lossless compression?

A JPEG Image
A Log File
An Encrypted Email
A Movie
An MP3 Audio File
A

A Log File

32
Q

You type gzip myfile.tar - What happens? (Choose Two)

An error, you forgot to specify the file with -f
myfile.tar is unarchived into the current directory
myfile.tar is removed
An error; you forgot to pass the name of the output file.
myfile.tar.gz holds a compression version of myfile.tar

A

myfile. tar is removed

myfile. tar.gz holds a compression version of myfile.tar

33
Q

Which command will show what is inside the compressed tarball with a name of foo.tar.gz?

tar -tf foo.tar.gz
tar -tzf foo.tar.gz
tar -xf foo.tar.gz
tar -If foo.tar.gz
tar -tif foo.tar.gz
A

tar -tzf foo.tar.gz

34
Q

By default, the zip command replaces compressed files with compressed files?

True
False

A

True

35
Q

Error messages generated by commands are sent where by default?

STDIN
Log Files
STDOUT
STDERR

A

STDERR

36
Q

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

grep test file.txt
grep &test file.txt
grep $test
file.txt
grep ^test file.txt

A

grep ^test file.txt

37
Q

Which of the following commands will display lines that contain either start or end?

egrep ‘start|end’ file.txt
egrep start end file.txt
egrep start&end file.txt
egrep (start|end) file.txt

A

egrep ‘start|end’ file.txt

38
Q

A file begins with #!/bin/csh means?

This is a Perl script
The operator should not be using /bin/csh
C Shell compatibility mode is enabled
Running the script will invoke /bin/csh to interpret the rest of the file.
Nothing, this is a comment

A

Running the script will invoke /bin/csh to interpret the rest of the file.

39
Q

Most of nano’s commands take the form of?

Alt and another character
Escape followed by another character
The F1 through F12 function keys
Mouse clicks
Control and another Character
A

Control and another Character.

40
Q

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

255
0
2
1
10
A

0

41
Q

The number of users logged in is in a variable called USERS. How would you test to see if 5 users are logged in?

test $USERS -eq 5
test $USERS,5
test -f USERS=5
test $USERS = 5
test $USERS -a5
A

test $USERS -eq 5

42
Q

Which of the following are valid partitioning types? (Choose Two)

PC
MBR
BIOS
GPT

A

MBR

GPT

43
Q

Software that allows hardware devices to communicate with the installed operating system is called?

Instructions
Drivers
Packages
Programs

A

Drivers

44
Q

Which of the following commands will check hard disk GPT partitions? (Choose Three)

sfdisk
sgdisk
gfdisk
gdisk
cgdisk
A

sgdisk
gdisk
cgdisk

45
Q

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

True
False

A

True

46
Q

The free command outputs statistics about?

Memory Usage
Disk Usage
Software Usage
CPU Usage

A

Memory Usage

47
Q

Which file contains the information passed to the kernal at boot time?

/proc/kernel
/proc/kopts
/proc/kargs
/proc/cmdline

A

/proc/cmdline

48
Q

To make changes permanent for kernel parameter files found under /proc/sys, the following file can have entries added to it?

/etc/sysinfo.conf
/etc/sysctl.conf
/etc/procctl.conf
/etc/procsys.conf

A

/etc/sysctl.conf

49
Q

Which of the following commands will display the IP address on a Linux System?

ifconfig
route
ipconfig
dig

A

ifconfig

50
Q

The RSA key fingerprint allows the dig command to connect to remote systems?

True
False

A

False

51
Q

When issuing the Service Network Restart command, which of the following occurs?

Takes down all network interfaces, re-reads all related configuration files, and then the network for the system is restarted.
The networking for the system is stopped and then started back up.
Brings up all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.

A

Takes down all network interfaces, re-reads all related configuration files, and then the network for the system is restarted.

52
Q

Which of the following commands can be used to display socket statistics, and supports all major packet and socket types?

route
ss
ifconfig
top

A

ss

53
Q

Which of the following commands will display the groups that the user bob belongs to?

group bob
all bob
id bob
groups -a

A

id bob

54
Q

Traditional UNIX systems allowed users to belong to how many groups?

65,000
10,000
1
256
16
A

16

55
Q

A Value of 0 in the minimum password aging field means the user cannot change their password?

True
False

A

False

56
Q

SUDO privileges allow users to execute commands as another user?

True
False

A

True

57
Q

The first line of this command displays how long the system has been running since being rebooted?

id
getent
who
w
su
A

w

58
Q

Which option for the usermod command can be used to specify a user’s group ID? (Either Primary or Secondary)? (Choose Two)

  • g
  • S
  • s
  • G
A
  • g

- G

59
Q

The groupmod command can be used to add users to a group?

True
False

A

False

60
Q

Which of the following files contains user IDs?

/etc/passwd
/etc/shadow
/etc/group
/etc/usr

A

/etc/passwd

61
Q

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

usermod -L bob
usermod -D bob
usermod -d bob
usermod -I bob

A

usermod -L bob

62
Q

What directory contains a user’s home directory?

/rootfs
/user
/
/home

A

/home

63
Q

GIDs under 500 (or 1000) are usually reserved for what kind of groups?

Are not used for groups, but for user accounts.
Admins
User private groups (UPG)
System Use

A

System Use

64
Q

A user cannot delete a file if they do not own it?

True
False

A

False

65
Q

The chown command permits changing group ownership done by root only?

True
False

A

False

66
Q

Which of the following commands will list hidden files as well as their ownership?

ls -a
ls -z
ls -l
ls -la

A

ls -la

67
Q

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

chmod 1755 /user/bin/program
chmod 4755 /usr/bin/program
chmod 2755 /usr/bin/program
None of these.

A

chmod 4755 /usr/bin/program

68
Q

Setting setgid on a directory?

will allow scripts in the directory to be executed as the group owner of the directory.
will set the group owner of all files created in the directory to the group owner of the directory.
is not allowed by the system
does nothing

A

will set the group owner of all files created in the directory to the group owner of the directory.

69
Q

Deleting a source file will break an associated hard link?

True
False

A

False

70
Q

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

In file link
In -s link file
In link file
In -s file link

A

In file link