Courseiva
mediumMultiple Choice

XK0-006 Practice Question: That a recently installed application fails to…

A user reports that a recently installed application fails to start. The application was installed via a shell script that added a repository and installed the package. The user runs 'ldd /usr/bin/app' and sees several 'not found' libraries. Which of the following is the MOST likely cause?

⚠ Common exam trap

Watch out — candidates often confuse library resolution failures with permission or security issues (like SELinux), but `ldd` output directly points to missing files, not access control.

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 installation script did not install all required dependencies.

The `ldd` command lists shared library dependencies for a binary. When it reports 'not found' libraries, it means the dynamic linker cannot locate the required `.so` files. Since the application was installed via a shell script that added a repository and installed the package, the most likely cause is that the script failed to install all required dependencies, leaving the binary unable to resolve its shared library links.

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 installation script did not install all required dependencies.

    Why this is correct

    The 'not found' entries from ldd mean shared libraries the binary links against are absent from the system. Since the shell script installed the package, it most likely omitted required dependency packages, leaving those libraries uninstalled.

  • ✗

    The kernel version is outdated.

    Why it's wrong here

    An outdated kernel would prevent the package from loading at all, typically via module or syscall errors, not leave individual shared objects unresolved. Kernel upgrades are tempting when a new application needs newer drivers or features, but ldd reports missing dynamic libraries, pointing to absent dependencies.

  • ✗

    SELinux is blocking the application.

    Why it's wrong here

    SELinux denials block access to files, ports or processes and log AVC messages; they do not cause ldd to report libraries as 'not found'. SELinux is tempting because it commonly breaks newly installed services, and would be the cause if the binary loaded but was refused permission at runtime.

  • ✗

    The file system is corrupted.

    Why it's wrong here

    File system corruption produces I/O errors, read-only remounts or checksum failures, not a clean list of unresolved shared objects from ldd. Corruption is tempting because it can stop any binary launching, but it would be indicated by dmesg or fsck output rather than missing library names.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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.