202-450 practice question 13 of 25
Given the following Squid configuration excerpt: cache_dir ufs /var/spool/squid3/ 1024 16 256 Which of the following directories will exist directly within the directory /var/spool/squid3/? (Choose two.)
Full set: 119 questionsThe cachedir directive ufs /var/spool/squid3/ 1024 16 256 configures the cache directory structure. The fourth parameter, 16, specifies the number of level-1 (L1) subdirectories to be created. Squid names these directories using two-digit hexadecimal numbers, ranging from 00 to (L1-1). For L1=16, the directories will be named 00, 01, ..., 0E, 0F. Therefore, directories 0F (hex for 15) and 00 (hex for 0) will both exist directly within /var/spool/squid3/.
B. A0: This hexadecimal value (160) is outside the valid range of 0 to 15 (00 to 0F) for the 16 level-1 directories.
C. 0b: This is a valid directory name (hex for 11). However, the question asks to choose two, and A and E represent a valid pair.
D. FF: This hexadecimal value (255) is outside the valid range of 0 to 15 (00 to 0F) for the 16 level-1 directories.
- Squid Cache Wiki (Official Documentation). (n.d.). Configuration Directive cachedir. Retrieved from http://www.squid-cache.org/Doc/config/cachedir/. The documentation specifies for the ufs type: "Squid will create L1 subdirectories in the Directory. The names of the subdirectories are 00 through (L1-1), using hexadecimal representation."
Keep practicing
Take the free 202-450 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 202-450 practice questions
- Question 1Which command is used to administer IPv6 netfilter rules?
- Question 2Which of the following PAM modules sets and unsets environment variables?
- Question 4Which of the following PAM modules allows the system administrator to use an arbitrary fi…
- Question 5Which configuration parameter on a Postfix server modifies only the sender address and no…
- Question 6Which of the following commands can be used to connect and interact with remote TCP netwo…
- Question 8Which netfilter table contains built-in chains called INPUT, OUTPUT and FORWARD?
