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?
Suggested Answer: A
Get Premium Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
Option 1 is the correct syntax
21 comments · newest first
PE
Peggy
1 month ago
I feel like A is the safest bet here.
CH
Chantell
2 months ago
C has a good structure, but I still prefer A.
NA
Na
2 months ago
A is definitely the best choice. It’s clear and straightforward.
JO
Johnathon
2 months ago
D seems plausible, but I believe we can access it.
MO
Moon
2 months ago
I'm leaning towards C. The syntax seems right.
LA
Lashawnda
2 months ago
I think it's A. It looks correct to me.
SO
Sol
2 months ago
I’m leaning towards B, but I’m not sure about the syntax.
AR
Ardella
3 months ago
A is definitely the way to go. It matches the requirement.
PE
Pete
3 months ago
I agree with C. Using brackets feels more intuitive.
RO
Rolande
3 months ago
Option D is interesting, but I believe we can access properties.
RO
Romana
3 months ago
I prefer option C. The syntax seems clearer.
TE
Teddy
3 months ago
I think option A is correct. It looks right to me.
MA
Mary
4 months ago
D) sounds plausible, but I feel like I'm missing something.
BO
Bobbie
4 months ago
Wait, can we really access app properties in Dataweave?
CE
Cecily
4 months ago
A) seems off, isn't it?
DO
Dortha
5 months ago
Definitely agree with C!
GA
Gabriele
6 months ago
I think it's C) { port : p['db.port']}
DE
Denise
6 months ago
I thought application properties couldn't be accessed directly in Dataweave, so D might be the right answer.
MO
Mozell
6 months ago
I feel like I saw a similar question in practice, and it was about using curly braces. Could it be B?
EL
Elza
6 months ago
I'm not entirely sure, but I remember something about using square brackets for accessing properties, which makes me lean towards C.
VI
Virgina
7 months ago
I think the expression to access application properties in Dataweave is usually with the `p()` function, so maybe it's A?