A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resolve this issue? (Choose three.)
A.
df -h /
B.
fdisk -1 /dev/sdb
C.
growpart /dev/mapper/rootvg-rootlv
D.
pvcreate /dev/sdb
E.
lvresize –L +10G -r /dev/mapper/rootvg-rootlv
F.
lsblk /dev/sda
G.
parted -l /dev/mapper/rootvg-rootlv
H.
vgextend /dev/rootvg /dev/sdb
pvcreate /dev/sdb
lvresize –L +10G -r /dev/mapper/rootvg-rootlv
vgextend /dev/rootvg /dev/sdb
Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?
A.
Centos Linux
B.
Gaia embedded
C.
Gaia
D.
Red Hat Enterprise Linux version 5
Gaia embedded
A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?
A.
mount /dev/sdb1 /media/usb
B.
mount /dev/sdb0 /media/usb
C.
mount /dev/sdb /media/usb
D.
mount -t usb /dev/sdb1 /media/usb
mount /dev/sdb1 /media/usb
A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?
A.
scp "ABC-key.pem" root@10.0.0.1
B.
sftp rooteiO.0.0.1
C.
telnet 10.0.0.1 80
D.
ssh -i "ABC-key.pem" root@10.0.0.1
E.
sftp "ABC-key.pem" root@10.0.0.1
ssh -i "ABC-key.pem" root@10.0.0.1
A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?
A.
chmod +t /project/access2all
B.
chmod +rws /project/access2all
C.
chmod 2770 /project/access2all
D.
chmod ugo+rwx /project/access2all
chmod +t /project/access2all
A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?
A.
partprobe
vgcreate
lvextend
B.
lvcreate
fdisk
partprobe
C.
fdisk
partprobe
mkfs
D.
fdisk
pvcreate
vgextend
fdisk
pvcreate
vgextend
An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?
A.
git clone https://github.com/comptia/linux+-.git
git push origin
B.
git clone https://qithub.com/comptia/linux+-.git
git fetch New-Branch
C.
git clone https://github.com/comptia/linux+-.git
git status
D.
git clone https://github.com/comptia/linuxt+-.git
git checkout -b <new-branch>
git clone https://github.com/comptia/linuxt+-.git
git checkout -b <new-branch>
A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?
A.
chown -s 755 devops
B.
chown 1755 devops
C.
chmod -s 755 devops
D.
chmod 1755 devops
chmod 1755 devops
A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?
A.
nslookup
B.
rsyn
C.
netstat
D.
host
nslookup
A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received:
Which of the following commands can be used to resolve this issue?
A.
chgrp -R 755 data/
B.
chmod -R 777 data/
C.
chattr -R -i data/
D.
chown -R data/
chattr -R -i data/
Page 3 out of 37 Pages |
Previous |