nerdexam
CompTIA

LX0-104 · Question #13

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

The correct answer is C. ulimit. The ulimit command is used to set or report resource limits for the shell and processes started from it, including memory usage.

Administrative Tasks

Question

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

Options

  • Aumask
  • Busermod
  • Culimit
  • Dpasswd
  • Echage

How the community answered

(59 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    92% (54)
  • D
    2% (1)

Why each option

The `ulimit` command is used to set or report resource limits for the shell and processes started from it, including memory usage.

Aumask

`umask` sets the default file permission mask for newly created files and directories.

Busermod

`usermod` modifies user account properties, such as username, home directory, or shell.

CulimitCorrect

The `ulimit` command allows users to view or modify shell resource limits, such as the maximum amount of virtual memory a process can use, commonly set using options like `-v`. These limits restrict various system resources available to processes, including CPU time, file size, and memory.

Dpasswd

`passwd` is used to change a user's password.

Echage

`chage` is used to change user password expiry information.

Concept tested: Linux resource limits (ulimit)

Source: https://man7.org/linux/man-pages/man1/ulimit.1p.html

Topics

#resource limits#ulimit#system administration

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice