Quiz
CSC-250
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do quiz (147)
1Which of the following are examples of Linux distributions?
- ARed Hat
- BUbuntu
- CPCLinuxOS
- DZorin
- EopenSUSE
- FFreeBSD
- GDebian
2Linux supports a variety of desktop environments. The desktop environment supported in CentOS is:
- AFirefox
- BGNOME
- CBudgie
- DAll of the above
3The two major resources the kernel manages are processes and memory.
- AVerdadeiro
- BFalso
4"Linux is a modular system, which means ...
- A"The programs, or modules, are placed on separate computers for more efficient access."
- BAll its components are separate from one another.
- C"The programs, or modules, are in one place in the hierarchy for easy maintenance."
- DAll of the above.
- ENone of the above.
5"Most current Linux versions include a graphical desktop, a Web browser, e-mail, sound, video, and just about any other feature that Windows has to offer."
- AVerdadeiro
- BFalso
6The default command shell for CentOS 7 is:
- ABourne (sh)
- BKorn (ksh)
- CBash (bash)
- DC (csh)
7"Linux has three types of files, they are:"
- A"Static, permanent, variable"
- B"Small, larger, largest"
- C"Device, regular, directory"
- D"Special, important, plain"
8CentOS includes everything needed to connect to your home or school network and access the Internet.
- AVerdadeiro
- BFalso
9"Linux has a file system organized in a hierarchical, treelike structure with the highest point being the / (root) directory."
- AVerdadeiro
- BFalso
10"Every Linux kernel offers the following features: Multiuser, Multitasking, Networking connectivity, and Security."
- AVerdadeiro
- BFalso
11Everything Linux does is a _______.
- Adaemon
- Bmoduleized
- Cprocess
- DEPROM
12The current Linux kernel was created by Linus Tanenbaum in 1987.
- AVerdadeiro
- BFalso
13"Linux is a multitasking, multiuser operating system that's distributed free."
- AVerdadeiro
- BFalso
14"The CD/DVD-ROM drive is represented as a file, located under the root (/) directory in the /dev subdirectory."
- AVerdadeiro
- BFalso
15A program is open source when it's distributed with its source code so that users can view or modify it.
- AVerdadeiro
- BFalso
16The major components of the Linux operating system are:
- A"The kernel, the shell, Daemons, applications"
- B"Processes, memory, and storage"
- CModules and programs
- D"An OS, Network, communication interface"
17____________ is the storage space where a computer reads and writes data.
- AElectronically erasable programmable read only memory (EEPROM)
- BRandom access memory (RAM)
- CRead only memory (ROM)
- DErasable programmable read only memory (EPROM)
18A shell is the command-line interface between users and the kernel.
- AVerdadeiro
- BFalso
19All Linux versions are open source
- AVerdadeiro
- BFalso
20The operating system (OS) is essentially software that's designed to control hardware.
- AVerdadeiro
- BFalso
21The virtual machine using the host's physical hardware resources is the ___________.
- AHost
- BGuest
- COperating System
- DHard Drive
22The amount of memory you can use for your virtual machine can be equal to the amount of physical memory to that of your host computer.
- AVerdadeiro
- BFalso
23We chose a btrfs file system because of its journaling and back up functionality. Btrfs was chosen for which mount points?:
- A/ (root)
- Bswap
- C/home
- D/boot
24"After our new server reboots one final time, we logged on and modified_____________so we could disable Linux built in security."
- A/etc/fstab
- B/etc/linux/config
- C/etc/selinux/config
- D/etc/sysconfig/network-scripts
25yum is an open-source command-line package-management utility for computers running the Linux operating system using the RPM Package Manager used by CentOS for installing software packages.
- AVerdadeiro
- BFalso
26The Physical computer where the virtual machine runs is the ____________.
- AHost
- BGuest
- COperating System
- DHard Drive
27VMWare Fusion/Workstation Pro was installed on the ________ physical computer.
- AGuest's
- BLinux
- CHost's
- DAll of the above
28Groups of servers networked together in a single location are:
- AProtocol
- BLAN-WAN
- CServer Farm
- DWi-Fi
29The virtual network adapter for our virtual machine was configured to NAT because of OCC's network requirements
- AVerdadeiro
- BFalso
30"A virtual machine (VM) is a software container with its own OS, IP address, and applications."
- AVerdadeiro
- BFalso
31The file system type chosen during our CentOS installation for the /home partition (mount point) was:
- Axfs
- Bswap
- Cbtrfs
- Dext4
32During the CentOS Operating System installation "We chose to "Dynamically Allocate" the storage on the physical hard disk, why?
- ATo manage hard disk space more efficiently
- BTo expedite partitioning of our virtual machine's hard disk
- CTo reserve the partition size for future use
- DOracle Virtual Box installation instructions tell you to
33One of the requirements for our CentOS server was the minimum amount of storage. The minimum required amount of storage I required you have for our CentOS server was:
- A5GB
- B1GB
- C8GB
- D20GB
34During the initial installation of CentOS we changed the Installation Destination setting from:
- A"I will configure partitioning" to Automatic partitioning
- BAutomatic to "I will configure partitioning"
- C*.iso to DVD partitioning
- DDefault to custom partitioning
35While the CentOS system setup was running we:
- AWaited
- BEstablished the root and admininsrator ID's and password's
- CConfigured the Network
- DTook notes on which RPM packages were installed
36"The virtual machine file location was the host computers hard drive, this could not be changed."
- AVerdadeiro
- BFalso
37"Before starting a virtual machine for the first time, check that the Installation DVD or *.iso image is attached to the IDE Secondary Master (virtual optical disk drive)."
- AVerdadeiro
- BFalso
38Before beginning your VMWare Fusion/Workstation Pro installation you needed to make sure you:
- A"Are connected to the Internet, and that you can browse the WEB"
- B"Had, a clean workspace, free of liquids"
- CA notebook for taking installation notes
- DMS Word
39For our virtual machine we could use a 32bit or 64bit image file and VMWare Fusion/Workstation Pro confirmed your hardware capability by automatically selecting the correct operating system version when you named your new Virtual Machine.
- AVerdadeiro
- BFalso
40
"Once the virtual machine was created, some virtual machine settings needed to be modified. The virtual machine settings that needed to be modified were:"- ADisplay and Audio
- BUSB and Shared folders
- CHard Disk (SCSI), Network, and CD/DVD (IDE)
- DGeneral and System
41________displays what processes are running in your environment.
- Acd
- Brmdir
- Cps
- Dtouch
42Btrfs is a modern copy on write (CoW) file-system for Linux.
- AVerdadeiro
- BFalso
43The command line prompt varies depending on the shell.
- AVerdadeiro
- BFalso
44
"Most major Linux distributions include a GUI desktop environment, such as GNOME or KDE, but learning the command line is important, especially for server administrators."- AVerdadeiro
- BFalso
45The command line prompt cannot be changed it is always a $.
- AVerdadeiro
- BFalso
46The command to display a long list of files in the /etc directory is:
- Als /etc
- Bcd /etc
- Cls -l /etc
- Dls -la /etc
47
The su (switch user) command enables one user to become another user temporarily. You must know the users password.- AVerdadeiro
- BFalso
48The command to display the inode information of a file is?
- Als -la
- Bls -di
- Cls -il
- Dls -Ilad
49A data structure that stores all information about a file except the actual data and filename is:
- Adirectory block
- Bfile block
- Cinode
- DROM
50A file system is the way files are stored and organized to simplify access to data.
- AVerdadeiro
- BFalso
51The cd command issues a change directory command to the kernel. This command also displays a list of the contents of your current working directory.
- AVerdadeiro
- BFalso
52"XFS is a high performance 64-bit journaling file system created by Silicon Graphics, Inc. in 1993."
- AVerdadeiro
- BFalso
53Specifies the pathname starting from the current directory:
- AAbsolute path
- BSymbolic path
- CRelative path
- DDirect path
54"The File System Hierarchy Standard specifies requirements, guidelines and standards for the Internet."
- AVerdadeiro
- BFalso
55Which symbol represents the users home directory when used with the change directory command.
- A&
- B*
- C~
- D#
56Identify the following output of the ls -l command:
drwxr-xr-x 2 natalie users 4096 2012-02-06 20:01 Desktop
[blank_start]1.[blank_end]
Hard Links
[blank_start]2.[blank_end]
Filename
[blank_start]3.[blank_end]
Group
[blank_start]4.[blank_end]
Modification time
[blank_start]5.[blank_end]
File Size
[blank_start]6.[blank_end]
Owner
[blank_start]7.[blank_end]
permissions
[blank_start]8.[blank_end]
File type- A2
- BDesktop
- Cusers
- D2012-02-06 20:01
- E4096
- Fnatalie
- G-rwxr-xr-x
- Hd
57Linux administrators use wildcards to:
- ANavigate to directories faster
- B"Copy, move or delete a group of files"
- CLocate files based on a portion of their name
- DAll of the above.
58"Each partition in Windows has its own root directory. In Linux, however, there's only one root directory."
- AVerdadeiro
- BFalso
59Syntax of ALL Linux commands:
- Acommand -options argument
- Bcommand options -argument
- Ccommand -argument options
- Dcommand argument -options
60System updates and program maintenance are done by?
- Aadmin ID
- Broot ID
- Cadmin and root ID
- Da normal users ID
61Using the su command with a - (dash) enables you to become another user temporarily without knowing the users password.
- AVerdadeiro
- BFalso
62The mv command:
- Acan only rename a file
- Bcan move and rename a file
- Ccan only move a file
- DAll of the above.
63File systems based on the FHS have two distinctions: shareable versus unshareable files and variable versus static files.
- AVerdadeiro
- BFalso
64"Documentation files that describe Linux shell commands, executable programs, system calls, special files are?"
- ADocument pages
- BManual pages
- CLinux pages
- DHelp pages
65The easiest way to create a empty file in Linux is:
- Acat
- Bmk
- Ctouch
- Dln
66Typing ____ at the extended mode prompt quits vim without saving the file and ignores warnings that changes haven’t been saved.
- Awq!
- Bq!
- Cqq
- Dw!
67When you start vim, you are in ____ mode automatically.
- Aextended
- Binsert
- Cline
- Dcommand
68You can undo changes you made to a file by typing u.
- AVerdadeiro
- BFalso
69Typing ____ at the extended mode prompt saves the file and exits the vim text editor.
- Awq
- Bwx
- Cqw
- Dsx
70Vim is a ____ editor meaning it can run in different operating modes.
- Amulti-operational
- Bhierarchal
- Cmodular
- Dvirtual
71In vim, you modify text by using the keyboard instead of the mouse.
- AVerdadeiro
- BFalso
72Which vim command shows line numbers?
- A:set num
- B:set nu
- C:show num
- D:show nu
73Which vim command allows text to be entered at the cursor?
- Aa
- BA
- Ci
- DI
74Which vim command replaces a single character and returns to command mode automatically?
- Ar
- BR
- Cs
- DS
75You type ____ in vim command mode to move the cursor one space to the left
- Ah
- Bj
- Ck
- Dl
76To enter vim extended mode, type the ____ symbol.
- A%
- B$
- C#
- D:
77Which vim command deletes the entire line and switches to insert mode?
- Ar
- BR
- Cs
- DS
78After you finish entering text in vim insert mode, you can press the ____ key to change back to command mode
- AESC
- BBack
- CShift
- DDel
79You must be in command mode to type text.
- AVerdadeiro
- BFalso
80Which command searches the line the cursor is on for the first occurrence of the string old and replaces it with the string new?
- A:s/old/new
- B:s/new/old
- C:3,15s/old/new/g
- D:%s/old/new/g
81You type ____ in vim command mode to move the cursor one space up.
- Ah
- Bj
- Ck
- Dl
82The main purpose of a text editor is to create a file that can be used by another program.
- AVerdadeiro
- BFalso
83Yank commands delete text.
- AVerdadeiro
- BFalso
84You type ____ in vim command mode to repeat a search in the opposite direction.
- An
- BN
- Cu
- DU
85Which vim command deletes the entire line the cursor is on?
- Ax
- BX
- Cdd
- Ddel
86Which command will display the exit status code on the screen?
- Aenv scode
- Becho $?
- Cdis code
- Dsh #
87Which command works the same as the more command but offers more flexibility in navigation?
- Aless
- Bdis
- Cdown
- Dshow
88You can use condition statements to create menu scripts that allow users to choose from a list of options.
- AVerdadeiro
- BFalso
89To see a particular variable’s stored value, you can use the echo command and add a(n) ____ symbol before the variable name.
- A$
- B=
- C!
- D#
90Successful commands usually return the code 0 to the shell.
- AVerdadeiro
- BFalso
91Which symbol represents a permission that has not been granted?
- A*
- B^
- C-
- D/
92What is the result of running the head -15 scr8 command?
- AThe command displays the last 15 lines of the scr8 file.
- BThe command displays the first 15 lines of the scr8 file.
- CThe command displays the contents of the scr8 file without the last 15 lines.
- DThe command displays the contents of the scr8 file starting at line 15.
93Which command removes write and execute permissions for the other category on file4?
- Achmod o-wx file4
- Bchmod file4 o-wx
- Crem file4 o-wx
- Ddel o-wx file4
94The cat command is usually used to display the contents of a ____.
- Alarge text file
- Blog file
- Csmall text file
- Dmemory dump
95Which variable assignment method is useful when you need information from the user to complete the script?
- AConditional
- BDirect assignment
- CPrompt
- DPositional parameter
96Which command is used to display a list of all environment variables and their stored values?
- Adev
- B$echo
- Cenv
- Ddvar
97Which command ends a case statement?
- A;;end
- B!!end
- Cstop
- Desac
98Which variable assignment method would you use to specify a variable’s value in a script command?
- AConditional
- BDirect assignment
- CPrompt
- DPositional parameter
99The if statement can only return a binary zero or one condition.
- AVerdadeiro
- BFalso
100The case statement syntax requires a(n) ____ to mark the end of each code portion matching a specific value.
- A.
- B!
- C;;
- D!!
101The functions of the three permission types (read, write, and execute) are applied the same for files and directories.
- AVerdadeiro
- BFalso
102With a compiled program, all the source code is converted to machine code and stored in a ____ before the user runs the script.
- Atemporary file
- Bbuffer
- Cbinary file
- Dvariable
103Which command is used to change permissions on files and directories?
- Achg
- Bdel
- Crem
- Dchmod
104What is the corresponding numeric notation for a file with rw-rw-r-- permissions?
- A221
- B664
- C110
- D441
105By default, only root can execute a file automatically.
- AVerdadeiro
- BFalso
106Indicates the end of the condition being tested. [blank_start]fi statement[blank_end]
A loop statement that tests a condition in much the same way as if-then statements. [blank_start]while statement[blank_end]
Starts the portion of code specifying what to do if the condition evaluates to false. [blank_start]else statement[blank_end]
A loop statement that specifies the number of times to execute the portion of code. [blank_start]for statement[blank_end]
Starts the condition being tested. [blank_start]if statement[blank_end]
Indicates the end of the code to be repeated. [blank_start]done statement[blank_end]
Indicates the beginning of the code to be repeated. [blank_start]do statement[blank_end]
A loop statement that causes the interpreter to continue executing the code in the until loop portion of the script as long as the condition is false. [blank_start]until statement[blank_end]
Starts the portion of code specifying what to do if the condition evaluates to true. [blank_start]then statement[blank_end]- Afi statement
- Bwhile statement
- Celse statement
- Dfor statement
- Eif statement
- Fdo statement
- Guntil statement
- Hthen statement
- Idone statement
107The BASH shell is an example of a(n)____.
- Ainterpreter
- Bcompiler
- Ckernel file
- Dmachine code file
108Which Linux utility is used to compress files?
- Azip
- Bcpio
- Ctar
- Dgzip
109The compression ____ defines by how much a file is reduced after compressing it.
- Amedium
- Bprogram
- Cratio
- Dmode
110____ refers to unpacking the members of a tar archive and making them available.
- AUnzipping
- BDecompression
- CDecrypting
- DExtraction
111Which output redirection operator is used to redirect a command’s output to a file?
- A^
- B|
- C<
- D>
112Which command is used to create, delete, and list cron tables?
- Acron
- Bcronutil
- Ccrontab
- Dcronmg
113Which symbol is used to redirect input from the keyboard?
- A^
- B|
- C<
- D>
114The bzip2 utility compresses files and adds the ____ extension.
- A.zp2
- B.zip
- C.bz
- D.bz2
115What is the result of the ls > home_listing command?
- AThe ls command’s output is redirected to the home_listing file.
- BThe ls command’s output is redirected to the screen.
- CThe home_listing file is redirected as input to the ls command.
- DThe ls command’s output is merged into the home_listing file.
116How many gigabytes (GB) of data does the standard DVD hold?
- A4.7
- B32
- C128
- D256
117The most common backup medium is ____.
- Atape
- Bhard disk
- CUSB
- DCD/DVD
118A volume header is simply a digital label used to describe a file
- AVerdadeiro
- BFalso
119Which advanced tar option does not have a short name?
- Aappend
- Bupdate
- Cdelete
- Dcompare
120Creating an archive with the tar command deletes the original data.
- AVerdadeiro
- BFalso
121Only the ____ can edit the system cron table
- Aroot user
- Btable owner
- Cadmin user
- Dall users
122Which output redirection operator is used to make one command’s output the standard input of another command?
- A^
- B|
- C<
- D>
123To get help with the tar command, type tar --help and press Enter.
- AVerdadeiro
- BFalso
124Which cpio utility mode copies files from one directory to another?
- Acopy-out
- Bcopy-in
- Ccopy-pass
- Dcopy-through
125The following is an entry in the system cron table. What is the option -c indicating?
0 20 * * 5 /usr/bin/su - oraC21 -c "/oracle/C21/sapscripts/backup/backup.ksh"- AOption -c when used with the su - command, passes the command to the shell .
- BOption -c when used with the su - command, specifies a supplemental group.
- COption -c when used with the su - command, changes the shell to csh
- DOption -c when used with the su - command, clears all environment variables except TERM.
126In CentOS, the system cron table uses the Bash shell by default.
- AVerdadeiro
- BFalso
127To uncompress a file compressed with the gzip utility, you use the ____ command.
- Agunzip
- Bunzip
- Cbunzip
- Dgunzip2
128When creating a new user using the GUI utility, the default expiration date is in the form of ____.
- AMMDDYYYY
- BDD-MM-YYYY
- CDDMM-YYYY
- DYYYY-MM-DD
129Which character in the /etc/shadow file’s encrypted password field means no password has been set for this user?
- A*
- B%
- C#
- D!
130What value in the /etc/shadow file’s password expiration field means the user’s password never expires?
- A0
- B1
- C999
- D99999
131The first thing you must do after creating a user is set the password.
- AVerdadeiro
- BFalso
132Everyone has permission to view the /etc/passwd file’s contents.
- AVerdadeiro
- BFalso
133What is the effect of changing the date the password was last changed to zero?
- AIt disables the account.
- BIt forces the user to change the password at the next login.
- CIt sets the password to never expire
- DIt sets the password to expire in 24 hours.
134If the chage command is used without options, it is in ____ mode.
- Adefault
- Bterminal
- Cinteractive
- Dinactive
135Which command is used to list and modify password expiration information for user accounts?
- Auserupd
- Bchange
- Cchage
- Duseradd
136A good practice for assigning user names is:
- Aall uppercase letters
- Ball lowercase letters with periods as the delimiter
- Ca combination of two symbols, uppercase and lowercase letters
- Da combination of uppercase and lowercase letters with spaces as the delimiter
137Each field in the /etc/passwd file is separated by ____.
- Aperiods
- Bcolons
- Csemicolons
- Dspaces
138In CentOS, the default skeleton directory is ____.
- A/bin/etc/skel
- B/etc/skel
- C/bin/skel
- D/etc/login/skel
139Regular users typically have a UID less than 100.
- AVerdadeiro
- BFalso
140Which command allows you to find out which group has a GID of 100?
- Acat /etc/group | grep 100
- Bshow /etc/group | grep 100
- Cid gid=100(users)
- Did uid=100(users)
141Which command is used to create user accounts and update default information for new users?
- Auserdel
- Bnewgrp
- Cchage
- Duseradd
- Eusermod
142In CentOS 7, by default, new users are forced to change their passwords the first time they logon.
- AVerdadeiro
- BFalso
143In Linux, the group database configuration file is ____.
- A/etc/group
- B/bin/group
- C/etc/bin/group
- D/bin/etc/group
144The root UID is ____.
- A0
- B1
- C100
- D1000
145Which file contains user account information?
- A/etc/shadow
- B/etc/default/useradd
- C/etc/passwd
- D/etc/login.defs
146Users can change their own passwords by typing passwd with ____ to specify the username.
- Aa less than symbol ( < )
- Btheir gid
- Cno argument
- Dtheir UID
147Which file is a configuration file containing passwords and password expiration information for all user accounts?
- A/etc/shadow
- B/etc/default/useradd
- C/etc/passwd
- D/etc/login.defs
Informações
- Descrição
- Quiz sobre CSC-250, criado por Alex McCarthy em 16-05-2019.
- Autor
- Alex McCarthy
- Idioma
- English
- Visualizações
- 0
- Histórico
- Criado em 16 mai 2019 · atualizado em 17 mai 2019
- Avaliação
- Ainda sem avaliações Avalie este quiz