Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
2 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
9 days ago
C) output
upvoted 0 times
...
Paris
12 days ago
B) return
upvoted 0 times
...
Felicia
1 months 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
Domingo
9 hours ago
Thanks for confirming, I'll remember to use register in my playbooks.
upvoted 0 times
...
Nieves
3 days ago
Register is definitely the keyword used to store task results.
upvoted 0 times
...
Hui
9 days ago
I always use register to store task results in Ansible playbooks.
upvoted 0 times
...
Moira
16 days ago
I agree, the correct answer is A) register.
upvoted 0 times
...
Jaime
25 days ago
Close, but the correct answer is A) register.
upvoted 0 times
...
Jackie
1 months ago
D) result
upvoted 0 times
...
Diane
1 months 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
2 months ago
That's correct! A) register is used to store the result of a task in a variable.
upvoted 0 times
...
Andra
2 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
1 months 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77