あなたを合格させるEX200お手軽に試験合格リアルEX200練習問題集で更新されたのは2025年02月08日 [Q34-Q57]

Share

あなたを合格させるEX200お手軽に試験合格リアルEX200練習問題集で更新されたのは2025年02月08日

2025年最新の実際に出ると確認されたで無料RedHat EX200試験問題


RHCSA試験は、Red Hat Enterprise Linuxシステムで作業するITプロフェッショナルにとって必要不可欠な認定試験です。この認定試験に合格することは、候補者がRed Hat Enterprise Linuxシステムを効果的に管理および構成するために必要な知識とスキルを持っていることを示します。Linuxシステム管理のスキルを向上させ、キャリアの見通しを広げるためにも、RHCSA認定は貴重な資格です。また、潜在的な雇用主やクライアントに専門知識をアピールする優れた方法でもあります。


この試験は、候補者のRed Hat Enterprise Linuxシステムのインストール、設定、管理能力を評価する実践的なテストで構成されています。試験は実世界の環境で実施されるため、候補者のスキルを真に試すものです。試験は2時間半で行われ、20〜25の問題から構成されています。


RHCSA試験は、オープンソースソフトウェアソリューションの大手プロバイダーであるRed Hatによって実施されます。この試験は、Red Hat Systemの管理IおよびIIコースを完了した、または同等の経験を持つIT専門家の知識とスキルをテストするように設計されています。この試験は、実際のシナリオをシミュレートする実用的なタスクで構成されており、候補者はRed Hatシステムを構成、管理、トラブルシューティングする能力を実証する必要があります。

 

質問 # 34
Part 1 (on Node1 Server)
Task 2 [Installing and Updating Software Packages]
Configure your system to use this location as a default repository:
http://utility.domain15.example.com/BaseOS
http://utility.domain15.example.com/AppStream
Also configure your GPG key to use this location
http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release

正解:

解説:
* [root@node1 ~]# vim /etc/yum.repos.d/redhat.repo
[BaseOS]
name=BaseOS
baseurl=http://utility.domain15.example.com/BaseOS
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[AppStream]
name=AppStream
baseurl=http://utility.domain15.example.com/AppStream
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[root@node1 ~]# yum clean all
[root@node1 ~]# yum repolist
[root@node1 ~]# yum list all


質問 # 35
CORRECT TEXT
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)

正解:

解説:
# vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
------------------------------------------------------------------------------- (Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)
OR
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)


質問 # 36
1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.
2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

正解:

解説:
see explanation below.
Explanation
(1)find /etc -size 10k -exec cp {} /tmp/findfiles \;
(2)find / -user lucy -exec cp -a {} /tmp/findfiles \;
Note: If find users and permissions, you need to use cp - a options, to keep file permissions and user attributes etc.


質問 # 37
Find the files owned by harry, and copy it to catalog: /opt/dir

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;


質問 # 38
SIMULATION
Binding to an external validation server.
System server.domain11.example.com provides a LDAP validation service, your system should bind to this service as required:
Base DN of validation service is dc=example,dc=com
LDAP is used for providing account information and validation information Connecting and using the certification of http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to encrypt After the correct configuration, ldapuser1 can log into your system, it does not have HOME directory until you finish autofs questions, ldapuser1 password is password.

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation: yum -y install sssd authconfig-gtk krb5-workstation authconfig-gtk // open the graphical interface Modify user account database to ldap, fill up DN and LDAP SERVER as questions required, use TLS to encrypt connections making tick, write http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to download ca, authentication method choose ldap password.
You can test if the ldapuser is added by the following command:
Id ldapuser1
Note: user password doesn't not need to set


質問 # 39
Which of the following sections must exist in a Packer template?

  • A. provisioners
  • B. variables
  • C. post-processsors
  • D. builders
  • E. images

正解:A

解説:
Explanation/Reference:


質問 # 40
Locate all the files owned by ira and copy them to the / root/findresults directory.

正解:

解説:
# find / -user ira > /root/findresults (if /root/findfiles is a file)
# mkdir -p /root/findresults
# find / -user ira -exec cp -a {} /root/findresults\; [ if /root/findfiles is a directory] ls /root/findresults


質問 # 41
SIMULATION
Add a swap partition.
Adding an extra 500M swap partition to your system, this swap partition should mount automatically when the system starts up. Don't remove and modify the existing swap partitions on your system.

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation:
fdisk -cu /dev/vda// in the way of expanding the partition, don't make main partition partx -a /dev/vda mkswap /dev/vdax swapon /dev/vdax swapon -s vi /etc/fstab
/dev/vdaxswapswapdefaults0 0
mount -a


質問 # 42
Install the Kernel Upgrade.
Install suitable kernel update from:
http://server.domain11.example.com/pub/updates.
Following requirements must be met:
Updated kernel used as the default kernel of system start-up.
The original kernel is still valid and can be guided when system starts up.

正解:

解説:
see explanation below.
Explanation
Using the browser open the URL in the question, download kernel file to root or home directory.
uname -r// check the current kernel version
rpm -ivh kernel-*.rpm
vi /boot/grub.conf// check
Some questions are: Install and upgrade the kernel as required. To ensure that grub2 is the default item for startup.
Yum
repo : http://content.example.com/rhel7.0/x86-64/errata
OR
uname -r // check kernel
Yum-config-manager
--add-repo="http://content.example.com/rhel7.0/x86-64/ errata"
Yum clean all
Yum list kernel// install directly
Yum -y install kernel// stuck with it, do not pipe! Please do not pipe!
Default enable new kernel grub2-editenv list// check
Modify grub2-set-default "kernel full name"
Grub2-mkconfig -o/boot/grub2/grub.cfg// Refresh


質問 # 43
System Optimization Configuration
Choose the recommended tuned configuration set for your system and set it as default.

正解:

解説:
# Install and enable tuned
[root@node2 ~]# yum -y install tuned
[root@node2 ~]# systemctl enable tuned
[root@node2 ~]# systemctl restart tuned
# Check the recommended configuration scheme for the system
[root@node2 ~]# tuned-adm recommend
virtual-guest
# Switch to the specified configuration scheme
[root@node2 ~]# tuned-adm profile virtual-guest
# Check the current configuration scheme
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest


質問 # 44
Create one partitions having size 100MB and mount it on data.

正解:

解説:
see explanation below.
Explanation
1. Use fdisk /dev/hda to create new partition.
2. Type n For New partitions.
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data


質問 # 45
SIMULATION
The user authentication has been provided by ldap domain in 192.168.0.254. According the following requirements to get ldapuser.
-LdapuserX must be able to login your system, X is your hostname number. But the ldapuser's home directory cannot be mounted, until you realize automatically mount by autofs server.
- All ldap user's password is "password".

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation: system-config-authentication &


質問 # 46
Which of the following functions are provided by the Ansible aptmodule? (Choose two correct answers.)

  • A. Update the list of available packages from configured repositories.
  • B. Add the URL of a new repository to the package manager configuration.
  • C. Re-compile an installed package from the source code.
  • D. Install a dpkg based Linux distribution on an empty target system.
  • E. Update an installed package to the latest version.

正解:A、D

解説:
Explanation/Reference:
Reference https://docs.ansible.com/ansible/latest/modules/apt_module.html


質問 # 47
SIMULATION
Create the following users, groups, and group memberships:
A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation:
groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah


質問 # 48
How is cloud-init integrated with a managed system image?

  • A. cloud-init provides systemd units which must be included in several stages of the booting process of the
    instance.
  • B. cloud-init provides the cloud-init-workercommand which has to be invoked periodically within the
    running instance.
  • C. cloud-init provides its own startup mechanism which replaces the instance's original init system, such as
    systemd.
  • D. cloud-init provides a Linux kernel module that must be included and loaded in the instance's initramfs.
  • E. cloud-init provides the cloud-init-daemonservice which is launched during startup and keeps the
    instance in sync with the desired configuration.

正解:D


質問 # 49
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

正解:

解説:
see explanation below.
Explanation
mkdir -p /mnt/iso
/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
mount | grep examine


質問 # 50
CORRECT TEXT
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

正解:

解説:
# cp /etc/fstab /var/tmp/
# chgrp admin /var/tmp/fstab
# setfacl -m u:user1:rwx /var/tmp/fstab
# setfacl -m u:user2:--- /var/tmp/fstab
# ls -l
-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab


質問 # 51
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.

正解:

解説:
see explanation below.
Explanation
# cat /etc/grub.conf
# cd /boot
# lftp it
# get dr/dom/kernel-xxxx.rpm
# rpm -ivh kernel-xxxx.rpm
# vim /etc/grub.conf
default=0


質問 # 52
Part 1 (on Node1 Server)
Task 15 [Running Containers]
Create a container named logserver with the image rhel8/rsyslog found from the registry registry.domain15.example.com:5000 The container should run as the root less user shangril a. use redhat as password [sudo user] Configure the container with systemd services as the shangrila user using the service name, "container-logserver" so that it can be persistent across reboot.
Use admin as the username and admin123 as the credentials for the image registry.

正解:

解説:
* [root@workstation ~]# ssh shangrila@node1
[shangrila@node1 ~]$ podman login registry.domain15.example.com:5000
Username: admin
Password:
Login Succeeded!
[shangrila@node1 ~]$ podman pull registry.domain15.example.com:5000/rhel8/rsyslog
[shangrila@node1 ~]$ podman run -d --name logserver registry.domain15.example.com:5000/rhel8/rsyslog
021b26669f39cc42b8e94eab886ba8293d6247bf68e4b0d76db2874aef284d6d
[shangrila@node1 ~]$ mkdir -p ~/.config/systemd/user
[shangrila@node1 ~]$ cd ~/.config/systemd/user
* [shangrila@node1 user]$ podman generate systemd --name logserver --files --new
/home/shangrila/.config/systemd/user/container-logserver.service
[shangrila@node1 ~]$ systemctl --user daemon-reload
[shangrila@node1 user]$ systemctl --user enable --now container-logserver.service
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7d9f7a8a4d63 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 2 seconds ago logserver
[shangrila@node1 ~]$ sudo reboot
[shangrila@node1 ~]$ cd .config/systemd/user
[shangrila@node1 user]$ systemctl --user status


質問 # 53
The user authentication has been provided by ldap domain in 192.168.0.254. According the following requirements to get ldapuser.
-LdapuserX must be able to login your system, X is your hostname number. But the ldapuser's home directory cannot be mounted, until you realize automatically mount by autofs server.
- All ldap user's password is "password".

正解:

解説:
system-config-authentication &


質問 # 54
CORRECT TEXT
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

正解:

解説:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat


質問 # 55
Part 2 (on Node2 Server)
Task 8 [Tuning System Performance]
Set your server to use the recommended tuned profile

正解:

解説:
[root@node2 ~]# tuned-adm list
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest
[root@node2 ~]# tuned-adm recommend
virtual-guest
[root@node2 ~]# tuned-adm profile virtual-guest
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest
[root@node2 ~]# reboot
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest


質問 # 56
Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /mnt/data.

正解:

解説:
see explanation below.
Explanation
# pvcreate /dev/sda7 /dev/sda8
# vgcreate -s 16M vg1 /dev/sda7 /dev/sda8
# lvcreate -l 50 -n lvm02
# mkfs.ext4 /dev/vg1/lvm02
# blkid /dev/vg1/lv1
# vim /etc/fstab
# mkdir -p /mnt/data
UUID=xxxxxxxx /mnt/data ext4 defaults 0 0
# vim /etc/fstab
# mount -a
# mount
(Verify)


質問 # 57
......

EX200リアル試験問題解答は無料:https://www.passtest.jp/RedHat/EX200-shiken.html

EX200試験問題、リアルEX200練習問題集:https://drive.google.com/open?id=1VqtWmPG5VvXGQF4aWTTXIUZb9RdgsDo1