LPI
117-303 · Question #27
117-303 Question #27: Real Exam Question with Answer & Explanation
Sign in or unlock 117-303 to reveal the answer and full explanation for question #27. 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 117-303 to see the answer
You've previewed enough free 117-303 questions. Unlock 117-303 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.