RedHat Red Hat Certified System Administrator - RHCSA (EX200 Korean Version) - EX200 Korean무료 덤프문제 풀어보기

매일 오전 2시에 backup-now.service를 실행하는 systemd 타이머를 생성하세요.
정답:
See the solution below in Explanation.
Explanation:
Solution:
Create timer unit:
cat > /etc/systemd/system/backup-now.timer < < 'EOF'
[Unit]
Description=Daily backup timer
[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=true
[Install]
WantedBy=timers.target
EOF
Enable it:
systemctl daemon-reload
systemctl enable --now backup-now.timer
systemctl list-timers --all | grep backup-now
Detailed Explanation:
* OnCalendar=*-*-* 02:00:00 means daily at 02:00.
* Persistent=true runs missed jobs after boot if the system was off.
* timers.target is the normal target for timer units.
* RHEL 10 documentation includes systemd timer units as a standard scheduling mechanism. ( Red Hat
Documentation )
HTTP 서비스를 영구적으로 허용하도록 방화벽 규칙을 구성하십시오.
정답:
See the solution below in Explanation.
Explanation:
Solution:
firewall-cmd --permanent --add-service=http
firewall-cmd --reload
firewall-cmd --list-services
Detailed Explanation:
* --permanent saves the rule.
* --reload applies it.
* --list-services verifies the active configuration.
* Firewalld remains the standard firewall interface in RHEL 10. ( Red Hat Documentation )
사용자 john의 cron 접근 권한을 거부합니다.
정답:
See the solution below in Explanation.
Explanation:
Solution:
echo "john" > > /etc/cron.deny
Detailed Explanation:
* cron.deny blocks listed users from using cron.
* This is the simplest way to deny scheduled-job access for one user.
호스트가 기본적으로 multi-user.target으로 부팅되도록 구성합니다.
정답:
See the solution below in Explanation.
Explanation:
Solution:
systemctl set-default multi-user.target
systemctl get-default
Detailed Explanation:
* set-default changes the boot target persistently.
* get-default verifies the result.
* multi-user.target is the standard non-graphical multi-user boot target.
사용자 계정 구성
사용자 계정 "manalo"를 사용자 ID 3533으로 구성하십시오. 이 사용자의 비밀번호는 "flectrag"이어야 합니다.
정답:
Solution:
[root@node1 ~]# useradd -u 3533 manalo
[root@node1 ~]# echo flectrag | passwd --stdin manalo
논리 볼륨 생성
주어진 요구사항에 따라 새로운 논리 볼륨을 생성하십시오.
- "myvg" 볼륨 그룹에 속한 "mylv"라는 이름의 논리 볼륨이며 크기는 50 익스텐트입니다.
- 볼륨 그룹 "myvg"에 있는 논리 볼륨의 익스텐트 크기는 16MiB여야 합니다.
- 새 논리 볼륨을 VFAT 파일 시스템으로 포맷합니다.
- 시스템 시작 시 논리 볼륨이 /mnt/mydata에 자동으로 마운트되어야 합니다.
정답:
Solution:
# Check the disk layout
[root@node2 ~]# lsblk
# Partition the disk
[root@node2 ~]# fdisk /dev/vdb
Welcome to fdisk (util-linux 2.37.4).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n # Add a new partition
Partition type
p primary (1 primary, 0 extended, 3 free) # Primary partition
e extended (container for logical partitions) # Extended partition
Select (default p): p
Partition number (2-4, default 2): # Press Enter
First sector (1026048-20971519, default 1026048): # Press Enter
***Note: The partition size must be larger than the total size, it should not be exactly equal to. It is recommended to add an extra 200M.
Last sector, +/-sectors or +/-size{K,M,G,T,P} (1026048-20971519, default 20971519): +1200M # Partition size
Created a new partition 2 of type 'Linux' and of size 512 MiB.
Command (m for help): w # Save and exit
The partition table has been altered.
Syncing disks.
# Create volume group and logical volume
[root@node2 ~]# vgcreate -s 16M myvg /dev/vdb4
[root@node2 ~]# lvcreate -l 50 -n mylv myvg
# Install vfat support
[root@node2 ~]# yum provides */mkfs.vfat
[root@node2 ~]# yum -y install dosfstools
# Format the logical volume with vfat filesystem
[root@node2 ~]# mkfs.vfat /dev/myvg/mylv
# Create mount point
[root@node2 ~]# mkdir /mnt/mydata
# Update /etc/fstab for automatic mounting
[root@node2 ~]# vim /etc/fstab
/dev/myvg/mylv /mnt/mydata vfat defaults 0 0
# Mount the logical volume
[root@node2 ~]# mount -a
AutoFS가 /automount 아래에 두 개의 NFS 공유를 자동으로 마운트하도록 구성합니다.
정답:
See the solution below in Explanation.
Explanation:
Solution:
dnf install -y autofs
mkdir -p /automount
echo "/automount /etc/auto.automount --timeout=30" > > /etc/auto.master
echo "public -ro,sync nfs.lab.example.com:/public" > > /etc/auto.automount
echo "private -rw,sync nfs.lab.example.com:/private" > > /etc/auto.automount
systemctl enable --now autofs
Detailed Explanation:
* /etc/auto.master defines the main AutoFS map.
* /etc/auto.automount defines the indirect map entries.
* public will mount read-only.
* private will mount read-write.
* AutoFS mounts on access rather than permanently at boot.

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語