Карточки BI-ULI otázky

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/69

encourage image

There's no tags or description

Looks like no tags are added yet.

70 Terms

1
New cards

Embedded Systems means:

a) Companies must share their changes

b) You can view the software's source code

c) Businesses cannot charge anything for the software, only the hardware

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

e) Users must support the systems themselves

Embedded Systems means:

a) Companies must share their changes

b) You can view the software's source code

c) Businesses cannot charge anything for the software, only the hardware

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

e) Users must support the systems themselves

2
New cards

Linux originally only ran on:

a) Xerox copy machines

b) Specialized processor chips

c) Intel 386 PCs

d) Raspberry Pi computers

e) Macintosh

Linux originally only ran on:

a) Xerox copy machines

b) Specialized processor chips

c) Intel 386 PCs

d) Raspberry Pi computers

e) Macintosh

3
New cards

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

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

4
New cards

A software release cycle describes:

a) How often security fixes are implemented

b) How often the software's memory is released back to the operating system

c) How often upgrades come out for software

d) How often the computer must be rebooted

e) How often the computer must be upgraded to support new software

A software release cycle describes:

a) How often security fixes are implemented

b) How often the software's memory is released back to the operating system

c) How often upgrades come out for software

d) How often the computer must be rebooted

e) How often the computer must be upgraded to support new software

5
New cards

Apple's OS X is:

(choose three)

a) A fully certified UNIX distribution

b) Tightly integrated with Apple hardware

c) Partially based on code from the FreeBSD project

d) Primarily used to manage network services

e) Derived from Linux

f) Able to natively run Windows binaries

Apple's OS X is:

(choose three)

a) A fully certified UNIX distribution

b) Tightly integrated with Apple hardware

c) Partially based on code from the FreeBSD project

d) Primarily used to manage network services

e) Derived from Linux

f) Able to natively run Windows binaries

6
New cards

Microsoft Windows:

(choose three)

a) Is generally backwards compatible with previous versions

b) Offers both desktop and server products

c) Has a Linux compatibility mode

d) Has a short maintenance cycle

e) Has a scripting environment called PowerShell

f) Has a new desktop version every year.

Microsoft Windows:

(choose three)

a) Is generally backwards compatible with previous versions

b) Offers both desktop and server products

c) Has a Linux compatibility mode

d) Has a short maintenance cycle

e) Has a scripting environment called PowerShell

f) Has a new desktop version every year.

7
New cards

An interpreted programming language:

(choose two)

a) Requires a compilation step but no linking step

b) Is converted into machine specific instructions as the program runs

c) Tends to offer more features than compiled languages

d) Requires a linking step but no compilation step

e) Takes fewer resources to run than a compiled language

An interpreted programming language:

(choose two)

a) Requires a compilation step but no linking step

b) Is converted into machine specific instructions as the program runs

c) Tends to offer more features than compiled languages

d) Requires a linking step but no compilation step

e) Takes fewer resources to run than a compiled language

8
New cards

The two main families of Linux shells are:

(choose two)

a) Bourne Shell

b) Python Shell

c) Korn shell

d) Emacs

e) C Shell

The two main families of Linux shells are:

(choose two)

a) Bourne Shell

b) Python Shell

c) Korn shell

d) Emacs

e) C Shell

9
New cards

In virtualization, what are the host and guest?

(choose two)

a) The host is the machine that runs the virtual machines

b) The guest is the machine that runs the virtual machines

c) The terms can be used interchangeably

d) A host is a virtual machine

e) A guest is a virtual machine

In virtualization, what are the host and guest?

(choose two)

a) The host is the machine that runs the virtual machines

b) The guest is the machine that runs the virtual machines

c) The terms can be used interchangeably

d) A host is a virtual machine

e) A guest is a virtual machine

10
New cards

Cloud computing is:

a) Requires fewer resources because systems are shared among many users

b) Allows users in different geographical regions to work together in real time

c) All are correct

d) Is made possible by faster internet speeds

e) Is useful for both business and home users

Cloud computing is:

a) Requires fewer resources because systems are shared among many users

b) Allows users in different geographical regions to work together in real time

c) All are correct

d) Is made possible by faster internet speeds

e) Is useful for both business and home users

11
New cards

Which of the following are properties of a strong password?

(choose three)

a) Based on easy to remember items like birthdays

b) Long so that it can be reused on multiple sites

c) Includes symbols

d) At least 10 characters long

e) A mix of upper and lower case

Which of the following are properties of a strong password?

(choose three)

a) Based on easy to remember items like birthdays

b) Long so that it can be reused on multiple sites

c) Includes symbols

d) At least 10 characters long

e) A mix of upper and lower case

12
New cards

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

a) Sourceless

b) Impaired source

c) Open source

d) Closed source

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

a) Sourceless

b) Impaired source

c) Open source

d) Closed source

13
New cards

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 must provide free copies of the software if you use it

e) You give up your copyright to the software

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 must provide free copies of the software if you use it

e) You give up your copyright to the software

14
New cards

The Free Software Foundation believes that:

(choose two)

a) Software should be free to modify

b) People should write software with no expectation of making money

c) Software should not have copyright

d) Software should be free to share

e) No money should ever change hands

The Free Software Foundation believes that:

(choose two)

a) Software should be free to modify

b) People should write software with no expectation of making money

c) Software should not have copyright

d) Software should be free to share

e) No money should ever change hands

15
New cards

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

a) The work was done by a government agency

b) You may not use the work for commercial purposes

c) The author has died

d) The author has relinquished the copyright on the work

e) You must redistribute changes to the software

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

a) The work was done by a government agency

b) You may not use the work for commercial purposes

c) The author has died

d) The author has relinquished the copyright on the work

e) You must redistribute changes to the software

16
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

17
New cards

To be able to output messages to the screen, use the _______ command:

a) print

b) echo

c) display

d) type

To be able to output messages to the screen, use the _______ command:

a) print

b) echo

c) display

d) type

18
New cards

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

a) list

b) eval

c) exec

d) history

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

a) list

b) eval

c) exec

d) history

19
New cards

HOME is an example of _________.

a) A path variable

b) A local variable

c) An environment variable

d) An alias

e) An internal command

HOME is an example of _________.

a) A path variable

b) A local variable

c) An environment variable

d) An alias

e) An internal command

20
New cards

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

a) /var/share/doc

b) /var/lib/doc

c) /usr/software/doc

d) /usr/share/doc

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

a) /var/share/doc

b) /var/lib/doc

c) /usr/software/doc

d) /usr/share/doc

21
New cards

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

a) /

b) f

c) s

d) !

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

a) /

b) f

c) s

d) !

22
New cards

To get help on using the info command, execute:

(choose two)

a) man info

b) info info

c) help info

d) info -q

To get help on using the info command, execute:

(choose two)

a) man info

b) info info

c) help info

d) info -q

23
New cards

The _____ command can be used to find any file, not just commands or man pages.

a) whatis

b) locate

c) whereis

d) apropos

The _____ command can be used to find any file, not just commands or man pages.

a) whatis

b) locate

c) whereis

d) apropos

24
New cards

Hidden files are files that begin with what character?

a) A period (.)

b) An asterisk (*)

c) A plus (+)

d) A dash (-)

Hidden files are files that begin with what character?

a) A period (.)

b) An asterisk (*)

c) A plus (+)

d) A dash (-)

25
New cards

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

a) /

b) /home

c) /root

d) C:

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

a) /

b) /home

c) /root

d) C:

26
New cards

The ls command without options or arguments...

a) ...prompts for a directory to list.

b) ...lists the contents of the current directory.

c) ...lists the contents of a user's home directory.

d) ...generates an error as this command requires arguments.

The ls command without options or arguments...

a) ...prompts for a directory to list.

b) ...lists the contents of the current directory.

c) ...lists the contents of a user's home directory.

d) ...generates an error as this command requires arguments.

27
New cards

The command ls -S will sort files:

a) By size, smallest to largest

b) By modification date, newest to oldest

c) By number of symlinks, largest to smallest

d) By size, largest to smallest

The command ls -S will sort files:

a) By size, smallest to largest

b) By modification date, newest to oldest

c) By number of symlinks, largest to smallest

d) By size, largest to smallest

28
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

29
New cards

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

a) l

b) A

c) -P

d) -i

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

a) l

b) A

c) -P

d) -i

30
New cards

Which command would list files that do not begin with a "T" or a "W"?

a) echo /etc/[!TW]*

b) echo /etc/[*TW]!

c) echo /etc/!TW

d) echo /etc/*[TW!]

Which command would list files that do not begin with a "T" or a "W"?

a) echo /etc/[!TW]*

b) echo /etc/[*TW]!

c) echo /etc/!TW

d) echo /etc/*[TW!]

31
New cards

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

a) A JPEG image

b) A log file

c) An encrypted email

d) A movie

e) An mp3 audio file

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

a) A JPEG image

b) A log file

c) An encrypted email

d) A movie

e) An mp3 audio file

32
New cards

You type gzip myfile.tar. What happens?

(choose two)

a) An error; you forgot to specify the file with -f

b) myfile.tar is unarchived into the current directory

c) myfile.tar is removed

d) An error; you forgot to pass the name of the output file

e) myfile.tar.gz holds a compressed version of myfile.tar

You type gzip myfile.tar. What happens?

(choose two)

a) An error; you forgot to specify the file with -f

b) myfile.tar is unarchived into the current directory

c) myfile.tar is removed

d) An error; you forgot to pass the name of the output file

e) myfile.tar.gz holds a compressed version of myfile.tar

33
New cards

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

a) tar -tf foo.tar.gz

b) tar -tzf foo.tar.gz

c) tar -xf foo.tar.gz

d) tar -lf foo.tar.gz

e) tar -tjf foo.tar.gz

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

a) tar -tf foo.tar.gz

b) tar -tzf foo.tar.gz

c) tar -xf foo.tar.gz

d) tar -lf foo.tar.gz

e) tar -tjf foo.tar.gz

34
New cards

By default, the zip command replaces uncompressed files with compressed files.

True or False?

a) True

b) False

By default, the zip command replaces uncompressed files with compressed files.

True or False?

a) True

b) False

35
New cards

Error messages generated by commands are sent where by default?

a) STDIN

b) Log files

c) STDOUT

d) STDERR

Error messages generated by commands are sent where by default?

a) STDIN

b) Log files

c) STDOUT

d) STDERR

36
New cards

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

a) grep *test file.txt

b) grep &test file.txt

c) grep $test* file.txt

d) grep ^test file.txt

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

a) grep *test file.txt

b) grep &test file.txt

c) grep $test* file.txt

d) grep ^test file.txt

37
New cards

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

a) egrep 'start|end' file.txt

b) egrep start end file.txt

c) egrep start&end file.txt

d) egrep (start|end) file.txt

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

a) egrep 'start|end' file.txt

b) egrep start end file.txt

c) egrep start&end file.txt

d) egrep (start|end) file.txt

38
New cards

A file begins with #!/bin/csh. This means:

a) This is a Perl script

b) The operator should not be using /bin/csh

c) C Shell compatibility mode is enabled

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

e) Nothing, this is a comment

A file begins with #!/bin/csh. This means:

a) This is a Perl script

b) The operator should not be using /bin/csh

c) C Shell compatibility mode is enabled

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

e) Nothing, this is a comment

39
New cards

Most of nano's commands take the form of:

a) Alt and another character

b) Escape followed by another character

c) The F1 through F12 function keys

d) Mouse clicks

e) Control and another character

Most of nano's commands take the form of:

a) Alt and another character

b) Escape followed by another character

c) The F1 through F12 function keys

d) Mouse clicks

e) Control and another character

40
New cards

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

a) 255

b) 0

c) 2

d) 1

e) 10

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

a) 255

b) 0

c) 2

d) 1

e) 10

41
New cards

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

a) test $USERS -eq 5

b) test $USERS,5

c) test -f USERS=5

d) test $USERS = 5

e) test $USERS -a 5

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

a) test $USERS -eq 5

b) test $USERS,5

c) test -f USERS=5

d) test $USERS = 5

e) test $USERS -a 5

42
New cards

Which of the following are valid partitioning types?

(choose two)

a) PC

b) MBR

c) GPT

d) BIOS

Which of the following are valid partitioning types?

(choose two)

a) PC

b) MBR

c) GPT

d) BIOS

43
New cards

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

a) Drivers

b) Instructions

c) Packages

d) Programs

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

a) Drivers

b) Instructions

c) Packages

d) Programs

44
New cards

Which of the following commands will check hard disk GPT partitions?

(choose three)

a) sfdisk

b) sgdisk

c) gdisk

d) cgdisk

e) gfdisk

Which of the following commands will check hard disk GPT partitions?

(choose three)

a) sfdisk

b) sgdisk

c) gdisk

d) cgdisk

e) gfdisk

45
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

46
New cards

The free command outputs statistics about:

a) Memory usage

b) Disk usage

c) Software usage

d) CPU usage

The free command outputs statistics about:

a) Memory usage

b) Disk usage

c) Software usage

d) CPU usage

47
New cards

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

a) /proc/kernel

b) /proc/kopts

c) /proc/kargs

d) /proc/cmdline

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

a) /proc/kernel

b) /proc/kopts

c) /proc/kargs

d) /proc/cmdline

48
New cards

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

a) /etc/sysinfo.conf

b) /etc/sysctl.conf

c) /etc/procctl.conf

d) /etc/procsys.conf

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

a) /etc/sysinfo.conf

b) /etc/sysctl.conf

c) /etc/procctl.conf

d) /etc/procsys.conf

49
New cards

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

a) ifconfig

b) route

c) ipconfig

d) dig

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

a) ifconfig

b) route

c) ipconfig

d) dig

50
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

51
New cards

When issuing the service network restart command, which of the following occurs?

a) ...takes down all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.

b) ...the networking for the system is stopped and then started back up.

c) ...brings up all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.

When issuing the service network restart command, which of the following occurs?

a) ...takes down all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.

b) ...the networking for the system is stopped and then started back up.

c) ...brings up all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.

52
New cards

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

a) route

b) ss

c) ifconfig

d) top

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

a) route

b) ss

c) ifconfig

d) top

53
New cards

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

a) group bob

b) id bob

c) all bob

d) groups -a

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

a) group bob

b) id bob

c) all bob

d) groups -a

54
New cards

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

a) 65,000

b) 10,000

c) 1

d) 256

e) 16

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

a) 65,000

b) 10,000

c) 1

d) 256

e) 16

55
New cards

A value of 0 in the "minimum" password aging field means the user cannot change their password.

True or False?

a) True

b) False

A value of 0 in the "minimum" password aging field means the user cannot change their password.

True or False?

a) True

b) False

56
New cards

Sudo privileges allow users to execute commands as another user.

True or False?

a) True

b) False

Sudo privileges allow users to execute commands as another user.

True or False?

a) True

b) False

57
New cards

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

a) id

b) getent

c) who

d) w

e) su

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

a) id

b) getent

c) who

d) w

e) su

58
New cards

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

(choose two)

a) -g

b) -S

c) -s

d) -G

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

(choose two)

a) -g

b) -S

c) -s

d) -G

59
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

60
New cards

Which of the following files contains user IDs?

a) /etc/passwd

b) /etc/shadow

c) /etc/group

d) /etc/usr

Which of the following files contains user IDs?

a) /etc/passwd

b) /etc/shadow

c) /etc/group

d) /etc/usr

61
New cards

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

a) usermod -L bob

b) usermod -D bob

c) usermod -d bob

d) usermod -l bob

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

a) usermod -L bob

b) usermod -D bob

c) usermod -d bob

d) usermod -l bob

62
New cards

What directory contains a user's home directory?

a) /rootfs

b) /user

c) /

d) /home

What directory contains a user's home directory?

a) /rootfs

b) /user

c) /

d) /home

63
New cards

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

a) Are not used for groups, but for user accounts

b) Administrators

c) User private groups (UPG)

d) System use

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

a) Are not used for groups, but for user accounts

b) Administrators

c) User private groups (UPG)

d) System use

64
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

65
New cards

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

True or False?

a) True

b) False

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

True or False?

a) True

b) False

66
New cards

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

a) ls -a

b) ls -z

c) ls -l

d) ls -la

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

a) ls -a

b) ls -z

c) ls -l

d) ls -la

67
New cards

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

a) chmod 1755 /usr/bin/program

b) chmod 4755 /usr/bin/program

c) chmod 2755 /usr/bin/program

d) None of the above

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

a) chmod 1755 /usr/bin/program

b) chmod 4755 /usr/bin/program

c) chmod 2755 /usr/bin/program

d) None of the above

68
New cards

Setting setgid on a directory...

a) ...will allow scripts in the directory to be executed as the group owner of the directory.

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

c) ...is not allowed by the system.

d) ...does nothing.

Setting setgid on a directory...

a) ...will allow scripts in the directory to be executed as the group owner of the directory.

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

c) ...is not allowed by the system.

d) ...does nothing.

69
New cards

Deleting a source file will break an associated hard link.

True or False?

a) True

b) False

Deleting a source file will break an associated hard link.

True or False?

a) True

b) False

70
New cards

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

a) ln file link

b) ln -s link file

c) ln link file

d) ln -s file link

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

a) ln file link

b) ln -s link file

c) ln link file

d) ln -s file link