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

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 8 Question 41 Discussion

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?
A) { port : p('db.port')}
B) { port : {db:port}}
C) { port : p['db.port']}
D) Application property cannot be accessed in Dataweave

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 8 Question 41 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 41
Topic #: 8
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

Show Suggested Answer Hide Answer
Suggested Answer: A

Option 1 is the correct syntax


Contribute your Thoughts:

0/2000 characters
Chantell
3 days ago
C has a good structure, but I still prefer A.
upvoted 0 times
...
Na
8 days ago
A is definitely the best choice. It’s clear and straightforward.
upvoted 0 times
...
Johnathon
13 days ago
D seems plausible, but I believe we can access it.
upvoted 0 times
...
Moon
18 days ago
I'm leaning towards C. The syntax seems right.
upvoted 0 times
...
Lashawnda
23 days ago
I think it's A. It looks correct to me.
upvoted 0 times
...
Sol
29 days ago
I’m leaning towards B, but I’m not sure about the syntax.
upvoted 0 times
...
Ardella
1 month ago
A is definitely the way to go. It matches the requirement.
upvoted 0 times
...
Pete
1 month ago
I agree with C. Using brackets feels more intuitive.
upvoted 0 times
...
Rolande
1 month ago
Option D is interesting, but I believe we can access properties.
upvoted 0 times
...
Romana
2 months ago
I prefer option C. The syntax seems clearer.
upvoted 0 times
...
Teddy
2 months ago
I think option A is correct. It looks right to me.
upvoted 0 times
...
Mary
2 months ago
D) sounds plausible, but I feel like I'm missing something.
upvoted 0 times
...
Bobbie
2 months ago
Wait, can we really access app properties in Dataweave?
upvoted 0 times
...
Cecily
2 months ago
A) seems off, isn't it?
upvoted 0 times
...
Dortha
4 months ago
Definitely agree with C!
upvoted 0 times
...
Gabriele
4 months ago
I think it's C) { port : p['db.port']}
upvoted 0 times
...
Denise
5 months ago
I thought application properties couldn't be accessed directly in Dataweave, so D might be the right answer.
upvoted 0 times
...
Mozell
5 months ago
I feel like I saw a similar question in practice, and it was about using curly braces. Could it be B?
upvoted 0 times
...
Elza
5 months ago
I'm not entirely sure, but I remember something about using square brackets for accessing properties, which makes me lean towards C.
upvoted 0 times
...
Virgina
5 months ago
I think the expression to access application properties in Dataweave is usually with the `p()` function, so maybe it's A?
upvoted 0 times
...

Save Cancel