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 4 Question 38 Discussion

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

Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Malcom
1 months ago
I tried to use the 'register' keyword to store the results of my dance moves, but Ansible just thought I was a terrible dancer.
upvoted 0 times
Raymon
23 hours ago
C) output
upvoted 0 times
...
Paris
5 days ago
B) return
upvoted 0 times
...
Felicia
29 days ago
A) register
upvoted 0 times
...
...
Vicente
2 months ago
As an Ansible expert, I can say with confidence that the correct answer is A) register. It's a fundamental Ansible concept.
upvoted 0 times
Hui
2 days ago
I always use register to store task results in Ansible playbooks.
upvoted 0 times
...
Moira
9 days ago
I agree, the correct answer is A) register.
upvoted 0 times
...
Jaime
17 days ago
Close, but the correct answer is A) register.
upvoted 0 times
...
Jackie
25 days ago
D) result
upvoted 0 times
...
Diane
30 days ago
No, the correct answer is A) register, not E) set_fact.
upvoted 0 times
...
Kathryn
1 months ago
E) set_fact
upvoted 0 times
...
Jerlene
1 months ago
That's correct! A) register is used to store the result of a task in a variable.
upvoted 0 times
...
Andra
1 months ago
A) register
upvoted 0 times
...
...
Cordell
2 months ago
Hmm, I'm leaning towards D) result. Seems like a logical choice, but I could be wrong.
upvoted 0 times
Jacquelyne
27 days ago
Interesting choice, let's wait for more responses to see the consensus.
upvoted 0 times
...
Catrice
1 months ago
That's a good choice, but let's see what others think.
upvoted 0 times
...
...
Carla
2 months ago
I'm pretty sure it's E) set_fact. That's the keyword we use in Ansible to create and assign values to variables.
upvoted 0 times
...
Ligia
2 months ago
I think the answer is A) register. It's a well-known Ansible keyword for storing task results in variables.
upvoted 0 times
...
Darci
2 months ago
I agree with Cyril, A) register is the correct keyword to store task results in Ansible playbooks.
upvoted 0 times
...
Cyril
2 months ago
I think it's A) register because that's how you store task results in Ansible playbooks.
upvoted 0 times
...
Cathrine
2 months ago
A) register
upvoted 0 times
...

Save Cancel