View Full LPI 010-160 Exam Dumps and Practice Test Dumps.
Question 381
Which system configuration file defines kernel runtime parameters and network tuning options persistently?
- /etc/sysctl.conf
- /etc/fstab
- /etc/passwd
- /etc/resolv.conf
Correct Answer: 1
Explanation
The /etc/sysctl.conf file is a core system configuration file utilized by system administrators to define kernel runtime parameters, memory management behaviors, and network tuning options persistently across system reboots, avoiding manual command re-execution. In contrast, /etc/fstab manages storage partition mount points, /etc/passwd stores user account metadata, and /etc/resolv.conf specifies remote Domain Name System server addresses. Proper understanding and careful editing of /etc/sysctl.conf are vital administrative responsibilities for optimizing system performance, securing network interfaces against packet tampering, and maintaining fine-grained control over Linux kernel behavior across production server environments under enterprise workloads.
Question 382
Which command-line utility displays a dynamic, real-time interactive view of running processes and system resource utilization?
- ps
- top
- uptime
- free
Correct Answer: 2
Explanation
The top utility provides a dynamic, real-time interactive view of running processes, CPU consumption rates, memory utilization statistics, and system load averages, refreshing continuously to help administrators monitor server health. While ps displays a static process status snapshot at a single moment in time, uptime reports run duration and load averages, and free tracks active system memory. Mastering the top command is an essential diagnostic habit for system administrators identifying runaway tasks, investigating performance bottlenecks, terminating unresponsive applications, and maintaining optimal operational stability across production enterprise Linux server environments and cloud instances under varying computational workloads.
Question 383
Which command-line utility creates a new compressed tape archive file from specified source directories?
- unzip
- gzip
- tar
- bzip2
Correct Answer: 3
Explanation
The tar command stands for tape archive and is the standard utility used in Linux to bundle multiple files and directory hierarchies into a single archive file, frequently combined with compression flags to save storage space. While unzip extracts .zip compressed packages, gzip compresses single files, and bzip2 provides alternative block compression. Mastering the tar command is an indispensable administrative skill for bundling project files, executing data migrations, implementing robust backup routines, and transferring software source code distributions securely across diverse production Linux server and cloud storage repositories under strict operational schedules and administrative maintenance policies.
Question 384
Which systemd command-line utility displays the status and operational state of system service units?
- systemctl status
- journalctl
- systemctl start
- systemctl enable
Correct Answer: 1
Explanation
The systemctl status command queries the systemd manager to display the current operational state, active execution status, PID details, and recent log excerpts for a specified service unit, providing immediate diagnostic feedback. While journalctl queries system logs comprehensively, start initiates service execution, and enable configures boot startup links. Mastering systemctl status is an essential operational habit for system administrators troubleshooting application failures, verifying service health, inspecting daemon configurations, and maintaining high availability across production enterprise Linux server environments and cloud infrastructure deployments under daily operational management tasks and system monitoring procedures.
Question 385
Which command-line utility displays a visual tree structure of active parent and child processes running on the system?
- ps
- top
- pstree
- kill
Correct Answer: 3
Explanation
The pstree utility displays currently active system processes in a visual, hierarchical tree structure, clearly illustrating parent and child process relationships and making it easier to trace multi-threaded background service executions. While ps provides tabular process status snapshots, top offers a dynamic interactive process list, and kill terminates running tasks. Mastering the pstree command is a valuable diagnostic skill for system administrators investigating daemon spawning behaviors, tracking rogue process hierarchies, and understanding system execution trees across complex enterprise Linux server environments during routine troubleshooting and system performance audits.
Question 386
Which command modifies the group ownership of a specified file or directory?
- chmod
- chown
- chgrp
- umask
Correct Answer: 3
Explanation
The chgrp command stands for change group and is the standard utility used to modify exclusively the group ownership credentials assigned to a file or directory within the Linux filesystem, updating metadata accordingly. While chmod alters permission access bits, chown modifies both user and group ownership simultaneously, and umask sets default file creation masks. Proper utilization of chgrp ensures adherence to collaborative access control policies, safeguarding sensitive organizational data and maintaining robust security boundaries across multi-user enterprise Linux server environments and shared directory storage volumes during routine administrative maintenance operations.
Question 387
Which shell conditional test operator evaluates whether two integer numeric values are strictly equal?
- ==
- =
- -eq
- -ne
Correct Answer: 3
Explanation
The -eq conditional test operator in bash scripting is specifically designed to evaluate whether two numeric integer values are strictly equal within test bracket expressions, returning true if they match. In contrast, double equals and single equals operators are used for literal string comparisons, while -ne tests for numeric inequality. Mastering numeric test operators is an essential skill for writing robust automation scripts capable of validating numeric limits, parsing configuration files, and handling conditional branching safely across complex production Linux administrative environments and deployment automation workflows during daily script maintenance tasks.
Question 388
Which configuration file defines remote network time servers used by the chrony time synchronization daemon?
- /etc/resolv.conf
- /etc/chrony.conf
- /etc/fstab
- /etc/hosts
Correct Answer: 2
Explanation
The /etc/chrony.conf file is the primary configuration file for the chrony daemon, defining remote Network Time Protocol servers, peer associations, and synchronization intervals used to keep system clocks accurate. In contrast, /etc/resolv.conf handles DNS server configurations, /etc/fstab manages disk mounts, and /etc/hosts handles static hostnames. Proper configuration of time synchronization files is vital for maintaining accurate log timestamps, scheduling cron jobs correctly, and ensuring cryptographic token validity across enterprise Linux server infrastructures and cloud deployment environments under standard operational networking rules.
Question 389
Which command-line utility tests network port connectivity by establishing raw TCP connections to remote servers?
- ping
- traceroute
- nc
- route
Correct Answer: 3
Explanation
The nc command, commonly known as netcat, is a versatile networking utility used to read and write data across network connections, test remote TCP and UDP port reachability, and debug service availability. While ping tests basic ICMP reachability and traceroute maps routing hops, netcat actively probes specific ports to verify firewall configurations and application accessibility. Mastering netcat is an essential troubleshooting skill for diagnosing blocked service connections, verifying firewall rule deployments, and troubleshooting network communication bottlenecks across enterprise Linux server infrastructures and cloud deployment environments under daily operational workloads and administrative tasks.
Question 390
Which command-line utility displays detailed hardware information about block storage devices and partitions?
- df
- du
- lsblk
- free
Correct Answer: 3
Explanation
The lsblk command stands for list block devices and displays all available storage drives, partitions, and dependent mount points in a clean, hierarchical tree-like format, showing device identifiers, sizes, and major numbers. While df reports filesystem storage capacities, du estimates directory sizes, and free tracks RAM usage. Mastering lsblk is an essential storage administration skill for identifying physical disk layouts, verifying partition assignments, and planning storage expansions safely across enterprise Linux servers and cloud infrastructure environments during storage provisioning and system auditing operations.
Question 391
Which network configuration command-line utility is part of the legacy net-tools package and is largely deprecated?
- ip
- ifconfig
- ss
- nc
Correct Answer: 2
Explanation
The ifconfig command is a legacy networking utility belonging to the older net-tools package historically used to configure network interfaces, assign IP addresses, and inspect link parameters on Linux systems. While ifconfig is deprecated, modern Linux distributions utilize the iproute2 suite, featuring commands like ip addr and ip link. Understanding legacy tools is important for maintaining older enterprise server installations, migrating configurations to modern standards, and troubleshooting cross-platform networking scripts across diverse administrative environments during infrastructure updates and system maintenance cycles.
Question 392
Which command-line utility displays the manual page documentation for Linux system commands and configuration files?
- info
- help
- man
- doc
Correct Answer: 3
Explanation
The man command invokes the system manual reader, presenting detailed linear reference pages that document command-line syntax, available option flags, configuration file formats, and programming interfaces for installed system utilities. It is the primary reference tool relied upon by system administrators during daily tasks. While info provides hyperlinked GNU documentation nodes, help is a shell builtin command for basic shell operations, and doc is not a standard utility. Mastering the man command ensures that system administrators can look up command syntax, understand option arguments, and troubleshoot configuration parameters independently across enterprise Linux server environments without needing external network connectivity.
Question 393
Which system file stores public keys for clients permitted to log into a remote account via SSH public-key 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 during routine administrative security audits.
Question 394
Which systemd command disables a service daemon from starting automatically during system boot?
- stop
- disable
- mask
- status
Correct Answer: 2
Explanation
The systemctl disable command removes the symbolic links configuring a service daemon to start automatically during system boot initialization, ensuring the service remains inactive upon reboot while leaving any currently active running instances untouched. In contrast, stop terminates active instances immediately, mask blocks the service entirely, and status checks operational health. Mastering disable commands is essential for optimizing system boot times, managing startup targets, and maintaining precise administrative control over server operational states across enterprise environments during routine maintenance and system configuration management.
Question 395
Which system-wide configuration file defines static hostname settings on systemd-based Linux operating systems?
- /etc/resolv.conf
- /etc/hosts
- /etc/hostname
- /etc/fstab
Correct Answer: 3
Explanation
The /etc/hostname file is a simple system configuration file used on systemd-based Linux distributions to store the static host name of the local machine, which is read by the kernel during boot initialization. In contrast, /etc/hosts handles IP-to-hostname mappings, /etc/resolv.conf defines DNS servers, and /etc/fstab manages disk mounts. Proper configuration of /etc/hostname is vital for identifying servers correctly within local subnets, configuring network environments, and maintaining accurate identification across enterprise Linux infrastructures and cloud deployments under standard operational networking rules and configuration management standards.
Question 396
Which command prints the absolute pathname of the current working directory to standard output?
- ls
- pwd
- cd
- dir
Correct Answer: 2
Explanation
The pwd command, which stands for print working directory, outputs the absolute pathname of the current working directory to standard output, allowing users to instantly verify their exact location within the hierarchical filesystem. The cd command is utilized to change directories, ls lists directory contents, and dir provides a similar listing function historically ported from other operating systems. Utilizing pwd is an essential habit when navigating complex directory structures to ensure subsequent file manipulation commands target intended locations without risking accidental modifications in unintended system directories during administrative tasks.
Question 397
Which command-line utility extracts specific columns and fields from text files using defined 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 398
Which system configuration file stores user account metadata, UID values, and default shell paths?
- /etc/passwd
- /etc/shadow
- /etc/group
- /etc/fstab
Correct Answer: 1
Explanation
The /etc/passwd file is a core system configuration file that stores essential public user account metadata, including usernames, user identification numbers, group IDs, home directory paths, and default login shells for all users. In contrast, /etc/shadow secures encrypted passwords, /etc/group manages security groups, and /etc/fstab handles disk mounts. Proper understanding and auditing of /etc/passwd are vital administrative responsibilities for managing user accounts, verifying access permissions, and maintaining security standards across multi-user enterprise Linux server environments during routine administrative tasks and access control reviews.
Question 399
Which command-line utility manages physical volume partitions within the LVM storage framework?
- vgcreate
- lvcreate
- pvcreate
- mkfs
Correct Answer: 3
Explanation
The pvcreate command is the fundamental initialization utility within the Logical Volume Manager suite used to label raw disk partitions or storage drives as physical volumes, making them available for inclusion in volume group storage pools. While vgcreate combines physical volumes into storage pools, lvcreate provisions logical volumes, and mkfs formats filesystems. Mastering LVM physical volume creation commands is an essential storage administration skill for setting up enterprise storage pools, preventing partition exhaustion emergencies, and managing dynamic storage capacity efficiently across production Linux environments under complex workloads.
Question 400
What core characteristic distinguishes open-source software from proprietary software licensing terms?
- 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, ensuring adherence to corporate software usage policies and open-source distribution standards.