RedHat EX407考題 : Red Hat Certified Specialist in Ansible Automation Exam

考試編碼: EX407

考試名稱: Red Hat Certified Specialist in Ansible Automation Exam

更新時間: Sep 11, 2026

問題數量: 42 題

已經選擇購買:“PDF
價格:$59.98 

RedHat EX407考題介紹

光看書,很難感受正式考試的時間壓力。KaoGuTi 的 EX407 模擬試題重現 RedHat Red Hat Certified Specialist in Ansible Automation 的真實考試環境,42 道題目讓你在上場前完整演練一遍。

RedHat EX407 考試概覽:

認證廠商:Red Hat
考試名稱:紅帽認證專家:Ansible 自動化
考試代碼:EX407
考試時間:240 分鐘
支援語言:English
考試形式:實作導向 / 動手操作
相關認證:紅帽認證架構師(RHCA)
紅帽認證工程師:Ansible 專長(RHCE,透過 EX294 考試取得)
紅帽認證系統管理員(RHCSA)
範例考題:RedHatEX407考題
考試方式:可於紅帽授權考試中心現場應考,或參加遠端監考的實作型考試。
必備條件:紅帽建議具備 Ansible Automation Platform 操作經驗以及 Red Hat Enterprise Linux 系統管理能力。建議擁有 RHCSA 認證或同等經驗,惟非強制要求。另建議修習「Ansible 自動化」(DO407)課程。
官方大綱網址:https://www.redhat.com/en/services/training/ex407-red-hat-certified-specialist-in-ansible-automation-exam

RedHat EX407 考試大綱主題:

章節目標
Ansible 自動化核心技能- 主機清單管理
  • 1. 主機與群組變數
  • 2. 靜態與動態主機清單
- 劇本與任務
  • 1. 編寫 Ansible 劇本
  • 2. 迴圈、條件判斷與處理程序
自動化任務執行- 執行劇本
  • 1. 使用選項執行劇本
  • 2. 處理輸出結果與錯誤
角色與重複使用性- 角色開發
  • 1. 角色相依性
  • 2. 建立與使用角色
組態設定與部署- 模組運用
  • 1. 範本與變數使用
  • 2. Ansible 核心模組應用
- 臨時性自動化作業
  • 1. 使用臨時指令腳本實現自動化
  • 2. 執行 Ansible 臨時指令

RedHat Red Hat Certified Specialist in Ansible Automation 考試常見問題解答

EX407 是由 Red Hat 推出的認證考試,正式名稱為「紅帽認證專家:Ansible 自動化」,通過後即可取得 Red Hat Certified Specialist 認證。此認證屬於 專家級 等級,主要用來驗證考生在相關技術領域的專業能力,對求職與升遷都有實質幫助。與本考試相關的認證還包括 紅帽認證系統管理員(RHCSA)、紅帽認證工程師:Ansible 專長(RHCE,透過 EX294 考試取得)、紅帽認證架構師(RHCA),可依個人職涯規劃逐步進修。若你正準備報考 EX407,KaoGuTi 的練習題能幫助你更快掌握考試重點。

紅帽建議具備 Ansible Automation Platform 操作經驗以及 Red Hat Enterprise Linux 系統管理能力。建議擁有 RHCSA 認證或同等經驗,惟非強制要求。另建議修習「Ansible 自動化」(DO407)課程。 報考條件可能隨官方政策調整,建議報名前再到 RedHat 官方考試頁面 確認最新規定,以免錯過任何變更。

可以。KaoGuTi 提供 EX407 免費範例試題(Free PDF Demo),內容取自正式題庫,下載後即可實際檢視題目與答案解析的品質,滿意再購買。購買正式版後享有 365 天免費更新,題庫內容會隨考綱調整同步修訂;365 天到期後如需繼續更新,還可享有 50% 的續更折扣。

KaoGuTi 提供退款保證:購買後 60 天內參加 EX407 對應考試而未通過,可申請全額退款。申請時需提交報名證明(准考證/enrollment slip)複印件與官方成績單(Score Report)PDF,並於考後 2 天內提出,我們會在 7 天內處理完成。請注意,購買後 3 天內即參加考試、已下載但未實際應考、免費資料與過期訂單均不適用退款保證,且考生姓名須與付款人姓名一致。若不想退款,也可以選擇免費更換為兩個等值考試資料,並保留原購產品的更新服務。

交付方面,付款完成後系統會在一分鐘內將產品下載連結寄至你的電子郵件信箱,可立即下載開始準備;若 2 小時內未收到,請聯絡客服協助處理。產品不限制安裝的電腦數量,桌機、筆電都能自由使用。

EX407 考試大綱共分為 4 個主要領域,包括:

  • Ansible 自動化核心技能(佔比未公布)
  • 角色與重複使用性(佔比未公布)
  • 自動化任務執行(佔比未公布)

完整的大綱內容與各領域細項,請參考本頁上方的考試大綱區塊,建議逐條對照自己的熟悉程度,安排複習的優先順序。

最新的 Red Hat Certified Specialist EX407 免費考試真題:

問題 #1

===================================================================================
control.realmX.example.com _ workstation.lab.example.com
node1.realmX.example.com _ servera.lab.example.com
node2.realmX.example.com _ serverb.lab.example.com
node3.realmX.example.com _ serverc.lab.example.com
node4.realmX.example.com _ serverd.lab.example.com
node5.realmX.example.com
- username:root, password:redhat
- username:admin, password:redhat
note1. don't change 'root' or 'admin' password.
note2. no need to create ssh-keygen for access, its pre-defined
note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts.
Create a playbook called hwreport.yml that produces an output file called /root/
hwreport.txt on all managed nodes with the following information:
------------------------------------------------------------------------------------------------------
--> Inventory host name
--> Total memory in MB
--> BIOS version
--> Size of disk device vda
--> Size of disk device vdb
Each line of the output file contains a single key-value pair.
* Your playbook should:
--> Download the file hwreport.empty from the URL http://classroom.example.com/
hwreport.empty and
save it as /root/hwreport.txt
--> Modify with the correct values.
note: If a hardware item does not exist, the associated value should be set to NONE
----------------------------------------------------------------------------------------------
while practising you to create these file hear. But in exam have to download as per
questation.
hwreport.txt file consists.
my_sys=hostname
my_BIOS=biosversion
my_MEMORY=memory
my_vda=vdasize
my_vdb=vdbsize

答案:

Solution as:
# pwd
/home/admin/ansible
# vim hwreport.yml
- name:
hosts: all
ignore_errors: yes
tasks:
- name: download file
get_url:
url: http://classroom.example.com/content/ex407/hwreport.empty
dest: /root/hwreport.txt
- name: vdasize
replace:
regexp: "vdasize"
replace: "{{ ansible_facts.devices.vda.size }}"
dest: /root/hwreport.txt
register: op1
- debug:
var: op1
- name: none
replace:
regexp: "vdasize"
replace: NONE
dest: /root/hwreport.txt
when:
op1.failed == true
- name: vdbsize
replace:
regexp: "vdbsize"
replace: "{{ ansible_facts.devices.vdb.size }}"
dest: /root/hwreport.txt
register: op2
- debug:
var: op2
- name: none
replace:
regexp: "vdbsize"
replace: NONE
dest: /root/hwreport.txt
when:
op2.failed == true
- name: sysinfo
replace:
regexp: "{{item.src}}"
replace: "{{item.dest}}"
dest: /root/hwreport.txt
loop:
- src: "hostname"
dest: "{{ ansible_facts.fqdn }}"
- src: "biosversion"
dest: "{{ ansible_facts.bios_version }}"
- src: "memory"
dest: "{{ ansible_facts.memtotal_mb }}"
:wq!
# ansible-playbook hwreport.yml --syntax-check
# ansible-playbook hwreport.yml

問題 #2

===================================================================================
control.realmX.example.com _ workstation.lab.example.com
node1.realmX.example.com _ servera.lab.example.com
node2.realmX.example.com _ serverb.lab.example.com
node3.realmX.example.com _ serverc.lab.example.com
node4.realmX.example.com _ serverd.lab.example.com
node5.realmX.example.com
- username:root, password:redhat
- username:admin, password:redhat
note1. don't change 'root' or 'admin' password.
note2. no need to create ssh-keygen for access, its pre-defined
note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts.
Create user accounts
------------------------
--> A list of users to be created can be found in the file called user_list.yml
which you should download from http://classroom.example.com/user_list.yml and
save to /home/admin/ansible/
--> Using the password vault created elsewhere in this exam, create a playbook called
create_user.yml
that creates user accounts as follows:
--> Users with a job description of developer should be:
--> created on managed nodes in the "dev" and "test" host groups assigned the
password from the "dev_pass"
variable and these user should be member of supplementary group "devops".
--> Users with a job description of manager should be:
--> created on managed nodes in the "prod" host group assigned the password from
the "mgr_pass" variable
and these user should be member of supplementary group "opsmgr"
--> Passwords should use the "SHA512" hash format. Your playbook should work using
the vault password file
created elsewhere in this exam.
while practising you to create these file hear. But in exam have to download as per
questation.
user_list.yml file consist:
---
user:
- name: user1
job: developer
- name: user2
job: manager

答案:

Solution as:
# pwd
/home/admin/ansible
# wget http://classroom.example.com/user_list.yml
# cat user_list.yml
# vim create_user.yml
---
- name:
hosts: all
vars_files:
- ./user_list.yml
- ./vault.yml
tasks:
- name: creating groups
group:
name: "{{ item }}"
state: present
loop:
- devops
- opsmgr
- name: creating user
user:
name: "{{ item.name }}"
state: present
groups: devops
password: "{{ dev_pass|password_hash ('sha512') }}"
loop: "{{ user }}"
when: (inventory_hostname in groups['dev'] or inventory_hostname in
groups['test']) and item.job == "developer"
- name: creating user
user:
name: "{{ item.name }}"
state: present
groups: opsmgr
password: "{{ mgr_pass|password_hash ('sha512') }}"
loop: "{{ user }}"
when: inventory_hostname in groups['prod'] and item.job == "manager"
:wq!
# ansible-playbook create_user.yml --vault-password-file=password.txt --syntax-check
# ansible-playbook create_user.yml --vault-password-file=password.txt

問題 #3

Create a playbook called issue.yml in /home/sandy/ansible which changes the file /etc/issue on all managed nodes: If host is a member of (lev then write "Development" If host is a member of test then write "Test" If host is a member of prod then write "Production"

答案:

Solution as:

問題 #4

Create a role called sample-apache in /home/sandy/ansible/roles that enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template called index.html.j2 which creates and serves a message from /var/www/html/index.html Whenever the content of the file changes, restart the webserver service.
Welcome to [FQDN] on [IP]
Replace the FQDN with the fully qualified domain name and IP with the ip address of the node using ansible facts. Lastly, create a playbook in /home/sandy/ansible/ called apache.yml and use the role to serve the index file on webserver hosts.

答案:

/home/sandy/ansible/apache.yml

/home/sandy/ansible/roles/sample-apache/tasks/main.yml

/home/sandy/ansible/roles/sample-apache/templates/index.html.j2

In /home/sandy/ansible/roles/sample-apache/handlers/main.yml

問題 #5

===================================================================================
control.realmX.example.com _ workstation.lab.example.com
node1.realmX.example.com _ servera.lab.example.com
node2.realmX.example.com _ serverb.lab.example.com
node3.realmX.example.com _ serverc.lab.example.com
node4.realmX.example.com _ serverd.lab.example.com
node5.realmX.example.com
- username:root, password:redhat
- username:admin, password:redhat
note1. don't change 'root' or 'admin' password.
note2. no need to create ssh-keygen for access, its pre-defined
note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts.
Rekey an existing Ansible vault as follows:
-----------------------------------------------
* Download Ansible vault from http:// classroom.example.com /secret.yml to /home/
admin/ansible/
* The current vault password is curabete
* The new vault password is newvare
* The vault remains in an encrypted state with the new password

答案:

Solution as:
# pwd
/home/admin/ansible/
# wget http://classroom.example.com/secret.yml
# chmod 0600 newpassword.txt
# ansible-vault rekey vault.yml --new-vault-password-file=newpassword.txt

1182 位客戶反饋客戶反饋 (* 一些類似或舊的評論已被隱藏)

218.255.211.* - 

非常感謝 KaoGuTi 網站,我已经成功地通过 EX407 考试,KaoGuTi給我的帮助很大,這樣的考试題庫是值得擁有的。

83.152.78.* - 

今天我通過了EX407考試,你們的考古題很不錯,并且價格也很適合,下次考試,我還會用你們的題庫。

123.51.165.* - 

我使用了你們網站提供的學習指南,真的很有用,我成功的通過了我的EX407考試。

213.250.30.* - 

我購買了KaoGuTi網站的考試題庫,很開心,我的EX407考試通過了,因為大多數考題和你們的題庫一樣。

101.102.137.* - 

在我第一次考試失敗之后,我在Google看到了這家網站,然后買了你們的題庫做練習用,后來讓我很意外的是,大多數問題都在考試中派上了用場,通過了考試,獲得了不錯的分數。

108.7.220.* - 

我只花了一周的時間,就通過了 EX407 考試,里面的問題全部來自 KaoGuTi 考古題,除了一些小的改動。

211.22.145.* - 

使用你們的題庫我順利通過了EX407考試,謝謝你們很有效的題庫和不錯的售后服務。

139.216.101.* - 

我的父母正為我感到驕傲,因為我第一次成功的通過了 EX407 考試。你們的題庫是真的有用的。

100.35.52.* - 

已經通過了RedHat EX407考試,KaoGuTi網站的題庫是很亦幫助的,大多數的考試問題都來自于你們的題庫。

1.34.199.* - 

我使用這考古題,為我的EX407考試做準備,最后我通過了!

120.124.131.* - 

我不但通過了 EX407 考試,還取得了很高的分數。大部分的考題都來自 KaoGuTi 網站的考試題庫,在你們的幫助下我才能順利的通過我的考試,謝謝!

222.168.31.* - 

這個考試題庫是非常有用的,我的EX407考試順利的通過了。

202.106.251.* - 

謝謝你們的資料,我已經順利通過了EX407考試,題目覆蓋率非常高,是真的不錯!

114.25.48.* - 

非常有幫助,你們的考古題是很不錯的學習指南,我把我的EX407考試通過了。

124.93.196.* - 

KaoGuTi網站的EX407題庫是最新版本,很好用,我已经用它通过了考试。

223.141.97.* - 

最近從 KaoGuTi 網站購買的 EX407 考試指南真的是有用的,我順利通過了 EX407 考試,還取得了很好的分數。

209.66.98.* - 

這個考試題庫是非常有用的,我的EX407考試順利的通過了。

222.222.253.* - 

今天,我成功的通過了我的 EX407 考試,感謝你們提供的幫助,很幸運,你們的考題是100%有用的,考試中的大多數問題都來自你們的考題。

發表評論

您的電子郵件地址不會被公開。 必填的地方已做標記*

KaoGuTi 題庫的優勢

專業認證

Kaoguti.com模擬測試題具有最高的專業技術含量,只供具有相關專業知識的專家和學者學習和研究之用。

品質保證

該測試已取得試題持有者和第三方的授權,我們深信IT業的專業人員和經理人有能力保證被授權産品的質量。

輕松通過

如果妳使用Kaoguti.com題庫,您參加考試我們保證96%以上的通過率,壹次不過,退還購買費用!

免費試用

Kaoguti.com提供每種産品免費測試。在您決定購買之前,請試用DEMO,檢測可能存在的問題及試題質量和適用性。

我們的客戶

amazon
centurylink
charter
comcast
bofa
timewarner
verizon
vodafone
xfinity
earthlink
marriot