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.)

A. 0F
B. A0
C. 0b
D. FF
E. 00

題解

Squid設定檔中的「cache_dir」命令可以設定快取要儲存的路徑、快取儲存的大小上限,和第一層與第二層子目錄的數量。目錄的檔名使用16進制的數字來命名,從1開始。

由於題目設定第一層子目錄的數量上限為「16」,所以目錄名稱範圍在「01 ~ 10」,因此答案是選項「A」和選項「C」。