Introduction to Linux I Chapter 11 Exam

Introduction to Linux I Chapter 11 Exam Answer

 

  1. Question ID 426

    To execute a command called “simple” as a foreground process, you would type:

    • fg simple
    • simple &
    • foreground simple
    • simple
  2. Question ID 427

    The key press combination that will request a process to stop is:

    • CTRL+z
    • CTRL+p
    • CTRL+c
    • CTRL+d
  3. Question ID 428

    The key press combination that will request a running process terminate:

    • CTRL+z
    • CTRL+d
    • CTRL+p
    • CTRL+c
  4. Question ID 429

    The main advantage of running a process in the background is:

    • The process will automatically run at a low priority
    • You can be assured that the process will not terminate early
    • The process will be logged
    • You can continue to use the shell that started the process
  5. Question ID 430

    To see the list of background processes that you have started in your shell, you can run:

    • process
    • jobs
    • work
    • list
  6. Question ID 431

    Using the kill command always terminates processes.

    True or False?

    • True
    • False
  7. Question ID 432

    To view all processes on the system, you can execute:

    • ps –all
    • ps
    • ps -f
    • ps -e
  8. Question ID 433

    In order to run a command called “tough” in the background, you would type:

    • start -b tough
    • tough&
    • tough@
    • bg tough
  9. Question ID 434

    If you want a background process to keep running after log out, you can use:

    • nokill
    • nohup
    • nofg
    • bg
  10. Question ID 435

    A popular program for monitoring running processes in real-time is:

    • watcher
    • mon
    • top
    • ghost
  11. Question ID 436

    To view statistics on memory availability, you can use:

    • mem
    • stat
    • free
    • uname
  12. Question ID 437

    To send a signal to a set of processes with the same name, you can run:

    • killall
    • grpkill
    • allkill
    • sigkill
  13. Question ID 438

    The uptime command prints a statistic representing the system load over what three time spans?

    (choose three)

    • Last thirty minutes
    • Last minute
    • Last five minutes
    • Last ten minutes
    • Last fifteen minutes
    • Last hour
  14. Question ID 439

    What command can be used as a prefix to another command to run it at an altered priority?

    • low
    • chpr
    • nice
    • pri
  15. Question ID 440

    What command can be used to alter the priority of a running process?

    • repri
    • renice
    • relow
    • chpr
  16. Question ID 444

    Placing an __ character at the end of the command line will put the command in the background.

    • !
    • &
    • B
    • ?
  17. Question ID 445

    A signal is:

    • A technique to tell a process to take some sort of action
    • A command option
    • A technique to send data to a process
    • A command argument
  18. Question ID 447

    Which of the following is not a valid way to send the “force kill” signal to a process?

    • kill -KILL PID
    • kill -SIGKILL PID
    • kill -9 PID
    • kill -FORCE PID
  19. Question ID 448

    Which of the following commands will stop all processes owned by the user bob?

    (choose two)

    • killall -u bob
    • pkill -u bob
    • kill -u bob
    • kill -l
  20. Question ID 449

    To execute a command with the lowest possible priority, which value do you pass to the nice command?

    • 0
    • 20
    • -20
    • 19
  21. Question ID 450

    To execute a command with the highest possible priority, which value do you pass to the nice command?

    • -20
    • 19
    • 0
    • 20
  22. Question ID 451

    To execute a command with the default priority, which value do you pass to the nice command?

    • -20
    • 20
    • 19
    • 0
  23. Question ID 886

    The _____ command will list the commands that are running in your terminal.

    • list
    • ps
    • proc
    • ls
  24. Question ID 887

    To change the niceness value of an existing process, you can use the _____ command.

    • renice
    • set
    • reset
    • nice
  25. Question ID 888

    To see how long the system has been running, you can use the _____ command.

    • free
    • nice
    • uptime
    • ps
  26. Question ID 889

    To send a paused process to the background, use the _____ command.

    • fg
    • ps
    • bg
    • jobs
  27. Question ID 890

    To set a priority value lower than 0, you must log in as which user?

    • Any user account
    • No user can specify a priority lower than 0
    • The root user
    • The adm user
  28. Question ID 891

    To view system memory usage, you can use the _____ command.

    • uptime
    • nice
    • free
    • ps
  29. Question ID 892

    What character do you place between commands to execute multiple commands on a single command line?

    • ;
    • &
    • :
    • ~
  30. Question ID 893

    What option to the kill command will list the signals for the system?

    • -9
    • -list
    • -l
    • -r

Comments

comments