Courseiva
System Management →easyMultiple Choice

XK0-006 System Management Practice Question

Which command is used to create a symbolic link named 'link' pointing to the file 'original'?

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

✓

ln -s original link

ln -s creates a symbolic link.

Answer analysis

Option-by-option breakdown

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

  • ✗

    symlink original link

    Why it's wrong here

    No symlink command exists on Linux; symbolic links are created with ln -s, so this fails outright. The name is tempting because it describes the intended outcome, and such a utility would be the choice if the task required a dedicated tool rather than ln's -s flag.

  • ✗

    ln -s link original

    Why it's wrong here

    The arguments are reversed: ln -s expects the target first and the new link name second, so this creates 'original' pointing at 'link'. The syntax is tempting because -s correctly selects a symbolic link, which would be right if the operands were ordered target then link name.

  • ✗

    ln original link

    Why it's wrong here

    Omitting -s creates a hard link, which shares the same inode as 'original' and cannot span filesystems or target directories. The form is tempting because operand order is correct, and it would be right when a hard link to a regular file on the same filesystem is required.

  • ✓

    ln -s original link

    Why this is correct

    The -s flag creates a symbolic link rather than a hard link, and the syntax places the target (original) before the link name (link). This produces a symlink named 'link' pointing to 'original' as required.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 781 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.