AWS Certified Solutions Architect – Professional — Question 510

Amazon Elastic File System (EFS) provides information about the space used for an object by using the space _ used attribute of the Network File System Version
4.1 (NFSv4.1). The attribute includes the object's current metered data size and not the metadata size. Which of the following utilities will you use to measure the amount of disk that is used of a file?

Answer options

Correct answer: B

Explanation

The du (disk usage) utility is the standard tool used in Linux to estimate and display the file space usage of individual files and directories, which aligns with how Amazon EFS reports metered data size. Other options like blkid and sfdisk are used for identifying block devices and partitioning disks respectively, while pydf is a tool for viewing overall file system disk space rather than individual file sizes.