Bird
0
0

You want to automate server updates on a Linux machine. Which approach is best?

hard📝 Application Q8 of 15
Linux CLI - Linux Basics and Terminal
You want to automate server updates on a Linux machine. Which approach is best?
ACreate a cron job to run update commands regularly
BManually run updates every day
CRestart the server to update automatically
DDisable updates to avoid interruptions
Step-by-Step Solution
Solution:
  1. Step 1: Understand automation needs

    Automating updates means running commands without manual intervention.
  2. Step 2: Use cron for scheduling

    Cron jobs schedule commands to run at set times automatically.
  3. Final Answer:

    Create a cron job to run update commands regularly -> Option A
  4. Quick Check:

    Automate updates = Use cron jobs [OK]
Quick Trick: Use cron to schedule tasks automatically [OK]
Common Mistakes:
  • Relying on manual updates
  • Thinking reboot triggers updates
  • Disabling updates risks security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes