Question-56: When creating ext4 filesystems for use with Hadoop data volumes, which of the following are Cloudera's correct recommendations?
- Use one inode per 1 MB
- Minimize the number of super block backups or sparse_super
- Enable journaling or has_journal
- Use b-tree indexes for directory trees or dir_index
- Use extent-based allocations or extent
Answer:
This Question is from QuickTechie Cloudera CDP Certification Preparation Kit.
Exp: Filesystem Creation Options: When creating ext4 filesystems for use with Hadoop data volumes, Cloudera recommends reducing the superuser block reservation from 5% to 1% for root (using the -m1 option) as well as setting the following options:
- use one inode per 1 MB (largefile)
- minimize the number of super block backups (sparse_super)
-
- Get All Questions & Answer for CDP Generalist Exam (CDP-0011) and trainings.
- Get All Questions & Answer for CDP Administrator - Private Cloud Base Exam CDP-2001 and trainings.
- Get All Questions & Answer for CDP Data Developer Exam CDP-3001 and trainings.
This Question is from QuickTechie Cloudera CDP Certification Preparation Kit.
- use b-tree indexes for directory trees (dir_index)
- use extent-based allocations (extent)
Creating such an ext4 filesystem might look like this:
mkfs –t ext4 –m 1 –O sparse_super,dir_index,extent,has_journal /dev/sdb1
Creating an xfs filesystem might look like this:
mkfs –t xfs /dev/sdb1
When creating xfs filesystems, no options are required.
This Question is from QuickTechie Cloudera CDP Certification Preparation Kit.