1
COMPTIA XK0-005 EXAM Q&A GUIDE
WITH 2026-27 LATEST VERSION UPDATE
1/25
,2
2/25
, 3
Question #7 Topic 1
DRAG DROP -
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following: Add relevant
content to /tmp/script.sh, so that it nds and compresses related les in /var/log without recursion. INSTRUCTIONS:
Drag and drop snippets to ll the blanks to build a script that performs the actual compression of rotated log les. If at any time you
would like to bring back the initial state of the simulation, please click the Reset All button.
Correct Answer:
3/25
COMPTIA XK0-005 EXAM Q&A GUIDE
WITH 2026-27 LATEST VERSION UPDATE
1/25
,2
2/25
, 3
Question #7 Topic 1
DRAG DROP -
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following: Add relevant
content to /tmp/script.sh, so that it nds and compresses related les in /var/log without recursion. INSTRUCTIONS:
Drag and drop snippets to ll the blanks to build a script that performs the actual compression of rotated log les. If at any time you
would like to bring back the initial state of the simulation, please click the Reset All button.
Correct Answer:
3/25