A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device name of this partition?
The commandsudo fdisk -lshould be issued to verify the device name of the partition. Thesudocommand allows the administrator to run commands as the superuser or another user. Thefdiskcommand is a tool for manipulating disk partitions on Linux systems. The-loption lists the partitions on all disks or a specific disk. The commandsudo fdisk -lwill show the device names, sizes, types, and other information of the partitions on all disks. The administrator can identify the device name of the partition by looking at the output. This is the correct command to use to accomplish the task. The other options are incorrect because they either do not list the partitions (sudo fdisk /dev/sdaorsudo fdisk -h) or do not exist (sudo fdisk -s /dev/sda).Reference:CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10: Managing Storage, page 317.
A systems administrator is working on an SFTP server configuration. Which of the following commands will best enable the connectivity to that service from the 10.10.0.0/24 network?
Step-by-Step Comprehensive Detailed
Command
A: This command explicitly allows traffic from the 10.10.0.0/24 network to port 22 (SSH/SFTP).
Why Other Options are Incorrect:
B: Does not specify the source network.
C: Does not specify the port.
D: Syntax is invalid for ufw.
CompTIA Linux+ Study Guide: Firewall Management
man ufw
Which of the following Git commands would send committed changes to a remote repository?
Comprehensive and Detailed Step-by-Step
git push origin master pushes committed changes to the remote repository.
git stash temporarily saves changes but does not push them.
git commit -a commits changes but does not send them to the remote repository.
git add . stages changes but does not commit or push them.
A Linux administrator is configuring crontab and needs to schedule a task to run only on Saturday and Sunday at 9:00 a.m. every week of the year. Which of the following should the administrator use?
Comprehensive and Detailed Step-by-Step
0 9 * * 6,0 ensures execution at 9:00 AM on Saturdays (6) and Sundays (0).
1-5 would run the script Monday-Friday.
*/3 is incorrect because it runs every three days.
1 * * runs only on the 1st day of each month.
A DevOps engineer wants to work on a snapshot of the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?
Creating a snapshot of the current state of the code in Git is best achieved with the git tag <feature> command, which is often used to mark release points or stable versions in a project. Tags are helpful for referencing points in history without affecting the branch structure. Unlike branches, which are for active development, tags are commonly used to mark versions for future reference or deployment. Reference: CompTIA Linux+ Study Guide.
Maddie
23 days agoTrina
2 months agoMicheline
3 months agoAlona
3 months agoLanie
4 months agoVeronica
4 months agoLashon
4 months agoViki
5 months agoNenita
5 months agoNoe
5 months agoMyong
6 months agoFlo
6 months agoCristy
6 months agoOmega
7 months agoLore
7 months agoGarry
7 months agoLynette
7 months agoKrissy
7 months agoMiriam
8 months agoVeda
8 months agoRickie
9 months agoQueen
9 months agoLeota
10 months agoYolando
10 months agoMatilda
10 months agoLynette
10 months agoFabiola
10 months agoValentine
11 months agomeezo
11 months agohekeho
11 months agoMark james
11 months agotokyo
11 months agoarmstrong
11 months ago