Red Hat Certified Specialist in Security: Linux exam 試験
最新更新時間: 2026/09/21
【秋学習応援セール|10月限定キャンペーン】:EX415 最新真題を買う時、日本語版と英語版両方を同時に獲得できます。
実際の問題集を練習し、試験のポイントを了解し、テストに申し込むするかどうかを決めることができます。
さらに試験準備時間の35%を節約するには、EX415 問題集を使用してください。
Question No : 1
Add a cron job for a user using Ansible.
正解: ansible all -i inventory.ini -m cron -a "name='daily backup' minute=0 hour=2 job='/usr/local/bin/backup.sh' user=root" --become
Question No : 2
Use ansible-pull to apply a playbook from a Git repository.
正解: ansible-pull -U https://github.com/example/repo.git playbook.yml Ensure Git is installed and playbook is at the root of the repo.
Question No : 3
Ensure a service is enabled and running using an ad-hoc command.
正解: ansible all -i inventory.ini -m service -a "name=crond state=started enabled=yes" --become
Question No : 4
Gather only memory facts using setup module.
正解: ansible all -i inventory.ini -m setup -a "filter=ansible_memtotal_mb"
Question No : 5
Use copy module to transfer a config file to managed nodes.
正解: ansible all -i inventory.ini -m copy -a "src=./httpd.conf dest=/etc/httpd/conf/httpd.conf" --become
Question No : 6
Change the ownership of a directory using Ansible.
正解: ansible all -i inventory.ini -m file -a "path=/var/www/html owner=apache group=apache state=directory" -- become
Question No : 7
Create a new group using Ansible ad-hoc.
正解: ansible all -i inventory.ini -m group -a "name=developers state=present" --become
Question No : 8
Check free disk space on all managed hosts using an ad-hoc command.
正解: ansible all -i inventory.ini -a "df -h"
Question No : 9
Use lineinfile to modify /etc/ssh/sshd_config on all nodes.
正解: ansible all -i inventory.ini -m lineinfile -a "path=/etc/ssh/sshd_config regexp='^PermitRootLogin' line='PermitRootLogin no'" --become
Question No : 10
Use Ansible to install multiple packages on a host.
正解: ansible all -i inventory.ini -m dnf -a "name=httpd,git,nano state=present" --become
Question No : 11
Run a task to restart the sshd service on all nodes.
正解: ansible all -i inventory.ini -m service -a "name=sshd state=restarted" --become
Question No : 12
Use a hosts file with child groups.
正解:
Question No : 13
Add host-specific variables in an INI inventory.
正解:
Question No : 14
Create an inventory using YAML format.
正解:
Question No : 15
Create a simple INI-based static inventory with two hosts and test connection.
正解: