MOCK EXAM >>>Clarification on Issues with Questions 6 and 11

Hi Team KodeKloud,

I hope this message finds you well. I have encountered a couple of issues during my recent attempt and would appreciate your assistance:

Question 6:
The question specifically asks to save the name of the pool; however, the solution provided by KodeKloud appears to save more than just the pool name.

Question 11:
Could someone kindly review and resolve Question 11 again? It seems the marking system isn't recognizing the correct answer.

I would be grateful for your assistance with these queries.

Thank you in advance for your support.

Summary

I tried #6 and #11 using the solutions from the End of Exam page. Both worked:

# Problem 6:

bob@caleston-lp10:~$ sudo timedatectl set-ntp true
bob@caleston-lp10:~$ sudo timedatectl set-timezone Asia/Singapore
bob@caleston-lp10:~$ sudo timedatectl show-timesync | grep FallbackNTP | sudo tee /opt/pool.txt > /dev/null
bob@caleston-lp10:~$ cat /opt/pool.txt 
FallbackNTPServers=ntp.ubuntu.com

# Problem 11:

bob@caleston-lp10:~$ sudo mkfs.ext4 /dev/vdc
mke2fs 1.46.5 (30-Dec-2021)
Creating filesystem with 786432 4k blocks and 196608 inodes
Filesystem UUID: 078fcaec-e785-4b56-abf5-3419bbba30d9
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done 

bob@caleston-lp10:~$ sudo vim /etc/fstab
bob@caleston-lp10:~$ sudo mount -a
bob@caleston-lp10:~$ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during curtin installation
/dev/disk/by-uuid/8ee8caa8-cef0-4e5c-a626-03f2a0f13c00 / ext4 defaults 0 1
/swap.img       none    swap    sw      0       0
/dev/vdc /home/bob/share ext4 defaults 0 2
#VAGRANT-BEGIN
# The contents below are automatically generated by Vagrant. Do not modify.
#VAGRANT-END

Hi @rob_kodekloud,

I hope you’re doing well. First, please accept my apologies if I’ve been asking too many questions—English isn’t my first language, so I hope you can understand that my queries are not meant to complain but to genuinely help me gain a deeper understanding of the material. I want to ensure I fully grasp the concepts, which will help me perform better in the actual exam.

Regarding Question 6, it asks to “save the name of the pool.” While I understand that this could mean saving the entire line, I’ve noticed there are two different methods to obtain the full line (as shown in the screenshot below). Both methods seem correct, but the second command fits the expected answer more closely. This makes the question feel a bit ambiguous. Could you kindly provide clarification on this?

Please also help me understand why my solution for question 11 is wrong.

Thanks

#6: I haven’t used egrep in a while; I’m not sure if it’s identical to grep in this particular case. I’d probably call sudo -i, and run the commands w/o using sudo again. This means that the last command would be

timedatectl show-timesync | grep FallbackNTP > /opt/pool.txt

This should work.

#11

Did you run sudo mount -a after editing /etc/fstab? /etc/fstab looks correct to me.

Hi @rob_kodekloud,
Thank you for your feedback thus far.

I believe I have followed all the necessary steps for Question 11, but the system still does not recognize my solution as correct. Could you please assist in reviewing my submission to identify any possible issues?


I was able to solve Question 6 based on your provided solution (screenshot below). However, I have some concerns about how the question is phrased. The question states:

“Finally, what is the name of the fallback NTP pool currently configured for this system? Create the file /opt/pool.txt and save the name of that pool there, on a single line.”

Given the wording, I initially thought the correct answer should simply be "ntp.ubuntu.com" saved within the pool.txt file, as the question asks to “save the name.” Could you or anyone on the team help clarify why this isn’t the expected answer? I would appreciate a deeper understanding of why the solution requires more.