Courseiva
mediumMultiple ChoiceObjective-mapped

XK0-006 Practice Question: In the exhibit, what does 'Tasks: 11 (limit:…

Exhibit

Refer to the exhibit.
[root@server ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2023-01-23 10:15:00 EST; 2h 15min ago
     Docs: man:httpd.service(8)
 Main PID: 1234 (httpd)
   Tasks: 11 (limit: 512)
   Memory: 24.5M
   CGroup: /system.slice/httpd.service
           ├─1234 /usr/sbin/httpd -DFOREGROUND
           ├─1245 /usr/sbin/httpd -DFOREGROUND
           ├─1246 /usr/sbin/httpd -DFOREGROUND
           └─1247 /usr/sbin/httpd -DFOREGROUND

In the exhibit, what does 'Tasks: 11 (limit: 512)' indicate?

⚠ Common exam trap

Test-takers frequently confuse the 'Tasks' count with memory usage or runtime, or assume it refers only to threads without recognizing the cgroup pids controller as the mechanism enforcing the limit.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The cgroup pids controller is limiting the number of processes/threads.

The output shown is from the `systemd-cgls` command, which displays cgroup (control group) information. The line `Tasks: 11 (limit: 512)` indicates that the cgroup's pids controller is currently tracking 11 processes/threads within that cgroup and has a configured limit of 512. This limit restricts the total number of processes and threads that can be created in that cgroup, preventing fork bombs or resource exhaustion.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The process is using 512 MB of memory.

    Why it's wrong here

    Memory is shown separately; limit is not memory.

  • The service has been running for 512 seconds.

    Why it's wrong here

    Uptime is shown in the Active line.

  • The cgroup pids controller is limiting the number of processes/threads.

    Why this is correct

    The limit is enforced by the pids cgroup controller.

  • The number of threads is limited to 512.

    Why it's wrong here

    It shows tasks, which can be processes or threads; the limit is on total tasks.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.