exam questions

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 45 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 45
Topic #: 1
[All MCD - Level 1 Questions]

A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?

  • A. #[value]
  • B. #[vars]
  • C. #[var]
  • D. #[values]
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
6 months, 2 weeks ago
Selected Answer: B
#[vars.{nameOfVaraible}] Example: #[vars.myVar] => returns the value of myVar.
upvoted 1 times
...
ilya_tsy
1 year, 10 months ago
Selected Answer: B
vars is correct
upvoted 1 times
...
sirious09
1 year, 11 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
RahulJain464
1 year, 11 months ago
Selected Answer: B
it is B. Vars
upvoted 1 times
...
Esquerdo
1 year, 11 months ago
Selected Answer: B
vars. letter b
upvoted 1 times
...
b_muley
2 years, 2 months ago
Selected Answer: B
Try it out in Studio :) It's vars, so "B"
upvoted 1 times
...
Empire
2 years, 4 months ago
Selected Answer: B
OPTION "B" IS CORRECT.
upvoted 1 times
...
Igors78
2 years, 4 months ago
Selected Answer: B
Mule4 -> vars
upvoted 1 times
...
Aquaworm
2 years, 5 months ago
Selected Answer: B
https://docs.mulesoft.com/dataweave/2.4/dataweave-variables-context vars All variables currently set on the current Mule event being processed. Fields: No fields. Example: #[vars.myVar] returns the value of myVar.
upvoted 2 times
...
Aquaworm
2 years, 5 months ago
Selected Answer: C
https://docs.mulesoft.com/dataweave/2.4/dataweave-variables
upvoted 1 times
Sephyre1988
2 years, 2 months ago
var in that case is a reserved keyword from JAVA
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago