nerdexam
CompTIA

XK0-005 · Question #479

A systems technician is working on deploying several microservices to various RPM-based systems, some of which could run up to two hours. Which of the following commands will allow the technician to…

The correct answer is D. bg %1 job name. The bg %1 command sends a suspended (Ctrl+Z) job to the background, allowing it to continue running while the terminal remains available for other commands. This is ideal for long-running processes like microservice deployments. Option A (gedit & disown) disconnects the job…

System Management

Question

A systems technician is working on deploying several microservices to various RPM-based systems, some of which could run up to two hours. Which of the following commands will allow the technician to execute those services and continue deploying other microservices within the same terminal section?

Options

  • Agedit & disown
  • Bkill 9 %1
  • Cfg %1
  • Dbg %1 job name

How the community answered

(22 responses)
  • C
    5% (1)
  • D
    95% (21)

Explanation

The bg %1 command sends a suspended (Ctrl+Z) job to the background, allowing it to continue running while the terminal remains available for other commands. This is ideal for long-running processes like microservice deployments. Option A (gedit & disown) disconnects the job from the terminal entirely - not useful for a service deployment. Option B (kill -9 %1) terminates the job. Option C (fg %1) brings a background job to the foreground, blocking the terminal. bg %1 keeps the job running in the background within the same session.

Topics

#Job Control#Background Processes#Linux Commands#Terminal Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice