Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX294 Topic 4 Question 51 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 51
Topic #: 4
[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

http://node5.example.com) should produce the following output:

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,

browsing to http://node3.example.com/hello.php, should produce the following output:

Hello PHP World from node3.example.com

* Similarly, browsing to http://node4.example.com/hello.php, should produce the

following output:

Hello PHP World from node4.example.com

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Raylene
2 months ago
Haha, 'Welcome to node3.example.com on 192.168.10.z'? I hope the actual IP address is a little more specific than that!
upvoted 0 times
Flo
4 days ago
User 4: That's a good idea, we should update the playbook to show the exact IP.
upvoted 0 times
...
Tanesha
5 days ago
User 3: Maybe we can customize it to display the specific IP address.
upvoted 0 times
...
Raylene
23 days ago
User 2: I agree, it would be better if it showed the actual IP address.
upvoted 0 times
...
Svetlana
1 months ago
User 2
upvoted 0 times
...
Rebbecca
1 months ago
User 1: Yeah, that output seems a bit generic.
upvoted 0 times
...
Major
1 months ago
User 1
upvoted 0 times
...
...
Alishia
2 months ago
I like the way the playbook is structured, with separate plays for the balancers and webservers. It makes it easy to understand the different components being configured.
upvoted 0 times
...
Minna
2 months ago
The playbook looks good, but I'm not sure about the name 'balance.yml'. Shouldn't it be 'balancer.yml' to match the role name?
upvoted 0 times
...
Yuki
2 months ago
And we have to use the balancer role for load balancing webserver requests.
upvoted 0 times
...
Wei
3 months ago
Yes, we need to include plays for both balancers and webservers host groups.
upvoted 0 times
...
Yuki
3 months ago
I think the question is asking us to create a playbook called balance.yml.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77