Request More Information

Email:  WhatsApp:

koenig-logo

LPIC-1 Exam Prep (Course 2) v5.0 Quiz Questions and Answers

Answer :
  • To ensure compliance and security

Explanation :

Reviewing user account permissions is essential for maintaining system security and ensuring that accounts have the necessary access levels without excessive permissions that could lead to security vulnerabilities.
Answer :
  • Anacron ensures missed jobs due to downtime are run once the system is back.

Explanation :

Anacron is designed to handle tasks that are missed due to the system being off by executing them once the system is back on, unlike 'cron' which requires the system to be running.
Answer :
  • To prevent path-related errors due to non-standard environments.

Explanation :

Using explicit paths helps avoid execution errors that can arise when cron jobs run in environments where path variables may not be correctly set, ensuring reliability.
Answer :
  • `PasswordAuthentication`

Explanation :

To enforce public key authentication and disable password authentication, set `PasswordAuthentication` to `no` in the SSH configuration file (`/etc/ssh/sshd_config`).
Answer :
  • Ensures availability of storage for logs and data

Explanation :

Managing disk space is critical to avoid running out of space, which can lead to loss of logs and data, system unresponsiveness, or even crashes.
Answer :
  • It designates the script's interpreter for execution

Explanation :

The shebang `#!/bin/bash` specifies the interpreter that should be used to execute the script, informing the system of the correct environment.
Answer :
  • Schedules and executes periodic tasks

Explanation :

The 'cron' service is crucial for scheduling recurring tasks like backups and updates, automating system administration processes efficiently.
Answer :
  • It grants temporary elevated privileges

Explanation :

The 'sudo' command allows a permitted user to execute a command as the superuser or another user, providing temporary elevated privileges.
Answer :
  • `/etc/login.defs`

Explanation :

The `/etc/login.defs` file contains defaults for user account creation, including password expiration policies that apply system-wide.
Answer :
  • apt-get upgrade

Explanation :

The 'apt-get upgrade' command is used in Debian-based systems to upgrade all installed packages to their latest available versions.