Session Review

Session ID: 153
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (102.3-016 / short_answer)

Name one common directory where Linux stores shared libraries.

Status: Unanswered

Your Answer:

Accepted Answer(s):
/lib
/usr/lib
/lib64
/usr/lib64

Explanation:
The objective requires identifying the typical locations of system libraries. Common examples include /lib, /usr/lib, /lib64, and /usr/lib64 [1][2].

Question 2 (102.3-006 / multiple_choice)

Which directory is a typical location for system shared libraries on 64-bit Linux systems?

Status: Unanswered

Your Answer:

Options:

Explanation:
Typical shared library locations include directories such as /lib, /usr/lib, /lib64, and /usr/lib64 depending on the system. The objective explicitly mentions identifying typical locations of system libraries [1][2].

Question 3 (102.3-003 / multiple_choice)

Which file is commonly used to configure additional directories for the dynamic linker?

Status: Unanswered

Your Answer:

Options:

Explanation:
/etc/ld.so.conf is commonly used to specify additional library search paths for the dynamic linker. This answer relies on standard Linux knowledge because the provided context does not contain the detailed 102.3 lesson pages [1][2].

Question 4 (102.3-015 / short_answer)

Which configuration file is commonly used to define additional library search directories for the dynamic linker?

Status: Unanswered

Your Answer:

Accepted Answer(s):
/etc/ld.so.conf

Explanation:
/etc/ld.so.conf is the classic configuration file for additional library paths. This is standard Linux knowledge beyond the provided source excerpt [1][2].

Question 5 (102.3-005 / multiple_choice)

Which environment variable can temporarily add directories to the shared library search path for a process?

Status: Unanswered

Your Answer:

Options:

Explanation:
LD_LIBRARY_PATH can be used to temporarily influence where the dynamic linker searches for shared libraries. This is standard Linux knowledge beyond the provided excerpt [1][2].

Question 6 (102.3-012 / multiple_choice)

Why are shared libraries useful compared with static linking?

Status: Unanswered

Your Answer:

Options:

Explanation:
Shared libraries reduce duplication and allow reuse by multiple programs. This is standard Linux and Unix knowledge aligned with the objective [1][2].

Question 7 (102.3-020 / command_line)

Enter the command that lists the libraries currently known in the linker cache.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ldconfig -p

Explanation:
ldconfig -p prints the linker cache entries. This is standard Linux knowledge beyond the current source excerpts [1][2].

Question 8 (102.3-014 / short_answer)

Which command updates the dynamic linker cache after adding a new library path?

Status: Unanswered

Your Answer:

Accepted Answer(s):
ldconfig

Explanation:
ldconfig updates the linker cache. This is standard Linux knowledge beyond the specific source text provided [1][2].

Question 9 (102.3-004 / multiple_choice)

Which command updates the cache of shared libraries after library paths have changed?

Status: Unanswered

Your Answer:

Options:

Explanation:
ldconfig updates the shared library cache used by the dynamic linker. This is standard Linux knowledge; the full 102.3 lesson text is not present in the supplied context [1][2].

Question 10 (102.3-019 / command_line)

Enter the command that refreshes the dynamic linker cache.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ldconfig

Explanation:
ldconfig refreshes the dynamic linker cache. This is standard Linux knowledge beyond the provided source excerpt [1][2].