Free EX294 pdf Files With Updated and Accurate Dumps Training [Q10-Q31]

Share

Free EX294 pdf Files With Updated and Accurate Dumps Training

Top-Class EX294 Question Answers Study Guide

NEW QUESTION 10
Create a playbook that changes the default target on all nodes to multi-user tarqet. Do this in playbook file called target.yml in /home/sandy/ansible

  • A. - name: change default target
    hosts: all
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link
  • B. - name: change default target
    hosts: all
    tasks:
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link

Answer: B

 

NEW QUESTION 11
Create a file in /home/sandy/ansible/ called report.yml. Using this playbook, get a file called report.txt (make it look exactly as below). Copy this file over to all remote hosts at /root/report.txt. Then edit the lines in the file to provide the real information of the hosts. If a disk does not exist then write NONE.

  • A. Solution as:

  • B. Solution as:

Answer: A

 

NEW QUESTION 12
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.

  • A. Option

    /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
  • B. Option

    /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

Answer: B

 

NEW QUESTION 13
Create an empty encrypted file called myvault.yml in /home/sandy/ansible and set the password to notsafepw. Rekey the password to iwejfj2331.

  • A. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2331 Confirm password: iwejfj2221
  • B. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2221 Confirm password: iwejfj2221

Answer: B

 

NEW QUESTION 14
Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.
All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.

  • A. ansible-playbook users.yml -vault-password-file=secret.txt
  • B. ansible-playbook users.yml -vault-password-file=secret.txt

Answer: A

 

NEW QUESTION 15
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"

  • A. Solution as:
  • B. Solution as:

Answer: B

 

NEW QUESTION 16
Create a file called specs.empty in home/bob/ansible on the local machine as follows:
HOST=
MEMORY=
BIOS=
VDA_DISK_SIZE=
VDB_DISK_SIZE=
Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path /root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect the appropriate ansible facts.

  • A. Solution as:
  • B. Solution as:

Answer: A

 

NEW QUESTION 17
Create a playbook called timesvnc.yml in /home/sandy/ansible using rhel system role timesync. Set the time to use currently configured nip with the server 0.uk.pool.ntp.org. Enable burst. Do this on all hosts.

  • A. Solution as:
  • B. Solution as:

Answer: B

 

NEW QUESTION 18
......


RedHat EX294 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Create an instruction manual to configure the system for a specific situation
  • Learn to work with frequently used Ansible units
Topic 2
  • Create SSH keys and distribute them to managed nodes
  • Create and use static invariants to define host groups
Topic 3
  • Create simple shell scripts that run custom Ansible commands
  • Administrative work scenario
Topic 4
  • Create and configure file systems
  • User and group management
  • Security management
Topic 5
  • To protect sensitive data, use Ansible Vault in the user guide
  • Take advantage of additional enhancements
Topic 6
  • Features Use system modules that work with Software package and storage, Firewall rules, storage devices, Users and groups
Topic 7
  • Create a simple script
  • Configure error handling
  • Working with roles
  • Download and use roles from Ansible Galaxy
Topic 8
  • Configure local storage
  • Operating system

 

Real Updated EX294 Questions & Answers Pass Your Exam Easily: https://www.examdumpsvce.com/EX294-valid-exam-dumps.html

Easily To Pass New EX294 Verified & Correct Answers: https://drive.google.com/open?id=1pG4li2RS2O3q9QBJxbgiqDPoEW5_KQwC