GCIH · Question #723
What is the size of the data transferred in the following Squid access log?
The correct answer is D. 859 bytes. In Squid access logs, the bytes field represents the size of data transferred in bytes, making 859 bytes the correct interpretation of the value shown.
Question
What is the size of the data transferred in the following Squid access log?
Options
- A1,460 bytes
- B1,460 MB
- C859 MB
- D859 bytes
How the community answered
(41 responses)- B2% (1)
- C5% (2)
- D93% (38)
Why each option
In Squid access logs, the bytes field represents the size of data transferred in bytes, making 859 bytes the correct interpretation of the value shown.
1,460 bytes does not correspond to the size field value shown in the log entry.
Squid does not express transfer sizes in megabytes in its access log format - the field is always bytes.
859 MB would imply a massive transfer that would not match the numeric value as recorded in standard Squid log notation.
Squid proxy access logs record the size of transferred data in bytes as a standard field in the log format. The numeric value in that field represents raw bytes, not megabytes or kilobytes, so the correct reading of the log entry is 859 bytes transferred.
Concept tested: Interpreting Squid proxy access log byte fields
Source: http://www.squid-cache.org/Doc/config/access_log/
Topics
Community Discussion
No community discussion yet for this question.