View Full LPI 010-160 Exam Dumps and Practice Test Dumps.
Question 301
Which modern iproute2 command displays IP addresses and configuration details for all network interfaces?
- route
- ip addr
- netstat
- traceroute
Correct Answer: 2
Explanation
The ip addr command is a core utility within the modern iproute2 suite used to display internet protocol addresses, hardware link states, and network configuration parameters for all interfaces on Linux systems, replacing legacy tools like ifconfig efficiently. While route manages routing tables, netstat inspects socket connections, and traceroute maps network packet hops, ip addr remains the definitive administrative tool for verifying IP assignments, checking interface connectivity, and diagnosing local network configuration issues across enterprise Linux server infrastructures and cloud deployment environments under daily operational workloads.
Question 302
Which administrative command deletes a user account and optionally removes their home directory?
- useradd
- usermod
- userdel
- groupdel
Correct Answer: 3
Explanation
The userdel command is a standard system administration utility used to delete existing user accounts from Linux systems, removing account entries from system files such as passwd and shadow. By appending specific option flags, administrators can also wipe the user’s home directory and mail spool files completely. While useradd provisions new accounts, usermod modifies account attributes, and groupdel removes security groups. Mastering userdel safely is essential for maintaining secure multi-user environments, enforcing offboarding procedures, and protecting enterprise server resources from unauthorized access.
Question 303
Which archive command option specifies compression using the bzip2 algorithm?
- -z
- -j
- -J
- -v
Correct Answer: 2
Explanation
The -j option flag instructs the tar archiving utility to compress or decompress archive files using the high-ratio bzip2 compression algorithm, bundling directories into smaller compressed packages. In contrast, -z invokes gzip compression, -J handles xz compression, and -v enables verbose tracking output. Mastering compression option flags is an essential skill for system administrators managing backup routines, reducing storage consumption, and transferring software source code distributions securely across enterprise Linux server infrastructures and cloud data repositories.
Question 304
Which systemctl subcommand restarts a service daemon immediately?
- start
- stop
- restart
- status
Correct Answer: 3
Explanation
The systemctl restart command instructs the systemd manager to stop a specified service daemon if it is running and then start it again immediately, loading any updated configuration files into active system memory. While start initiates stopped services, stop terminates execution, and status checks operational health. Mastering systemctl restart is a fundamental operational habit for system administrators applying configuration updates, recovering stuck application daemons, and ensuring high service availability across production enterprise Linux server environments.
Question 305
Which package manager is the primary default utility on openSUSE Linux distributions?
- apt
- dnf
- zypper
- pacman
Correct Answer: 3
Explanation
The zypper package manager is the primary command-line tool utilized on openSUSE and SUSE Linux Enterprise distributions to manage software packages, install updates, handle repository sources, and resolve complex dependency chains automatically. While apt serves Debian systems, dnf powers Red Hat platforms, and pacman manages Arch Linux. Mastering zypper is essential for system administrators maintaining software inventories, applying critical security patches, and administering SUSE enterprise server environments and cloud infrastructure deployments effectively.
Question 306
Which file permissions octal value sets the SUID special permission bit alongside standard read and execute rights?
- 4755
- 755
- 1755
- 2755
Correct Answer: 1
Explanation
The octal permission value 4755 sets the Set User ID special permission bit represented by the leading digit four, allowing executed programs to run with the elevated privileges of the file owner rather than the executing user. In contrast, 2755 sets the SGID bit, 1755 sets the sticky bit, and 755 represents standard permissions. Understanding special permission bits is vital for system administrators managing privileged binaries, configuring secure utility executions, and maintaining robust security controls across enterprise Linux multi-user server environments.
Question 307
Which file defines static mount options and filesystems to be attached during system boot?
- /etc/passwd
- /etc/fstab
- /etc/resolv.conf
- /etc/hosts
Correct Answer: 2
Explanation
The /etc/fstab file is a critical system configuration file that defines how storage devices, partitions, and remote network filesystems are mounted within the Linux directory hierarchy during system startup boot sequences. In contrast, /etc/passwd stores user metadata, /etc/resolv.conf defines DNS servers, and /etc/hosts handles static hostname mappings. Proper understanding and careful editing of /etc/fstab are vital for ensuring reliable storage initialization, persistent mount configurations, and successful automated system boot sequences across production Linux servers.
Question 308
Which shell loop structure evaluates a conditional test and repeats execution as long as the condition remains true?
- for
- while
- until
- if
Correct Answer: 2
Explanation
The while loop in bash shell scripting evaluates a specified conditional test and executes an enclosed block of commands repeatedly as long as that condition evaluates to true, terminating when the test fails. It is widely used for continuous monitoring and file processing. While for loops iterate over predefined item lists, until loops run until a condition becomes true, and if handles conditional branching. Mastering while loops is essential for writing robust automation scripts capable of handling dynamic runtime conditions and complex administrative workflows across enterprise Linux server environments.
Question 309
Which command attaches a formatted filesystem partition to the Linux directory tree?
- mkfs
- mount
- umount
- fdisk
Correct Answer: 2
Explanation
The mount command is a fundamental utility used in Linux to attach a formatted storage partition or filesystem to a designated mount point directory within the existing directory tree, making stored files accessible to users. While mkfs formats new filesystems, umount detaches mounted storage, and fdisk manages partition tables. Mastering the mount command is an essential storage administration skill for provisioning disk volumes, accessing external storage media, and managing file storage hierarchies across enterprise Linux server environments and cloud deployments.
Question 310
Which command-line utility extracts columns from text files using specified field delimiters?
- grep
- sed
- cut
- awk
Correct Answer: 3
Explanation
The cut utility is a specialized command-line text processing tool designed to extract specific columns, character ranges, or byte fields from each line of a file or input stream based on delimiter settings, making it ideal for parsing tabular log data. While grep searches for pattern matches, sed handles stream text editing, and awk provides advanced reporting capabilities. Mastering the cut command enables system administrators to parse configuration files, isolate user accounts from system files, clean up text reports, and build efficient automation scripts across Linux administrative environments.
Question 311
Which command-line utility removes a loaded module from the running Linux kernel?
- modprobe
- lsmod
- rmmod
- insmod
Correct Answer: 3
Explanation
The rmmod command is a low-level system utility used to remove an unused driver or module directly from the running Linux kernel, freeing up kernel memory resources. While modprobe adds or removes modules with dependency resolution, lsmod lists loaded modules, and insmod inserts raw module files without checking dependencies. Mastering rmmod is an essential administrative skill for troubleshooting hardware driver conflicts, unloading unused extensions, and managing kernel runtime configurations across enterprise Linux server environments safely.
Question 312
Which command displays the last few lines of a text file?
- head
- tail
- cat
- less
Correct Answer: 2
Explanation
The tail utility displays the final lines of a text file or input stream, making it an indispensable tool for inspecting recent log entries, system event notices, and error outputs quickly without opening the entire file. By default, it outputs the last ten lines, but administrators can customize line counts using numeric options. Conversely, head displays initial lines, cat outputs the entire file content at once, and less provides a scrollable text viewing interface. Mastering the tail command enables system administrators to review system logs efficiently across Linux servers.
Question 313
Which command sets local shell variables to be inherited as environment variables by child processes?
- set
- export
- env
- declare
Correct Answer: 2
Explanation
The export command is a built-in shell utility used to mark local shell variables so that they are automatically inherited as environment variables by any subsequent child processes, scripts, or subshells executed within that session. In contrast, set displays all shell variables, env prints current environment settings, and declare defines variable attributes. Mastering the export command is crucial for system administrators configuring runtime paths, passing operational flags to background scripts, and managing environment parameters effectively across enterprise Linux server management workflows and deployment pipelines.
Question 314
Which system file stores security group definitions and group membership lists?
- /etc/passwd
- /etc/shadow
- /etc/group
- /etc/fstab
Correct Answer: 3
Explanation
The /etc/group file is a core system configuration file that stores security group definitions, unique group identifiers, and lists of user accounts assigned as members of each group, facilitating collaborative access control. In contrast, /etc/passwd holds user account metadata, /etc/shadow secures encrypted passwords, and /etc/fstab handles disk mounts. Proper understanding and auditing of /etc/group are vital administrative responsibilities for managing user permissions, enforcing security boundaries, and maintaining access control standards across multi-user enterprise Linux server environments.
Question 315
Which command-line tool is used to create and manage volume groups in LVM storage?
- pvcreate
- vgcreate
- lvcreate
- mkfs
Correct Answer: 2
Explanation
The vgcreate command is a core component of the Logical Volume Manager suite, specifically used to combine one or more physical volumes into a unified volume group storage pool, enabling flexible disk space allocation in Linux. While pvcreate initializes raw disks, lvcreate builds logical volumes, and mkfs formats filesystems. Mastering LVM storage creation commands is an essential skill for system administrators provisioning enterprise storage pools, preventing partition exhaustion emergencies, and managing dynamic storage capacity efficiently across production Linux environments.
Question 316
What does an asterisk symbol represent in a standard cron schedule expression?
- Zero repetitions
- Every possible value for that field
- Specific weekend days only
- The current system hour
Correct Answer: 2
Explanation
In a standard five-field cron schedule expression, the asterisk symbol acts as a wildcard representing every possible value for that specific time field, matching all minutes, hours, days, or months. This allows administrators to schedule tasks to run continuously during every cycle. Understanding cron wildcard syntax is essential for system administrators scheduling automated maintenance tasks, regular data backups, log rotations, and system updates to run precisely across production enterprise Linux server environments without misconfiguring temporal intervals.
Question 317
Which file in a user’s home directory stores authorized public SSH keys for remote login authentication?
- ~/.ssh/config
- ~/.ssh/id_rsa
- ~/.ssh/authorized_keys
- ~/.bashrc
Correct Answer: 3
Explanation
The ~/.ssh/authorized_keys file is a user-specific configuration file that stores the public cryptographic keys of clients permitted to log into the account remotely via OpenSSH public-key authentication, bypassing password prompts. In contrast, id_rsa stores private keys, config manages client settings, and .bashrc governs shell behavior. Proper management of authorized keys is vital for securing remote access channels, eliminating vulnerable password logins, and maintaining strict compliance standards across enterprise Linux server infrastructures and cloud environments.
Question 318
Which command searches for files based on names and attributes recursively?
- locate
- find
- grep
- search
Correct Answer: 2
Explanation
The find command is a powerful, recursive utility used to search directory hierarchies for files and directories matching specific criteria, such as filenames, permission bits, user ownership, file sizes, or modification timestamps, and can execute actions on results. While locate queries a precompiled database for speed, grep searches file content patterns, and search is invalid. Mastering the find command is an essential administrative skill for locating misplaced files, auditing system storage, cleaning up old logs, and managing complex file structures across enterprise Linux servers.
Question 319
Which command shuts down or reboots the Linux system immediately?
- halt
- shutdown
- logout
- exit
Correct Answer: 2
Explanation
The shutdown command is a versatile administrative utility used to power off, halt, or reboot Linux systems safely, broadcasting warning messages to all active logged-in users and giving running daemons time to save state before terminating services. While halt stops CPU execution without power-off routines, logout ends shell sessions, and exit closes terminals. Mastering the shutdown command is essential for system administrators performing hardware maintenance, applying kernel updates, and managing server lifecycle states safely across production enterprise Linux server environments.
Question 320
What core characteristic distinguishes open-source software from proprietary software licenses?
- Requiring mandatory commercial licensing fees
- Providing free access to underlying source code for modification
- Banning any commercial use in corporate environments
- Mandating proprietary operating system platforms
Correct Answer: 2
Explanation
Open-source software is fundamentally distinguished by licensing terms that grant users free access to inspect, modify, and distribute the underlying source code freely, fostering community collaboration and transparency. In contrast, proprietary software restricts source access. Understanding open-source licensing principles is essential for legal compliance, corporate software governance, and intellectual property management across modern enterprise software engineering and IT administration projects.