nerdexam
Cisco

200-901 · Question #241

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/ngi

Sign in or unlock 200-901 to reveal the answer and full explanation for question #241. The question stem and answer options stay visible for context.

Infrastructure and Automation

Question

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?

Exhibit

200-901 question #241 exhibit

Options

  • Acreating a new file based on template.conf in the /etc/nginx/sites_enabled directory for each line
  • Bcreating a file per each line in sites.txt with the information in template.conf, creating a link for the
  • Cusing the content of the file to create the template.conf file, creating a link from the created file to
  • Dusing the information in the file to create a set of empty files in the /etc/nginx/sites_enabled

Unlock 200-901 to see the answer

You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Nginx Configuration#Bash Scripting#Automation#Server Configuration
Full 200-901 Practice