How is a new Linux computing instance provisioned in an laaS cloud?
Correct Answer: E
Question 17
The ownership of the file doku.odt should be changed. The new owner is named tux. Which command accomplishes this change?
Correct Answer: C
Explanation The correct command to change the ownership of the file doku.odt to a new owner named tux is chown tux doku.odt. This command uses the chown command, which stands for change owner, followed by the name of the new owner and the name of the file as arguments. The chown command allows you to change the user and/or group ownership of a given file, directory, or symbolic link12. The other options are incorrect because they use different commands or syntax that do not change the ownership of the file. For example: * Option A uses the chmod command, which stands for change mode, and is used to change the permissions of files and directories, not the ownership3. * Option B uses the newuser command, which is used to create a new user account, not to change the ownership of a file4. * Option D uses the transfer command, which is not a valid Linux command. * Option E uses the passwd command, which is used to change the password of a user account, not the ownership of a file5. References: 1: Chown Command in Linux (File Ownership) | Linuxize 2: chown command in Linux with Examples - GeeksforGeeks 3: Chmod Command in Linux (File Permissions) | Linuxize 4: newusers(8) - Linux man page 5: passwd(1) - Linux man page
Question 18
Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?
Correct Answer: E
Question 19
Which of the following tasks can the command passwd accomplish? (Choose two.)
Correct Answer: B,E
Explanation The passwd command in Linux is used to change the password of a user account. A normal user can run passwd to change their own password, and a system administrator (the superuser) can use passwd to change another user's password, or define how that account's password can beused or changed1. The passwd command can also be used to lock or unlock a user account. Locking a user account means disabling the user's ability to log in to the system, while unlocking a user account means restoring the user's ability to log in. To lock a user account, the passwd command can be used with the -l option, followed by the username. To unlock a user account, the passwd command can be used with the -u option, followed by the username12. The passwd command cannot be used to change a user's username, create a new user account, or create a new user group. These tasks require different commands, such as usermod, useradd, orgroupadd345. References: 1: Linux Passwd Command Help and Examples 2: Passwd command in Linux: 8 Practical Examples 3: usermod(8) - Linux man page 4: useradd(8) - Linux man page 5: groupadd(8) - Linux man page
Question 20
Where is the operating system of a Raspberry Pi stored?
Correct Answer: C
Explanation The Raspberry Pi uses an SD card (or microSD card for newer models) as its main storage device. This means that the operating system and any other files are stored on the SD card, which can be easily inserted or removed from the Raspberry Pi. The SD card also allows the user to switch between different operating systems by using different cards or partitions. The Raspberry Pi does not have any internal storage, such as a hard disk drive or a solid state drive, nor does it use any external devices, such as an IDE bus, a firmware partition, or a GPIO module, to store the operating system. References: * Raspberry Pi OS - Raspberry Pi * Choosing Storage for Raspberry Pi - Kingston Technology * Beginner's Guide: How To Install a New OS on Raspberry Pi