Red Hat Certified Specialist in Security: Linux exam 試験
最終更新日: 2026/10/09 収録内容確認済 | PDF問題集: 全 103 問収録
【仕様案内】:EX415 問題集(PDF版)は日本語版&英語版の2言語セットに対応しております(日本語版が準備中の科目は英語版を即時ダウンロードのうえ、日本語版は準備完了次第ご登録メールへ自動送付いたします)。
本ページでは問題集の無料サンプル問題を公開しており、出題形式や現在の理解度を確認することができます。
全103問を収録したPDF版は、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.
正解: