DCOM 101 Final Exam 2024 questions with answers 100%
DCOM 101 Final Exam 2024 questions with answers 100% Consider the given choices and determine which one establishes a conceptual framework for network connectivity - ANSWERS OSI model Which network device/component acts as a concentrator, centralizing all network connection s for a segment to a single device? - ANSWERS switch What value indicates which part of the IP (Internet Protocol) address is the network ID (identifier) and which part is the host ID? - ANSWERS Subnet mask What do you call the storage locations for available software packages? - ANSWERS Repositories What command should you run first when using apt or apt-getto manage packages on your Debian-derived distribution? - ANSWERS update The rpm command is used to manage RPM packages on Red Hat-derived distributions. What are the primary options available for Red Hat Package Manager (RPM) to keep software current? (Choose all that apply) - ANSWERS -U -F The aptcommand comes with several subcommands for managing packages. Which one of these are subcommands for theapt command? (Select all that apply) - ANSWERS remove, upgrade, purge What is the preferred method of package management in Debian-derivatives? - ANSWERS Advanced Package Tool (APT Being security conscious, you always check out any software package being installed to your CentOS systems. Which command can you run to check supporting software packages prior to installing a new software application? - ANSWERS yum deplist What are the three kinds of repositories? (Select three) - ANSWERS Local, Centralized internal, Vendor What are the two types of utilities that can manage files in Linux? (Select two) - ANSWERS tar, gzip What files contain instructions used by a compiler to build a program from source code? - ANSWERS Makefiles What step in the compilation process uses themakecommand to compile the application using the information stored in the makefile? - ANSWERS 4 The following script is invoked in a bash shell: MyS 55 6 2. Which commands will pass-through any of the arguments initiated with the script? (Select two) - ANSWERS $totaltax = ($1 * .10) $variable1 = $3 You created a basic bash script called and saved it to the /usr/local/bin/ directory. How would you execute the script using its absolute path? - ANSWERS /usr/local/bin/ The line of code,taxtotal=10*$subtotal, is written in a script called . What conditional statement is written afterward so that if the tax total is greater than 100, the user will qualify for a bonus? - ANSWERS if [ $taxtotal -gt 100 ]then echo "Your $taxtotal will qualify you for a bonus!"fi Use acase statement to evaluate a variable. Which example will evaluate at least two conditions of the variable and execute a command? - ANSWERS case $var in condition1 ) execute ;; condition2 ) execute ;; condition3 ) execute ;; esac Your current bash script uses an if statement. If the condition is satisfied, an action will be performed. You wish to incorporate a second action if the condition is not satisfied. Which statement will you add to your code? - ANSWERS else The /etc/localtime has been removed. Which command will change the local system time zone from New York to Chicago? - ANSWERS ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime You are unable to run custom scripts from the current session. The PATH variable is not searching the custom script directory. Which command will you execute to update the PATH directory to contain the /custom/admins/scripts/ and /custom/users/scripts/ directories? - ANSWERS export PATH=/custom/admins/scripts:/custom/users/scripts You wish to run a few commands with modified environment variables but only for that particular session. No arguments will be used. Which command will you use? - ANSWERS printenv Asystem_ bash script has been created and includes several commands which return some basic system information. Which command will display information for the host, available disk space, and available memory all at once? - ANSWERS ./system_ Select two operators that can process logical operations in bash scripting. - ANSWERS AND, NOT What represents the human-readable or computer name of a system? - ANSWERS hostname What layer of the OSI model enables physical connectivity (Media, Signal and Binary Transmission)? - ANSWERS physical How many bits is an IPv4 address? - ANSWERS 32 Commands like nmcli, nmtui and nmgui are used to configure a system's network information. - ANSWERS true What address represents the physcial address of a system? - ANSWERS MAC Command hostname
École, étude et sujet
- Établissement
- DCOM
- Cours
- DCOM
Infos sur le Document
- Publié le
- 6 juin 2024
- Nombre de pages
- 21
- Écrit en
- 2023/2024
- Type
- Examen
- Contient
- Questions et réponses
Sujets
-
dcom 101 final exam 2024 questions with answers
-
dcom 101 final exam 2024 questions with answers 1