Free EX407 Exam Braindumps (page: 6)

Page 6 of 26

Which of the following are valid flags for the ansible-playbook command? (Choose all that apply.)

  1. --include-tags
  2. --tags
  3. --skip-tags
  4. --tag

Answer(s): B,C

Explanation:

The --skip-tags flag allows specification of tags to identify specific plays for Ansible to skip.



Consider the following play excerpt:

- name: deploy app config
template:
src: app.xml.j2
dest: /etc/app.xml
notify:

- restart memcached
- restart apache
- name: deploy httpd config

template:
src: httpd.conf.j2
dest: /etc/httpd/conf/httpd.conf
notify:

- restart apache
- name: deploy httpd config

template:
src: site.conf.j2
dest: /etc/httpd/conf/site.conf
notify:

- restart apache

Presuming all of the listed tasks in the play change the files they act on and the handler is correctly defined in another file, how many times is the "restart apache" handler ran?

  1. 3
  2. 0
  3. 2
  4. 1

Answer(s): D

Explanation:

As long as at least one change is made that calls the restart apache handler, it will be run once.



Consider the following playbook.
---
- hosts: web1
become: yes

tasks:
- name: use yum
yum:
name=httpd
state=latest

- name: use service
service:
name=httpd
state=started
enabled=yes

- hosts: media1
become: yes

tasks:
- name: use service
service:
name=mariadb
state=started

when:
- ansible_hostname == "web1"
- name: use service
service:
name=firewalld
state=stopped

What service is started on the host media1?

  1. mariadb
  2. httpd
  3. firewalld
  4. No service is started on media1.

Answer(s): D

Explanation:

While there is a service module call that will start mariadb, it will never run due to the always false condition attached to that task.



What module is used to deploy a template?

  1. File
  2. Copy
  3. Template
  4. Deploy

Answer(s): B

Explanation:

The template module is designed to process and deploy template files.



Page 6 of 26



Post your Comments and Discuss RedHat EX407 exam with other Community members:

marco commented on December 07, 2024
i cant imagine
Anonymous
upvote

Felicia Simley commented on December 07, 2024
i cant download the premium version.. what to do please?
Anonymous
upvote

Felicia Simley commented on December 07, 2024
great questions on this one
Anonymous
upvote

The Magic Beans commented on December 07, 2024
Passed the exam - these questions are similar to the ones in the exam (some of these questions are very similar to the ones in the exam but there were questions in the exam way complicated than this). One of the labs (question 77) in these questions came up in my exam. The questions in the exam are tricky make sure you understand each concept in the exam objectives.
UNITED STATES
upvote

Asma commented on December 07, 2024
It would be better to have an explanation while revealing the solution
Anonymous
upvote

sly commented on December 07, 2024
@ The Magic Beans what was your exam outcome>
Anonymous
upvote

Zjanri commented on December 07, 2024
This is a good training platform.
Anonymous
upvote

Felicia Simley commented on December 07, 2024
great questions
Anonymous
upvote

Rohan commented on December 07, 2024
Really appreciate thanks, I cleared my exam today
Anonymous
upvote

Manraj commented on December 07, 2024
helpful and similar to exam
Anonymous
upvote

The Magic Beans commented on December 06, 2024
Taking my exam tomorrow Dec 7 / 2024 I will let you know if this questions are similar
UNITED STATES
upvote

Runner009 commented on December 06, 2024
The best money I have ever spent! It literally has all the real exam questions.
UNITED STATES
upvote

Dahamram commented on December 06, 2024
This new version of the exam is pretty tricky. You can tell by going over these questions. I really had no chance of passing if I had not used this exam dump. Questions are pretty valid as of this week.
Anonymous
upvote

Ravendra commented on December 06, 2024
Purchased the full version of this exam dump in PDF with the 50% sale on Black Friday. Got 2 exam for the price of one. Today I sat for this exam and as soon as I saw the first questions I was about to jump out of my seat. The questions are word by word the same. Got 98% in my result. Very happy.
UNITED STATES
upvote

Anand commented on December 06, 2024
Nice questions
UNITED STATES
upvote

Ajit Kumar Vishwakarma commented on December 06, 2024
I want to attend PSE certification; please guide me
Anonymous
upvote

Sangeeta commented on December 06, 2024
Want to attempt pd1 exam
UNITED STATES
upvote

yemane commented on December 06, 2024
Good for exam preparation
Anonymous
upvote

Ramya commented on December 05, 2024
Preparing for snowflake certificate
Anonymous
upvote

Casandra commented on December 05, 2024
Do not book your exam if you don't know the topics and the questions. The test is super duper hard and almost impossible to pass without knowing the questions.
EUROPEAN UNION
upvote

Andi commented on December 05, 2024
Superb no queson
POLAND
upvote

diego commented on December 05, 2024
se ve muy bien
Anonymous
upvote

Carlson Kelvin commented on December 05, 2024
Hope to my exam soon
Anonymous
upvote

ANNONYMOUS commented on December 05, 2024
The questions are quite helpful
Anonymous
upvote

Zary commented on December 05, 2024
Good information
KOREA REPUBLIC OF
upvote

Zari commented on December 05, 2024
Very useful
KOREA REPUBLIC OF
upvote

Mohamed commented on December 05, 2024
It is not free
Anonymous
upvote

Michelle commented on December 04, 2024
Great study material
Anonymous
upvote

Michelle commented on December 04, 2024
Excited about learning more through my studies
Anonymous
upvote

Michelle commented on December 04, 2024
This information has really helped me .
Anonymous
upvote

Michelle commented on December 04, 2024
Great material to get you prepared for the test
Anonymous
upvote

Joseph commented on December 04, 2024
VERY HELPFUL TO ME
Anonymous
upvote

Hassan commented on December 04, 2024
Really its very good
Anonymous
upvote

Aey commented on December 04, 2024
It's verv good?
THAILAND
upvote