XK0-006 Security Practice Question
To limit the number of processes a user can create, which file should be configured?
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
✓
/etc/security/limits.conf
/etc/security/limits.conf sets resource limits per user/group, including nproc (number of processes).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
/etc/pam.d/login
Why it's wrong here
PAM configuration includes limits via pam_limits, but the actual limits are in limits.conf.
- ✓
/etc/security/limits.conf
Why this is correct
This file defines hard and soft limits for resources like nproc.
- ✗
/etc/ulimit.conf
Why it's wrong here
No such standard file.
- ✗
/etc/systemd/system.conf
Why it's wrong here
Systemd configuration can set global limits, but not per-user granularity.
Go deeper
Related to this question
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.