
ベスト良質なRedHat EX200試験問題PassTestリアル練習試験 [2023]
重要な試験問題でRed Hat Certified System Administrator - RHCSA一発合格
質問 # 15
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1
正解:
解説:
Answer see in the explanation.
Explanation/Reference:
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1
DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim /etc/ sysconfig/network
(Configure Host Name)
質問 # 16
Find the files owned by harry, and copy it to catalog: /opt/dir
正解:
解説:
see explanation below.
Explanation
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;
質問 # 17
Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.
正解:
解説:
Answer see in the explanation.
Explanation/Reference:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat
質問 # 18
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.
正解:
解説:
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
質問 # 19
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.
正解:
解説:
crontab -e -u natasha
23 14/bin/echo hiya
crontab -l -u natasha // view
systemctlenable crond
systemcdlrestart crond
質問 # 20
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.
正解:
解説:
see explanation below.
Explanation
* First check the size of Logical Volume: lvdisplay /dev/vo/myvol
* Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
* Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
* It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M
* Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
* Verify that the size comes in online or not: df -h
質問 # 21
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
質問 # 22
What is the Puppet equivalent to an Ansible Playbook called?
- A. A Puppet Declaration
- B. A Puppet Manifest
- C. A Puppet Factsheet
- D. A Puppet Playbook
- E. A Puppet Catalog
正解:E
解説:
Explanation/Reference:
質問 # 23
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
* The owner of this document must be root.
* This document belongs to root group.
* User mary have read and write permissions for this document.
* User alice have read and execute permissions for this document.
* Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
* All users has read permission for this document in the system.
正解:
解説:
see explanation below.
Explanation
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl -m u:mary:rw /var/tmp/fstab
setfacl -m u:alice:rx /var/tmp/fstab
useradd -u 1000 bob
質問 # 24
SIMULATION
Notes:
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM: http://instructor.example.com/pub/rhel6/dvd
ldap: http://instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.
正解:
解説:
yum install dialog
質問 # 25
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
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
質問 # 26
Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.
正解:
解説:
vi /etc/resolv.conf
nameserver 172.24.254.254
host server1.example.com
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.
質問 # 27
Which of the following statements is true about load balancers?
- A. Load balancer require access to private keys in order to be able to forward HTTPS traffic.
- B. Load balancers are a security risk because they obfuscate the origin of connections.
- C. Load balancers are a single point of failure because they cannot be deployed redundantly.
- D. Load balancers cannot use connection content, such as HTTP cookies, to route traffic.
- E. Load balancer help to improve the availability and scalability of a service.
正解:E
質問 # 28
The firewall must be open.
正解:
解説:
see explanation below.
Explanation
/etc/init.d/iptables start
iptables -F
iptables -X
iptables -Z
/etc/init.d/iptables save
chkconfig iptables on
質問 # 29
Part 2 (on Node2 Server)
Task 5 [Managing Logical Volumes]
Add an additional swap partition of 656 MiB to your system. The swap partition should automatically mount when your system boots Do not remove or otherwise alter any existing swap partition on your system
正解:
解説:
* [root@node2 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vdc 252:32 0 5G 0 disk
└─vdc1 252:33 0 4.1G 0 part
└─datavg-datalv 253:3 0 3.9G 0 lvm /data
vdd 252:48 0 5G 0 disk
vde 252:64 0 10G 0 disk
[root@node2 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 2097148 1548 -2
[root@node2 ~]# free -m
total used free shared buff/cache available
Mem: 1816 1078 104 13 633 573
Swap: 2047 1 2046
[root@node2 ~]# parted /dev/vdc print
Number Start End Size Type File system Flags
1 1049kB 4404MB 4403MB primary lvm
* [root@node2 ~]# parted /dev/vdc mkpart primary linux-swap 4404MiB 5060MiB
[root@node2 ~]# mkswap /dev/vdc2
Setting up swapspace version 1, size = 656 MiB (687861760 bytes)
no label, UUID=9faf818f-f070-4416-82b2-21a41988a9a7
[root@node2 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 2097148 1804 -2
[root@node2 ~]# swapon /dev/vdc2
* [root@node2 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 2097148 1804 -2
/dev/vdc2 partition 671740 0 -3
[root@node2 ~]# blkid
/dev/vdc2: UUID="9faf818f-f070-4416-82b2-21a41988a9a7" TYPE="swap" PARTUUID="0f22a35f-02"
[root@node2 ~]# vim /etc/fstab
UUID=9faf818f-f070-4416-82b2-21a41988a9a7 swap swap defaults 0 0
[root@node2 ~]# reboot
[root@node2 ~]# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 2097148 1804 -2
/dev/vdc2 partition 671740 0 -3
質問 # 30
SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
正解:
解説:
See explanation below.
Explanation/Reference:
Explanation: # fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter
+2G t
8 I
82
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)
質問 # 31
......
RedHat EX200は、Red Hat Certified System Administrator(RHCSA)試験としても知られており、認定されたRed Hatシステム管理者になりたい個人の知識とスキルをテストする認定試験です。この試験は、候補者がさまざまなタスクを実行し、Red Hat Enterprise Linuxシステムを管理する能力を評価するパフォーマンスベースのテストです。
RHCSA認定は、システム管理のキャリアを求める個人にとって貴重な資産です。RHELを使用しているシステム管理者のスキルと知識を測定するための標準として、グローバルに認識されています。認定は、潜在的な雇用者に対して、個人がRHELシステムを管理および維持するために必要なスキルを持っていることを証明します。また、Red Hatが提供する多くの高度な認定(Red Hat Certified Engineer(RHCE)およびRed Hat Certified Architect(RHCA)認定など)の前提条件でもあります。
EX200試験問題集合格保証:https://www.passtest.jp/RedHat/EX200-shiken.html
ベスト良質なRedHat EX200試験問題:https://drive.google.com/open?id=1O53-5rzXaZirl0DUTALetCBifSH5xFby