Courseiva
mediumDrag & DropObjective-mapped

XK0-006 Practice Question: Drag and drop the steps to configure SELinux to…

Drag and drop the steps to configure SELinux to allow a custom web application to listen on port 8080 in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

List current SELinux port mappings, then add port 8080 to http_port_t, then verify the new mapping, then restart the web service

SELinux requires adding the port to the appropriate context before the service can listen.

Answer analysis

Option-by-option breakdown

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

  • List current SELinux port mappings, then add port 8080 to http_port_t, then verify the new mapping, then restart the web service

    Why this is correct

    This is the correct order because you first check the current context to ensure it exists, then add the port, verify the addition, and finally restart the service for changes to take effect.

  • Add port 8080 to http_port_t, then list current mappings, then verify, then restart

    Why it's wrong here

    This is incorrect because adding the port before listing may work but is not the recommended order; you should first check if the port is already defined or if the context exists.

  • List current mappings, then verify, then add port, then restart

    Why it's wrong here

    This is incorrect because verifying after listing but before adding the port will show no change; the addition step is skipped until after verification, which defeats the purpose.

  • Add port 8080 to http_port_t, then verify, then list, then restart

    Why it's wrong here

    This is incorrect because the listing step is performed after verification, which is redundant; the proper sequence is to list first to understand the current state, then add, then verify.

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 →

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.