XK0-006 Security Practice Question
A security policy requires that user passwords must be changed every 60 days, and users should be warned 7 days before expiration. Which two chage commands set these requirements for user 'jsmith'? (Choose TWO.)
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
✓
chage -M 60 jsmith
chage -M 60 sets max days; chage -W 7 sets warning days.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
chage -M 60 jsmith
Why this is correct
Sets maximum password age to 60 days.
- ✗
chage -E 60 jsmith
Why it's wrong here
-E sets account expiration date.
- ✓
chage -W 7 jsmith
Why this is correct
Sets warning period to 7 days.
- ✗
chage -m 60 jsmith
Why it's wrong here
-m sets minimum days, not maximum.
- ✗
chage -I 7 jsmith
Why it's wrong here
-I sets inactivity period.
Go deeper
Related to this question
Learn chapter
User and Group Administration
Key term
Policy
A policy is a set of rules or guidelines that defines how an organization manages, secures, and operates its IT systems and services.
Key term
User
A user is any person, system, or device that interacts with an IT service, resource, or identity system, typically authenticated through credentials and authorized to perform specific actions.
About these practice questions
This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.