Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 701-100 Topic 3 Question 88 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 88
Topic #: 3
[All 701-100 Questions]

An Ansible variable file contains the following content:

myapp:

option1: one

Which of the following strings can be used to reference the defined variable? (Choose two correct answers).

Show Suggested Answer Hide Answer
Suggested Answer: A, E

Contribute your Thoughts:

Tambra
5 days ago
I'm not sure about E) myapp{{option1}}, it looks like it might have a syntax error. I would go with C) and D) as well.
upvoted 0 times
...
Avery
6 days ago
I agree with Lovetta, those options make sense because they follow the correct syntax for referencing variables in Ansible.
upvoted 0 times
...
Lovetta
13 days ago
I think the correct answers are C) myapp['option1'] and D) myapp.option1
upvoted 0 times
...

Save Cancel