ExamGecko
Question list
Search
Search

Question 123 - 200-901 discussion

Report
Export

Refer to the exhibit. An engineer must configure a load balancer server. The engineer prepares a script to automate workflow by using Bash. The script installs the nginx package, moves to the /opt/nginx directory, and reads the sites.txt file for further processing. Based on the script workflow, which process is being automated within the loop by using the information in sites.txt?

A.

creating a file per each line in sites.txt with the information in template.conf, creating a link for the previously created file, and then changing the ownership of the created files

Answers
A.

creating a file per each line in sites.txt with the information in template.conf, creating a link for the previously created file, and then changing the ownership of the created files

B.

using the content of the file to create the template.conf file, creating a link from the created file to the /etc/nginx/sites_enabled, and then changing the file execution permissions

Answers
B.

using the content of the file to create the template.conf file, creating a link from the created file to the /etc/nginx/sites_enabled, and then changing the file execution permissions

C.

creating a new file based on template.conf in the /etc/nginx/sites_enabled directory for each line in the sites.txt file, and then changing the file execution permissions

Answers
C.

creating a new file based on template.conf in the /etc/nginx/sites_enabled directory for each line in the sites.txt file, and then changing the file execution permissions

D.

using the information in the file to create a set of empty files in the /etc/nginx/sites_enabled directory, and then assigning the owner of the file

Answers
D.

using the information in the file to create a set of empty files in the /etc/nginx/sites_enabled directory, and then assigning the owner of the file

Suggested answer: A
asked 07/10/2024
Van Raoul Datuin
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first