Question 1mediummultiple choice
Read the full Deploy, configure, and maintain systems explanation →EX200 Deploy, configure, and maintain systems • Complete Question Bank
Complete EX200 Deploy, configure, and maintain systems question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. # cat /etc/systemd/system/example.service [Unit] Description=Example Service After=network.target [Service] Type=simple ExecStart=/usr/local/bin/example.sh Restart=on-failure [Install] WantedBy=multi-user.target # systemctl daemon-reload
Refer to the exhibit. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 20G 0 disk ├─sda1 8:1 0 1G 0 part /boot ├─sda2 8:2 0 2G 0 part [SWAP] └─sda3 8:3 0 17G 0 part / sdb 8:16 0 10G 0 disk └─sdb1 8:17 0 10G 0 part /mnt/data # df -h /mnt/data Filesystem Size Used Avail Use% Mounted on /dev/sdb1 9.8G 7.5G 2.3G 77% /mnt/data
Refer to the exhibit. # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 15G 4.6G 77% / /dev/sdb1 50G 10G 40G 20% /var /dev/sdc1 100G 90G 10G 90% /data
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
SELinux policy is enforced and denials are logged
Policy is not enforced but denials are logged
SELinux is turned off completely
Refer to the exhibit. ``` /dev/mapper/vg_root-lv_root / xfs defaults 1 1 UUID=1234-5678 /boot xfs defaults 1 2 /dev/mapper/vg_root-lv_home /home xfs defaults 1 2 192.168.1.100:/export /mnt nfs4 defaults 0 0 ```
Refer to the exhibit. ``` $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 15G 5.0G 75% / tmpfs 1.5G 2.3M 1.5G 1% /dev/shm /dev/sdb1 100G 10G 90G 10% /data $ ls -ld /data drwx------. 6 root root 4096 Jan 1 12:00 /data ```
Refer to the exhibit. ``` $ systemctl status crond ● crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond.service; disabled; vendor preset: disabled) Active: inactive (dead) ```
# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.8G 6.2G 3.2G 66% / /dev/sda2 4.0G 2.1G 1.8G 54% /boot /dev/mapper/vg_data-lv_backup 500G 450G 50G 90% /backup tmpfs 7.8G 1.2G 6.6G 16% /dev/shm
# systemctl status sshd
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-03-20 10:15:00 EDT; 2 weeks 3 days ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 1234 (sshd)
Tasks: 1 (limit: 23456)
Memory: 4.2M
CGroup: /system.slice/sshd.service
└─1234 /usr/sbin/sshd -DFilesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 45G 5.2G 90% / /dev/sda1 1014M 312M 703M 31% /boot
$ journalctl -u sshd.service -p err --since yesterday -- Logs begin at Mon 2024-03-25 10:00:00 EDT, end at Tue 2024-03-26 09:30:00 EDT Mar 25 14:22:31 server sshd[1234]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.1.100 user=root Mar 25 14:22:35 server sshd[1234]: Failed password for root from 192.168.1.100 port 22 ssh2 Mar 25 14:23:01 server sshd[1235]: fatal: Unable to negotiate with 192.168.1.101 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss Mar 25 14:23:02 server sshd[1235]: Connection closed by 192.168.1.101