최신 EX200 무료덤프 - RedHat Red Hat Certified System Administrator - RHCSA

Configure the host to boot into multi-user.target by default.
정답:
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.
Create a systemd timer that runs backup-now.service every day at 02:00.
정답:
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 )
Disable all currently managed repositories.
정답:
See the solution below in Explanation.
Explanation:
Solution:
subscription-manager config --rhsm.manage_repos=0
Detailed Explanation:
* This disables repository management by Subscription Manager, exactly as shown in the lab dataset.
* Use this when a task wants system repositories disabled so custom repos can be managed manually.
Configure AutoFS so that accessing /shares/projects mounts server1:/srv/nfs/projects.
정답:
See the solution below in Explanation.
Explanation:
Solution:
dnf install -y autofs
mkdir -p /shares
echo "/shares /etc/auto.shares" > > /etc/auto.master
echo "projects -fstype=nfs,rw server1:/srv/nfs/projects" > /etc/auto.shares
systemctl enable --now autofs
ls /shares/projects
Detailed Explanation:
* /etc/auto.master defines the main map.
* /etc/auto.shares defines the indirect mount entry.
* The mount happens on demand when /shares/projects is accessed.
* RHEL 10 file-system documentation includes AutoFS for on-demand mounts. ( Red Hat
Documentation )
Create a new swap file of size 512 MiB at /swapfile, activate it, and make it persistent.
정답:
See the solution below in Explanation.
Explanation:
Solution:
dd if=/dev/zero of=/swapfile bs=1M count=512
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0" > > /etc/fstab
swapon --show
Detailed Explanation:
* dd creates the file.
* chmod 600 protects swap contents.
* mkswap prepares the file as swap.
* swapon activates it now.
* /etc/fstab ensures it is enabled at boot.
Create a snapshot of the Stratis file system fs1 in pool pool1 named fs1-snap.
정답:
See the solution below in Explanation.
Explanation:
Solution:
stratis filesystem snapshot pool1 fs1 fs1-snap
stratis filesystem list
Detailed Explanation:
* This creates a snapshot of the existing Stratis file system.
* Snapshots are useful for rollback, backup, and testing operations.
* Stratis features, including pool and file-system management, are part of RHEL 10 file-system
administration. ( Red Hat Documentation )
Find all files owned by user tom and copy them into /root/tomfiles.
정답:
See the solution below in Explanation.
Explanation:
Solution:
* Create the destination directory if needed:
mkdir -p /root/tomfiles
* Find and copy:
find / -type f -user tom -exec cp -pvf {} /root/tomfiles/ \;
Detailed Explanation:
* find / searches the whole filesystem.
* -type f restricts results to files.
* -user tom matches owner tom.
* -exec cp -pvf copies each file with verbose and force options.
* mkdir -p is added as a safe preparation step.

우리와 연락하기

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

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

서포트: 바로 연락하기