exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 22 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 22
Topic #: 1
[All LFCS Questions]

Which of the following commands updates the linker cache of shared libraries?

  • A. mkcache
  • B. soconfig
  • C. mkldconfig
  • D. lddconfig
  • E. ldconfig
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: E
Option E. ldconfig is the command that updates the linker cache of shared libraries. The linker is a program that is used to link object files and libraries when building executables. The linker cache is a file that contains a list of shared libraries and their locations, which is used by the linker to resolve symbols at runtime. The ldconfig command is used to update the linker cache and add the directories where shared libraries are stored to the cache. It scans the directories that are specified on the command line or in the /etc/ld.so.conf file, and creates a list of the libraries that it finds. It then stores this list in the linker cache file, which is usually located at /etc/ld.so.cache. This updates the linker cache with the shared libraries that are stored in the directories specified in the /etc/ld.so.conf file. Option A: The mkcache command does not exist. Option B: The soconfig command does not exist. Option C: The mkldconfig command does not exist. Option D: The lddconfig command does not exist.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago