nerdexam
Huawei

H12-725_V4.0 · Question #65

To check whether there is an abnormal task plan (not set by the user) on the Linux host, which of the following commands can be used?

The correct answer is D. crontab -l. crontab -l lists all scheduled cron jobs for the current user, making it the correct tool to inspect task plans and identify any abnormal or unauthorized entries that shouldn't be there. Option A (crontab -u mysql) specifies a target user account but is incomplete without an…

Security O&M and Management

Question

To check whether there is an abnormal task plan (not set by the user) on the Linux host, which of the following commands can be used?

Options

  • Acrontab -u mysql
  • Bcrontab -e
  • Ccrontab -r
  • Dcrontab -l

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    15% (6)
  • C
    7% (3)
  • D
    76% (31)

Explanation

crontab -l lists all scheduled cron jobs for the current user, making it the correct tool to inspect task plans and identify any abnormal or unauthorized entries that shouldn't be there. Option A (crontab -u mysql) specifies a target user account but is incomplete without an action flag like -l; on its own it would error out, and checking only the mysql user's crontab is too narrow for a general audit. Option B (crontab -e) opens the crontab in an editor for editing, not viewing - it modifies rather than inspects. Option C (crontab -r) is the most dangerous distractor: it removes the entire crontab, which would destroy evidence of an attack rather than reveal it.

Memory tip: Think of -l as "list" or "look" - you're looking for suspicious entries. The -r stands for "remove," and confusing -r with -l is a classic mistake that can wipe a legitimate crontab, so treat it with caution on the exam and in real life.

Topics

#Linux security#crontab#task scheduling#host hardening

Community Discussion

No community discussion yet for this question.

Full H12-725_V4.0 Practice