Docsity

CIT 225 Final Exam Study Guide - Database & SQL, Exams of Database Programming

Toggle sidebar
bg1
Page 1 of 83
CIT 225 FINAL EXAM QUESTIONS AND
ANSWERS ALL COMBIINED EXAM WITH
VERIFIED SOLUTIONS TESTED AND
APPROVED!!!
Which Linux command can be utilized to display your current login name? --
ANSWER--whoami
Alexis is installing Linux on a new server system that will be used as a print
server. Which directory should Alexis choose to create as a separate filesystem
during the installation to ensure that the print server cannot use space on the /
filesystem? --ANSWER--/var
Dustin runs a command at the command line trying to find out what kernel
version the system is running. However, it doesn't give him the information he
needs. He knows there is an option that can be used to display the kernel
version. How can he find out which option to use? --ANSWER--man uname
Sandra needs to obtain the latest image of Fedora so that she can install it as a
virtual machine on her Windows workstation. Which of the following file
formats is Sandra likely to find available for download from Fedora's website
that would allow her to use the file as the source for booting and installing
Linux as a virtual machine? --ANSWER--.iso
DO NOT COPY
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53

Partial preview of the text

Download CIT 225 Final Exam Study Guide - Database & SQL and more Exams Database Programming in PDF only on Docsity!

CIT 225 FINAL EXAM QUESTIONS AND

ANSWERS ALL COMBIINED EXAM WITH

VERIFIED SOLUTIONS TESTED AND

APPROVED!!!

Which Linux command can be utilized to display your current login name? -- ANSWER--whoami Alexis is installing Linux on a new server system that will be used as a print server. Which directory should Alexis choose to create as a separate filesystem during the installation to ensure that the print server cannot use space on the / filesystem? --ANSWER--/var Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn't give him the information he needs. He knows there is an option that can be used to display the kernel version. How can he find out which option to use? --ANSWER--man uname Sandra needs to obtain the latest image of Fedora so that she can install it as a virtual machine on her Windows workstation. Which of the following file formats is Sandra likely to find available for download from Fedora's website that would allow her to use the file as the source for booting and installing Linux as a virtual machine? --ANSWER--.iso

DO NOT COPY

Dillon wants to install Fedora Linux on a workstation computer by booting from live installation media and has already downloaded the live media ISO image for Fedora. What software can Dillon use on his Windows PC to create a bootable USB flash drive from the live media ISO image? (Choose all that apply.) --ANSWER---Fedora Media Writer

  • balenaEtcher Andre uses an Apple laptop and wishes to install Linux within a virtual machine on macOS. Which of the following hypervisors can he install on macOS to create a Linux virtual machine? (Choose all that apply.) --ANSWER---UTM
  • Parallels Desktop What BASH shell prompt does the root user receive? --ANSWER--# To display a text file in reverse order, what command should be used? -- ANSWER--tac Jo has received a text file that contains multiple instances of his name spelled correctly as well as multiple instances spelled as Joe. Which of the following commands would search a text file for any occurrences of either spelling and display them out to the terminal? (Choose three.) --ANSWER---grep - E "Joe*" document1.txt
  • grep - E "Joe?" document1.txt

DO NOT COPY

Which of the following types of cloud delivery models would a containerized web app be considered? --ANSWER--PaaS The United States Air Force was able to install Linux on a popular gaming console and then connect over 1,700 of these systems together to work as one big supercomputer. Which of the following types of technologies did they implement? --ANSWER--clustering Which of the following will display a list of files and directories under the /bin directory? (Choose all that apply.) --ANSWER---tree /bin

  • ls - R /bin If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature? --ANSWER--Tab In order to move from the /home/joe/test/data directory to the /home/joe directory, what command should be issued? --ANSWER--cd ../.. Lynn runs the locate command and the results include many files from a directory that she doesn't want to include in her search. Which of the following files could Lynn modify so that the locate command no longer includes those results? --ANSWER--/etc/updatedb.conf

DO NOT COPY

What argument can be used with the chmod command to add read permission and remove write permission for the group owner of a file? --ANSWER--g+r-w Which of the following are valid permissions for a directory where the command chmod 1777 has been used to set the permissions on it? --ANSWER-- rwxrwxrwt Which of the following commands can be used to ensure that no user on the system, including the root user, can modify the contents of the securedata.bin file? --ANSWER--chattr +i securedata.bin Which of the following commands will return the absolute path on the filesystem to the grep binary executable? (Choose all that apply.) --ANSWER--- which grep

  • type grep Jim wants to rename a directory for a project that he has been working on. Which of the following commands can he use to perform that action? -- ANSWER--mv projectx projecty Julian notices a + symbol following the mode of a file when running the ls - l command. What command should Julian run next to view the information provided by the + symbol? --ANSWER--getfacl

DO NOT COPY

Which of the following commands can be used to create an ISO image from the contents of the /backups directory? --ANSWER--mkisofs −RJ −o image.iso /backups/* What type of hypervisor is KVM? --ANSWER--Type 1 Lou has configured multiple SAN connections on his Linux system and would like to implement DM-MPIO. What command can Lou run to automatically detect the SAN connections and create a default MPIO configuration? -- ANSWER--mpathconf Which of the following commands can be used to display general hardware information for the entire system? --ANSWER--lshw What command is used to create a ZFS volume from one or more storage devices? --ANSWER--zpool Your system currently contains a single SAS storage device that hosts the root filesystem. After installing the correct module for your Fibre Channel HBA, what device file can you use to access your Fibre Channel SAN storage? -- ANSWER--/dev/sda

DO NOT COPY

During the creation of a BTRFS filesystem, you can provide different levels of fault tolerance for the inode table and data blocks on a filesystem. What BTRFS term is used to describe the inode table? --ANSWER--metadata A government office wants to secure a few of its Linux systems so that they can only use certain USB devices. After plugging in a USB device, which of the following commands could be used to detect certain identifying information that can be used to only allow that type of USB device? --ANSWER--lsusb Which of the following can be used for comparing values within an if statement? (Choose two.) --ANSWER----lt

  • = Which of the following commands should you use to specify that you want to use Git for version tracking on them? --ANSWER--git add Which of the following is a valid method of running a script named myscript.sh that gives the current user execute permission? (Choose all that apply.) -- ANSWER--./myscript.sh Scott has recently set the Z shell as his current shell and wishes to enable some additional Z shell options. What command should Scott run to do this? -- ANSWER--vi ~/.zshrc

DO NOT COPY

Where can you find the boot entries displayed by GRUB at boot time on a Fedora Linux system that uses the BootLoaderSpec module? --ANSWER-- /boot/loader/entries/* Which of the following commands will shut down a Linux system? (Choose all that apply.) --ANSWER---telinit 0

  • systemctl isolate poweroff.target The Linux kernel stores time in the number of seconds since which date? -- ANSWER--the number of seconds since January 1, 1970 Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence? --ANSWER--Sticky keys If incompatible X Windows settings are configured, where will the errors that are generated be written to? --ANSWER--~/.xsession-errors Which of the following commands will show a list of process names along with their process ID (PID)? (Choose two.) --ANSWER---ps
  • htop Which of the following states describe a process that is waiting for a parent process to release its PID? --ANSWER--zombie

DO NOT COPY

What command is used to display the lineage of a process by tracing its PPIDs until the init daemon? --ANSWER--pstree Which of the following statements is false regarding commands and shell scripts that are executed within a shell? --ANSWER--They are executed within the current shell unless they are run in the background. Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357? --ANSWER--kill - 9 1357 Which of the following commands will show the cron jobs that have been created for the currently logged in user? --ANSWER--crontab - l Which of the following commands can be used to display the background processes started by the current user? --ANSWER--jobs Which of the following commands can you use to send a print job to printer1? (Choose all that apply.) --ANSWER---lpr - d printer1 mydocument.txt

  • lpr - P printer1 mydocument.txt Which of the following commands can be used to prevent a printer named Printer1 from sending print jobs in the print queue to the printer? --ANSWER-- cupsdisable Printer

DO NOT COPY

Which of the following commands will install a package using the Red Hat Package Manager, showing all information, while printing pound signs to show the progress of installation? --ANSWER--rpm - ivh packagename.rpm Which of the following commands can be used to modify installation configuration options for DPM packages after they have been installed? -- ANSWER--dpkg-reconfigure You have downloaded an AppImage file from the Internet. What command can be used to verify the SHA-256 checksum that is listed on the website from which you downloaded the file? --ANSWER--sha256sum After downloading a sample.appimage file from AppImageHub.com, how can you run it? --ANSWER--Modify the file permissions to grant execute permission and execute it like any other program binary. Which of the following commands will list missing libraries as not found if a necessary library is not installed? --ANSWER--ldd Which of the following Red Hat Package Manager commands will install the newest versions of all packages that are currently installed on a system? -- ANSWER--dnf upgrade Which of the following file extensions are used by the Debian Package Manager? --ANSWER--.deb

DO NOT COPY

You run the command hostname server1 and then issue the reboot command. You notice that the host name has reverted back to what it was before the reboot. Which of the following commands should you have used to change the host name instead? --ANSWER--hostnamectl set-hostname server What command can be run within a desktop environment to configure a DSL connection on a system that uses NetworkManager? --ANSWER--nm- connection-editor Which of the following IPv4 addresses can only be used behind a proxy server or NAT router? --ANSWER--10.4.9. When connecting to a host via SSH for the first time, the user is prompted to accept the encryption fingerprint for the target computer. In which file is this fingerprint stored? --ANSWER--~/.ssh/known_hosts What command can be used to connect to server5 using SSH as the user eschmidt? (Choose all that apply.) --ANSWER---ssh - l eschmidt server

  • ssh eschmidt@server Upon running the ifconfig command, the IP address is listed along with the subnet mask in dotted decimal notation listed as 255.255.255.224. How would this be represented by the ip addr command using CIDR notation? --ANSWER-
  • /

DO NOT COPY

Which command can be used to test the performance of an Apache web server? --ANSWER--ab The systems on your network obtain IPv4 configuration from a Linux DHCP server. When monitoring network traffic from your router, which of the following DHCP packets would you expect to see large numbers of if the Linux DHCP server is offline? --ANSWER--DHCPDISCOVER Which of the following commands can be used to display any email messages awaiting delivery alongside the reason that they were not delivered? -- ANSWER--mailq What line in the /etc/chrony.conf file would allow systems on the 10.3.0.0/ network to obtain time information from the NTP server? --ANSWER--allow 10.3/ When looking at the password-auth file on a Fedora system, you notice part of the syntax that says dcredit=3. What is the significance of this part of the configuration? --ANSWER--Users must use at least 3 characters as numbers in their passwords. If the /dev/sdb device on a Linux server experiences poor IOPS performance, which of the following could you try to improve performance? --ANSWER-- modify the default scheduler listed in /sys/block/sdb/queue/scheduler

DO NOT COPY

Which of the following commands allows a standard user to execute a single command as root without obtaining a root shell? (Choose all that apply.) -- ANSWER---sudo

  • su - c Which of the following are examples of devices that provide for multifactor authentication when used in combination with a username and password? (Choose all that apply.) --ANSWER---fingerprint reader
  • user certificate
  • YubiKey token device When should you take baseline performance measurements on a production Linux server? --ANSWER--during periods of regular usage (e.g., business hours) Which of the following commands will change the SELinux security context of a file? --ANSWER--chcon Xavier receives an error message stating that he cannot copy files to a filesystem that has plenty of free space. What are the probable causes of this issue? --ANSWER---Xavier has exceeded the hard limit of a user or group quota.
  • The inode table on the filesystem has been exhausted.

DO NOT COPY

- FLOSS

After a shell is no longer needed, what command can be given to exit the shell? --ANSWER--exit During a Fedora Linux installation, Harvey notices that the system has automatically configured a small nvme0n1p1 partition with a vfat filesystem. Why did the system create this partition? --ANSWER--The computer has a UEFI BIOS. Which two partitions (and associated filesystems) must be created on a storage device at minimum during a Linux installation? (Choose two.) --ANSWER---/

  • /boot When using the vi text editor, which of the following keys, when in command mode, will move to the last line in the document? --ANSWER--G When issuing the ls - F command, what special character appended to the filename indicates that the file is a shortcut to another file? --ANSWER--@ Abdul wishes to view the contents of a binary data file in his home directory to learn more about what program was used to create it. Which of the following commands would allow Abdul to safely view the contents of this file? -- ANSWER--strings

DO NOT COPY

Which of the following information does the stat command display about a file? (Choose all that apply.) --ANSWER---The file size

  • The time a file was created
  • The last time the contents of a file were modified
  • The last time a file was accessed Jan needs to set permissions on a file so that the owner has read, write, and execute permissions. The group should have read permissions only, and everyone else should have no access. Which of the following parameters, when used with the chmod command, would set the permissions described? -- ANSWER-- 740 Nashina is logged in as the root user account on a production Linux server but is unable to modify a particular configuration file. What command can be used to verify whether the configuration file is read-only? --ANSWER--lsattr In order to set all of the special permissions on a certain file or directory, which command should be used on a file named filename? --ANSWER--chmod 7777 filename Which of the following commands can be used to recursively search through the directory tree in search of a file that meets a set of given criteria instead of using an indexed database? --ANSWER--find

DO NOT COPY