CompTIA
LX0-104 · Question #217
LX0-104 Question #217: Real Exam Question with Answer & Explanation
Sign in or unlock LX0-104 to reveal the answer and full explanation for question #217. The question stem and answer options stay visible for context.
Question
What is the syntax error in the following simple Puppet configuration file? class test_class { file { "/tmp/test.txt": mode => 600, owner => root, group => root } } # Define the node node testclient { isa test_class }
Options
- AComments begin with // character and not a #.
- BThe colon (:) after /tmp/test.txt should be a semicolon (;).
- Cclass, node and file sections require a semicolon (;) at the end of their definitions.
- Disa should be include.
Unlock LX0-104 to see the answer
You've previewed enough free LX0-104 questions. Unlock LX0-104 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.