nerdexam
LPI

102-500 · Question #18

Which of the following commands can be used to limit the amount of memory a user may use?

The correct answer is D. ulimit. ulimit is the correct answer because it is a shell built-in command that controls resource limits for user processes, including maximum memory usage (e.g., ulimit -v 512000 caps virtual memory at 512 MB). umask sets default file permission masks and has nothing to do with…

Administrative Tasks

Question

Which of the following commands can be used to limit the amount of memory a user may use?

Options

  • Aumask
  • Busermod
  • Cpasswd
  • Dulimit
  • Echage

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    6% (3)
  • C
    4% (2)
  • D
    71% (34)
  • E
    17% (8)

Explanation

ulimit is the correct answer because it is a shell built-in command that controls resource limits for user processes, including maximum memory usage (e.g., ulimit -v 512000 caps virtual memory at 512 MB). umask sets default file permission masks and has nothing to do with memory. usermod modifies user account properties like groups, home directory, or shell - not resource limits. passwd manages user passwords and account expiration flags. chage controls password aging policies (expiration dates, warning periods) - also unrelated to memory.

Memory tip: Think "u-limit" - the word "limit" is literally in the command name, making it the obvious choice for any question about restricting resource usage.

Topics

#ulimit#resource limits#memory management#user administration

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice