Courseiva

LPI Linux Essentials (010-160, v1.6) (010-160) (010-160) — Questions 76150

190 questions total · 3pages · All types, answers revealed

Page 1

Page 2 of 3

Page 3
76
MCQhard

You are managing a Linux server running an application that uses libraries licensed under the LGPL (Lesser General Public License). What is the primary implication of this license?

A.You can link your proprietary code to the library without open-sourcing the proprietary code.
B.You must release your proprietary application's source code if you link it against the library.
C.You are prohibited from using the library in any commercial product.
D.You must pay a royalty fee for every installation of the software.
AnswerA

The LGPL is designed to allow proprietary applications to use free libraries.

Why this answer

The LGPL allows linking to proprietary code without requiring the proprietary application to be open-sourced, unlike the GPL.

77
Multi-Selecteasy

Which THREE of the following are components of a standard Linux file path?

Select 3 answers
A.Root directory (/)
B.Terminal color
C.User password
D.Directory names
E.Filename
AnswersA, D, E

The starting point.

Why this answer

Root, directories, and filenames are components of a path.

78
Multi-Selecteasy

Which TWO of the following are valid commands for displaying file contents?

Select 2 answers
A.cat
B.touch
C.chmod
D.grep
E.less
AnswersA, E

Standard for dumping file content.

Why this answer

cat and less are common tools for viewing files.

79
MCQeasy

You are browsing a directory and need to see hidden files alongside regular files. Which command achieves this?

A.ls -R
B.ls -h
C.ls -a
D.ls -l
AnswerC

The -a option includes files starting with a dot.

Why this answer

The -a (all) flag is required for ls to display hidden files starting with a dot.

80
MCQeasy

A developer needs to know the kernel version currently running on the server. Which command provides this information?

A.uname -r
B.ver
C.hostnamectl
D.cat /etc/issue
AnswerA

uname -r specifically identifies the kernel version.

Why this answer

The uname -r command displays the release version of the Linux kernel.

81
MCQhard

You are trying to troubleshoot why a user cannot connect to your server via SSH. You want to see if the SSH daemon is listening on the appropriate port. Which command should you run?

A.host
B.ping
C.ss -tulpn
D.ip link
AnswerC

ss -tulpn shows listening TCP/UDP ports.

Why this answer

The ss or netstat commands show active network sockets and the services listening on them.

82
MCQmedium

You have created a script but it is not executable. Which command should you use to give the owner execute permissions?

A.chown u+x
B.chgrp u+x
C.chmod u+x
D.chperm u+x
AnswerC

u+x grants execute permissions to the user.

Why this answer

The chmod command is used to change file permissions, and u+x adds execute permission for the user.

83
Multi-Selectmedium

Which TWO of the following commands help in identifying hardware on a system?

Select 2 answers
A.lspci
B.pwd
C.lsusb
D.whoami
E.date
AnswersA, C

Lists PCI hardware devices.

Why this answer

lspci and lsusb are used to list hardware devices connected to their respective buses.

84
MCQmedium

You suspect that a process is consuming too much CPU. Which command allows you to sort active processes by CPU usage?

A.kill
B.nice
C.top
D.ps -ef
AnswerC

top provides an interactive, sortable list of processes.

Why this answer

The top command allows sorting by CPU usage by pressing 'P' while it is running.

85
MCQhard

You have a compressed file 'data.tar.bz2'. Which flag is needed to extract it?

A.tar -xzf data.tar.bz2
B.tar -xAf data.tar.bz2
C.tar -xjf data.tar.bz2
D.tar -xvf data.tar.bz2
AnswerC

-j handles bzip2 compression.

Why this answer

The -j flag is used for bzip2 compression.

86
MCQmedium

You need to append the output of a command to an existing file without overwriting it. Which operator should you use?

A.|
B.>
C.&
D.>>
AnswerD

This appends to the file.

Why this answer

The >> operator appends output to a file.

87
MCQhard

You are trying to find the location of a binary file, specifically the 'ls' command. Which command is best suited for this?

A.find
B.locate
C.which
D.whereis
AnswerC

which returns the pathname of the executable.

Why this answer

The 'which' command finds the location of an executable in the user's PATH.

88
MCQhard

You want to create a symbolic link named 'link_to_file' that points to 'original_file'. Which command is correct?

A.link original_file link_to_file
B.ln -h original_file link_to_file
C.ln original_file link_to_file
D.ln -s original_file link_to_file
AnswerD

-s specifies a symbolic link.

Why this answer

The ln -s command is used to create symbolic links.

89
Multi-Selectmedium

Which TWO of the following flags can be used with 'ls' to modify its output?

Select 2 answers
A.-o
B.-a
C.-z
D.-x
E.-l
AnswersB, E

-a shows hidden files.

Why this answer

-l and -a are very common flags for ls.

90
MCQhard

You are configuring a static IP address on a Debian-based server. Which file must be modified to make this change persistent across reboots?

A./etc/network/interfaces
B./etc/hosts
C./etc/sysconfig/network-scripts/ifcfg-eth0
D./etc/resolve.conf
AnswerA

This is the correct file for configuring Debian network interfaces.

Why this answer

On Debian/Ubuntu systems, /etc/network/interfaces is the file used to define persistent network interface configurations.

91
Multi-Selecthard

Which TWO of the following signals can be used to interact with processes?

Select 2 answers
A.SIGTERM
B.SIGKILL
C.SIGSTOPPED
D.SIGEXIT
E.SIGRUN
AnswersA, B

Terminate signal.

Why this answer

SIGTERM and SIGKILL are standard signals.

92
Multi-Selectmedium

Which THREE of the following are common activities for a Linux system administrator?

Select 3 answers
A.Managing user accounts and permissions
B.Creating commercial advertisements for Linux
C.Applying security patches and updates
D.Monitoring system logs and performance
E.Developing proprietary hardware drivers
AnswersA, C, D

Ensuring proper access control is a key task.

Why this answer

Administrators manage user accounts, apply security updates, and monitor system performance.

93
Multi-Selecthard

Which THREE of the following are valid ways to run commands sequentially?

Select 3 answers
A.;
B.|
C.>
D.&&
E.||
AnswersA, D, E

Execute sequentially.

Why this answer

&&, ||, and ; are standard shell operators.

94
Multi-Selecthard

Which TWO of the following characterize the 'root' user in Linux?

Select 2 answers
A.Cannot be restricted by file permissions.
B.Always has a UID of 0.
C.Cannot be locked.
D.Must have a shell set to /bin/bash.
E.Is always member of the 'users' group.
AnswersA, B

Root bypasses standard DAC permissions.

Why this answer

Root has a UID of 0 and has unrestricted access to the entire file system.

95
Multi-Selectmedium

Which TWO of these tools can modify file ownership or permissions?

Select 2 answers
A.groupdel
B.useradd
C.chown
D.usermod
E.chmod
AnswersC, E

Modifies ownership.

Why this answer

chmod changes permissions, chown changes ownership.

96
MCQhard

You need to find files modified within the last 7 days. Which find flag is correct?

A.find . -ctime 7
B.find . -mtime -7
C.find . -mtime +7
D.find . -atime 7
AnswerB

-mtime -n matches modified less than n days.

Why this answer

-mtime -7 searches for files modified less than 7 days ago.

97
MCQhard

You want to change the owner of 'data.txt' from 'user1' to 'user2' AND the group from 'group1' to 'group2' in one command. Which is correct?

A.chown user2 -g group2 data.txt
B.chown user2 group2 data.txt
C.chown user2:group2 data.txt
D.chown user2 data.txt && chgrp group2 data.txt
AnswerC

This syntax handles both owner and group.

Why this answer

The chown command supports the syntax 'user:group' to change both owner and group simultaneously.

98
MCQhard

You have modified a configuration file for a network service. Which command is best practice to test the configuration syntax before restarting the service?

A.systemctl reload
B.apache2ctl -t
C.systemctl status
D.service name test
AnswerB

This command verifies configuration syntax.

Why this answer

Many services (like Apache or Nginx) provide a config test option (e.g., -t) to prevent service downtime due to syntax errors.

99
MCQhard

You want to execute two commands sequentially, but only if the first command succeeds. Which operator is used?

A.;
B.||
C.&&
D.|
AnswerC

Logical AND for command execution.

Why this answer

The '&&' operator ensures the second command runs only if the first returns an exit code of 0.

100
MCQmedium

What is the purpose of the '..' notation in a file path?

A.Parent directory
B.Current directory
C.Root directory
D.Home directory
AnswerA

.. references the directory above the current one.

Why this answer

.. refers to the parent directory of the current directory.

101
Multi-Selecthard

Which THREE commands can be used to display information about system memory?

Select 3 answers
A.ifconfig
B.vmstat
C.top
D.lsblk
E.free
AnswersB, C, E

vmstat shows virtual memory stats.

Why this answer

free, vmstat, and top provide various ways to monitor system memory usage.

102
MCQmedium

A server is running out of disk space. Which command allows you to view the space usage of directories in a human-readable format?

A.ls -s
B.fdisk
C.du -sh
D.df -h
AnswerC

du -sh provides a summary of directory usage.

Why this answer

The du -sh command summarizes disk usage for directories in human-readable units.

103
MCQmedium

What is the purpose of the 'tee' command?

A.To join files
B.To split output to file and screen
C.To format output
D.To filter output
AnswerB

tee acts like a T-junction in a pipe.

Why this answer

The tee command reads from standard input and writes to both standard output and one or more files.

104
MCQmedium

You want to change the primary group of an existing user named 'bob' to 'staff'. Which command should you use?

A.groupmod -n staff bob
B.chgrp staff bob
C.usermod -g staff bob
D.usermod -G staff bob
AnswerC

This changes the primary group.

Why this answer

The 'usermod -g' command is used to modify the primary group of an existing user account.

105
MCQeasy

Which command removes a directory and all its contents recursively?

A.rm -rf dir
B.rm -d dir
C.del -r dir
D.rmdir dir
AnswerA

-r is recursive, -f is force.

Why this answer

rm -rf is the standard command for forced recursive deletion.

106
MCQeasy

Which command provides a brief summary of what a specific command does without opening the entire man page?

A.info
B.whatis
C.man -d
D.apropos
AnswerB

whatis displays a one-line summary.

Why this answer

The whatis command provides a one-line description for a command name.

107
Multi-Selecthard

Which TWO of the following help manage compressed archive contents?

Select 2 answers
A.find
B.cat
C.gzip
D.grep
E.tar
AnswersC, E

File compression.

Why this answer

tar and gzip/gunzip are used for archive and compression management.

108
MCQeasy

Which command-line shortcut allows you to autocomplete filenames and commands?

A.Enter
B.Shift + Insert
C.Tab
D.Ctrl + C
AnswerC

Tab triggers command/file completion.

Why this answer

The Tab key is the standard shell completion mechanism.

109
MCQeasy

Which directory contains the user accounts' password hashes and aging data on most modern Linux systems?

A./etc/shadow
B./etc/passwd
C./var/spool/mail
D./etc/group
AnswerA

Contains encrypted hashes and aging.

Why this answer

The /etc/shadow file stores the password hashes and aging information securely.

110
MCQmedium

If you want to view a long text file page by page, which command is most suitable?

A.tail filename
B.less filename
C.cat filename
D.grep filename
AnswerB

less is designed for viewing large files page by page.

Why this answer

less is a pager that allows navigation through files.

111
Multi-Selecteasy

Which TWO of the following files are essential for basic user and group management?

Select 2 answers
A./etc/hosts
B./etc/group
C./etc/fstab
D./etc/passwd
E./etc/shadow
AnswersB, D

Contains group info.

Why this answer

/etc/passwd holds account information, and /etc/group holds group information.

112
MCQeasy

Which character is used to append output to an existing file without deleting its original content?

A.<
B.|
C.>
D.>>
AnswerD

Appends output to the end of the specified file.

Why this answer

The '>>' operator is the append redirection operator.

113
MCQmedium

A firm wants to contribute back to the open source community to improve their internal Linux tools. What is the best practice for submitting these improvements?

A.Post the code on a private internal company wiki.
B.Rename the software and sell it as a proprietary product.
C.Fork the code and never release the changes publicly.
D.Submit patches or pull requests to the original project's repository.
AnswerD

This is the standard way to contribute to open source projects.

Why this answer

Providing patches or pull requests to the upstream project maintainers ensures the work is maintained and benefits the entire community.

114
MCQmedium

Your organization wants to standardize its servers on a single distribution to streamline patch management. Which of the following is an advantage of using a major distribution like Ubuntu LTS or RHEL?

A.They allow administrators to compile the kernel from source code during every boot.
B.They always include the latest experimental features from the Linux kernel.
C.They are guaranteed to be smaller in size compared to community distributions.
D.They provide predictable support lifecycles and stable software versions.
AnswerD

Long-term support versions are critical for maintaining enterprise stability.

Why this answer

Major distributions provide consistent release cycles, long-term support (LTS), and well-documented security workflows.

115
Multi-Selecthard

Which TWO of the following are differences between a community-driven and a vendor-supported Linux distribution?

Select 2 answers
A.The usage of open source software
B.The ability to run on x86 hardware
C.Predictability of release cycles
D.Commercial support availability
E.Kernel development capability
AnswersC, D

Vendor distributions have strictly defined support and update lifecycles.

Why this answer

Vendor-supported distributions provide commercial support and guaranteed lifecycles, whereas community-driven ones rely on volunteer support.

116
MCQmedium

You are using the 'less' command to view a large log file. Which key do you press to search forward for a specific string?

A.?
B./
C.q
D.n
AnswerB

The forward slash prompts for a regex to search forward.

Why this answer

The forward slash (/) character is the standard key to initiate a forward search in less.

117
Multi-Selecthard

Which TWO of the following are valid ways to create a directory?

Select 2 answers
A.touch
B.install -d
C.mkdir
D.ln
E.cp -d
AnswersB, C

install can create directory structures.

Why this answer

mkdir is the standard command, and install with -d is a less common but valid method.

118
MCQmedium

You need to set an environment variable named 'MYVAR' to 'hello' so that it is available to child processes. Which command is correct?

A.set MYVAR=hello
B.MYVAR=hello
C.env MYVAR=hello
D.export MYVAR=hello
AnswerD

export exports the variable to the environment.

Why this answer

The export command is required to make an environment variable available to child shells.

119
MCQhard

When considering a career in Linux system administration, which certification path demonstrates proficiency in managing system-level services and security across diverse distributions?

A.LPIC-1: Linux Administrator
B.AWS Certified SysOps Administrator
C.Red Hat Certified System Administrator (RHCSA)
D.Cisco Certified Network Associate (CCNA)
AnswerA

LPIC-1 focuses on fundamental Linux skills applicable to any distribution.

Why this answer

LPI certifications are vendor-neutral, making them highly portable across different distributions, unlike vendor-specific certifications.

120
MCQmedium

Which command would you use to change the expiration date of a user's password?

A.chage
B.passwd -e
C.usermod -e
D.userdel -p
AnswerA

chage manages password aging settings.

Why this answer

The 'chage' command is used to modify password aging information and expiration dates for user accounts.

121
MCQmedium

A startup company is deciding between a Community-driven distribution and an Enterprise distribution. Which scenario best justifies choosing an Enterprise distribution?

A.The development team wants zero cost for the distribution and documentation.
B.The company needs long-term stability and guaranteed vendor support for critical infrastructure.
C.The company wants to actively contribute to the kernel source code directly.
D.The project requires the absolute latest software features released daily.
AnswerB

Enterprise distributions provide the necessary SLAs and support structures for critical business infrastructure.

Why this answer

Enterprise distributions offer vendor-backed support, security patches, and lifecycle guarantees crucial for business environments.

122
Multi-Selecthard

Which THREE of the following are typical elements included in a standard Linux distribution package?

Select 3 answers
A.Package Manager
B.Base libraries and utilities
C.Proprietary BIOS firmware
D.Linux Kernel
E.Hardware warranty certificate
AnswersA, B, D

Tools like apt, dnf, or pacman are essential.

Why this answer

A distribution consists of the kernel, a package manager, and a set of libraries and base applications.

123
MCQmedium

When using 'man', what does the section number '5' refer to?

A.User commands
B.File formats
C.System calls
D.Kernel routines
AnswerB

Section 5 defines file formats.

Why this answer

Section 5 of the manual pages is reserved for file formats and conventions.

124
MCQmedium

You wish to send the output of the 'ls -l' command directly into a file named 'dirlist.txt', overwriting any existing content. Which operator should you use?

A.ls -l > dirlist.txt
B.ls -l | dirlist.txt
C.ls -l >> dirlist.txt
D.ls -l < dirlist.txt
AnswerA

'>' performs output redirection and overwrites.

Why this answer

The '>' operator redirects standard output to a file and overwrites it.

125
MCQhard

You are managing a directory shared by a project team. You want all files created in this directory to automatically belong to the 'developers' group, regardless of the user's primary group. Which command achieves this?

A.usermod -aG developers
B.chgrp developers /data
C.chmod g+s /data
D.chmod 1777 /data
AnswerC

The setgid bit on a directory forces group inheritance.

Why this answer

Setting the setgid bit (chmod g+s) on a directory ensures that new files created within inherit the group ownership of the directory.

126
MCQeasy

Which command is used to display lines of a file that match a pattern, while ignoring case?

A.grep -v
B.grep -w
C.grep -r
D.grep -i
AnswerD

-i ignores case.

Why this answer

-i enables case-insensitive matching in grep.

127
Multi-Selecteasy

Which TWO of the following directories are usually located at the root of a Linux filesystem?

Select 2 answers
A./etc
B./users
C./windows
D./programs
E./bin
AnswersA, E

Contains system configuration files.

Why this answer

/bin and /etc are standard directories at the root level of a Linux system.

128
MCQmedium

You need to create a compressed archive of the '/home/user/docs' directory named 'docs.tar.gz'. Which flag ensures gzip compression is applied?

A.tar -czf docs.tar.gz /home/user/docs
B.tar -jf docs.tar.gz /home/user/docs
C.tar -xzf docs.tar.gz /home/user/docs
D.tar -cf docs.tar.gz /home/user/docs
AnswerA

-z enables gzip compression.

Why this answer

The -z flag in tar invokes gzip compression for the archive.

129
Multi-Selectmedium

Which THREE commands are related to viewing or changing group memberships?

Select 3 answers
A.groups
B.chgrp
C.id
D.groupmod
E.usermod -aG
AnswersA, C, E

Lists membership.

Why this answer

groups lists them, id shows them, and usermod -aG changes them.

130
MCQhard

You want to set a default umask of 027 for all users. Which file should you edit to apply this globally?

A./etc/bashrc
B./etc/passwd
C.~/.bash_profile
D./etc/profile
AnswerD

Global login shell configuration.

Why this answer

/etc/profile is the system-wide configuration file executed for all users upon login, making it the appropriate place for global umask settings.

131
MCQmedium

You need to create a new group named 'audit'. Which command should you execute?

A.newgroup audit
B.groupadd audit
C.useradd -g audit
D.addgroup audit
AnswerB

Standard command to create a group.

Why this answer

The 'groupadd' command is the standard utility for creating a new group in Linux.

132
MCQeasy

Which permission bit must be set on a directory to allow a user to enter the directory and access files within it?

A.Write (w)
B.Execute (x)
C.Sticky bit
D.Read (r)
AnswerB

Execute grants directory traversal access.

Why this answer

The execute bit (x) on a directory allows a user to 'enter' or 'traverse' the directory to access its contents.

133
Multi-Selecteasy

Which TWO of the following are true about the 'others' category of file permissions?

Select 2 answers
A.Only root can modify this category.
B.Is the last set of characters in the 'ls -l' output.
C.Automatically inherits group permissions.
D.Can override owner permissions.
E.Represents all users not the owner and not in the group.
AnswersB, E

The last three bits (rwx) in rwxrwxrwx.

Why this answer

Others represent users who are neither the owner nor in the file's group, and they are the least privileged group.

134
Multi-Selecthard

Which THREE of the following are special permission bits in Linux?

Select 3 answers
A.Immutable bit
B.Sticky bit
C.Append-only bit
D.Setgid
E.Setuid
AnswersB, D, E

Special bit for file deletion restriction.

Why this answer

Setuid, setgid, and the sticky bit are the three special permission bits.

135
MCQmedium

You need to search for a specific command description within the manual pages using a keyword. Which command should you use?

A.man -s
B.man -f
C.man -k
D.help
AnswerC

-k searches through the short descriptions of man pages.

Why this answer

The man -k command (or apropos) searches the manual page descriptions for keywords.

136
MCQhard

An administrator is comparing package management systems. Which tool is primarily used on RHEL-based distributions for resolving dependencies and downloading packages?

A.DNF
B.Pacman
C.Portage
D.APT
AnswerA

DNF is the default package manager for RHEL and Fedora.

Why this answer

DNF (Dandified YUM) is the standard package manager for modern RHEL-based distributions, succeeding YUM.

137
MCQmedium

What is the result of the command 'ls -la | grep "^d"'?

A.It shows only hidden files.
B.It lists files that contain the letter 'd'.
C.It deletes all directories.
D.It lists only directories in the current directory.
AnswerD

The caret '^' matches the start of the line; 'd' is the directory indicator.

Why this answer

The '^d' pattern in grep filters for lines starting with 'd', which represents directories in long-format listings.

138
MCQhard

Your company is considering moving from proprietary software to open source solutions. Which aspect of the GPL license is most restrictive regarding the distribution of modified code?

A.You must contribute all modifications back to the original project maintainer.
B.You must release the source code of any derivative works if you distribute the binaries.
C.You are not allowed to modify the source code for internal business use.
D.You are forbidden from selling any software that uses GPL code.
AnswerB

The GPL requires that if you distribute a derivative work, the source must be made available under the same license.

Why this answer

The GPL 'copyleft' clause requires that modified versions of the software must also be distributed under the same license terms.

139
MCQhard

A user complains they cannot read a file. The file has permissions 640 and is owned by root, but the user is in the group that owns the file. Why can't they read it?

A.The umask is set to 077.
B.The user lacks execute permission on a parent directory.
C.The user is not the owner.
D.The file is locked by root.
AnswerB

To access any file, the user must have execute permissions on every parent directory in the path.

Why this answer

640 means (rw-r-----). The group has read permissions (r), so if they are in the group, they should have access. If they still cannot read, it might be due to a parent directory restriction.

140
Multi-Selecteasy

Which THREE of these are valid types of permissions in Linux file systems?

Select 3 answers
A.Read
B.Execute
C.Write
D.Delete
E.Append
AnswersA, B, C

Permission to view contents.

Why this answer

Read, Write, and Execute are the three primary file permissions.

141
MCQhard

What is the result of running 'chmod 000 secret.txt'?

A.The file becomes read-only for root.
B.No user can access it (except root).
C.Only the owner can access it.
D.The file is deleted.
AnswerB

000 blocks all access.

Why this answer

000 removes all permissions for owner, group, and others. The file is inaccessible to everyone except root.

142
MCQmedium

An open source developer wants to choose a license that allows their code to be included in proprietary software without requiring the proprietary software to open its source. Which license should they choose?

A.AGPL
B.GPLv3
C.MIT
D.Creative Commons Attribution-ShareAlike
AnswerC

The MIT license is highly permissive and allows inclusion in proprietary products.

Why this answer

Permissive licenses like the MIT or BSD license allow for linking with proprietary code without 'copyleft' obligations.

143
MCQmedium

A system administrator is checking for hardware errors in the logs. Where are general system messages usually stored?

A./etc/log/
B./var/log/syslog
C./proc/logs
D./tmp/logs
AnswerB

/var/log/syslog contains general system messages.

Why this answer

The /var/log/messages or /var/log/syslog file is the primary repository for system-wide logs.

144
MCQmedium

What does the command 'history' do?

A.It shows the date and time of file creation.
B.It displays the system log history.
C.It deletes all previous command history.
D.It prints the command history list.
AnswerD

It shows the list of executed commands with numbers.

Why this answer

It lists the commands previously executed in the current session.

145
MCQeasy

Which of the following commands is used to create an empty file or update the timestamp of an existing file?

A.cp
B.touch
C.mkdir
D.mv
AnswerB

touch creates files or updates timestamps.

Why this answer

The touch command creates an empty file if it does not exist or updates access/modification times if it does.

146
MCQhard

Which of the following describes the 'upstream' concept in Linux software development?

A.The kernel configuration files located in /etc/.
B.The servers where users download their Linux distributions.
C.The original developers and project repositories for a piece of software.
D.The physical location of the data centers hosting the software.
AnswerC

Developers of a software tool are the 'upstream' for that tool.

Why this answer

Upstream refers to the original project or developers who create the software, from which distributions 'downstream' pull code.

147
MCQeasy

How do you check the exit status of the last command executed?

A.echo $#
B.echo $!
C.echo $?
D.echo $status
AnswerC

$? contains the last exit code.

Why this answer

The $? variable holds the exit status of the previous command.

148
Multi-Selecteasy

Which TWO of the following are considered hardware components?

Select 2 answers
A.Kernel
B.CPU
C.RAM
D.Bash
E.systemd
AnswersB, C

The processor is physical hardware.

Why this answer

CPU and RAM are physical hardware components of a computer system.

149
MCQmedium

A developer is looking for a career that involves 'DevOps' in a Linux environment. Which skill set is most relevant for this role?

A.Writing only proprietary firmware for microcontrollers.
B.Selling commercial hardware to enterprise customers.
C.Creating graphic design assets for software GUIs.
D.Automating infrastructure deployment and managing CI/CD pipelines.
AnswerD

Automation and pipeline management are core DevOps responsibilities.

Why this answer

DevOps roles require a blend of development (scripting/coding) and operations (CI/CD, monitoring, system administration).

150
MCQhard

You are troubleshooting a network issue where a Linux server cannot reach an external website. The ping command to the gateway succeeds, but pinging the website IP fails. Which configuration file should you check to ensure the server can resolve domain names?

A./etc/network/interfaces
B./etc/sysconfig/network
C./etc/hosts
D./etc/resolv.conf
AnswerD

This file defines the DNS resolvers used by the system.

Why this answer

The /etc/resolv.conf file contains DNS server addresses required for domain name resolution.

Page 1

Page 2 of 3

Page 3

All pages