Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX294 Exam - Topic 5 Question 17 Discussion

Create a playbook called balance.yml as follows:* The playbook contains a play that runs on hosts in balancers host group and usesthe balancer role.--> This role configures a service to loadbalance webserver requests between hostsin the webservers host group.curl--> When implemented, browsing to hosts in the balancers host group (for exampleWelcome to node3.example.com on 192.168.10.z--> Reloading the browser should return output from the alternate web server:Welcome to node4.example.com on 192.168.10.a* The playbook contains a play that runs on hosts in webservers host group and usesthe phphello role.--> When implemented, browsing to hosts in the webservers host group with the URL /hello.php should produce the following output:Hello PHP World from FQDN--> where FQDN is the fully qualified domain name of the host. For example,Hello PHP World from node3.example.comfollowing output:Hello PHP World from node4.example.com
A) Explanation: Solution as: # pwd /home/admin/ansible/ # vim balancer.yml --- - name: Including phphello role hosts: webservers roles: - ./roles/phphello - name: Including balancer role hosts: balancer roles: - ./roles/balancer :wq! # ansible-playbook balancer.yml --syntax-check # ansible-playbook balancer.yml

RedHat EX294 Exam - Topic 5 Question 17 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 17
Topic #: 5
[All EX294 Questions]

Create a playbook called balance.yml as follows:

* The playbook contains a play that runs on hosts in balancers host group and uses

the balancer role.

--> This role configures a service to loadbalance webserver requests between hosts

in the webservers host group.curl

--> When implemented, browsing to hosts in the balancers host group (for example

Welcome to node3.example.com on 192.168.10.z

--> Reloading the browser should return output from the alternate web server:

Welcome to node4.example.com on 192.168.10.a

* The playbook contains a play that runs on hosts in webservers host group and uses

the phphello role.

--> When implemented, browsing to hosts in the webservers host group with the URL /

hello.php should produce the following output:

Hello PHP World from FQDN

--> where FQDN is the fully qualified domain name of the host. For example,

Hello PHP World from node3.example.com

following output:

Hello PHP World from node4.example.com

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Darell
8 months ago
The syntax seems off, double-check the roles path.
upvoted 0 times
...
Casie
8 months ago
Nice, but what if one of the servers goes down?
upvoted 0 times
...
Brunilda
9 months ago
Wait, does it really switch between nodes like that?
upvoted 0 times
...
Hortencia
9 months ago
Totally agree, looks straightforward!
upvoted 0 times
...
Monte
9 months ago
This playbook runs on balancers and webservers groups.
upvoted 0 times
...
Chau
9 months ago
I think I need to use the correct host groups, but I’m not entirely sure if "balancers" and "webservers" are defined correctly in my inventory.
upvoted 0 times
...
Gracia
9 months ago
I believe the output for the webservers should include the FQDN, but I'm a bit confused about how to format that in the playbook.
upvoted 0 times
...
Bette
9 months ago
I practiced a similar question where I had to set up roles, but I can't recall if I need to specify the path for the roles in this case.
upvoted 0 times
...
Rickie
9 months ago
I think I remember that the playbook needs to define both plays for the balancers and webservers, but I'm not sure about the exact syntax for the roles.
upvoted 0 times
...
Lilli
9 months ago
I'm leaning towards C since it's the most concise and directly addresses the need for shoppers to complete purchases without disruption. The wording feels a bit more natural than A.
upvoted 0 times
...
Elenora
10 months ago
I'm confident the answer is C - case. The question is clearly asking about tracking customer issues, and a case is the best way to do that in Dynamics 365 Customer Service.
upvoted 0 times
...

Save Cancel