MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 80


Refer to the exhibits.

The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.

A web client sends a GET request to the main flow's HTTP Listener. The GET request includes query for the pedigree of a piano.

What values are accessible to the Logger component at the end of the main flow?

Show Answer
Correct Answer: C

In this scenario, the main flow involves several steps, including setting the payload, setting a variable, and making an HTTP POST request to the child flow. After the HTTP POST request is made, any query parameters from the original HTTP GET request would no longer be accessible because the HTTP POST request does not carry over the GET query parameters. The Logger component at the end of the main flow will have access to the payload set earlier in the flow and the producer variable that was explicitly set. Thus, the correct answer is the payload and the producer variable.

Discussion

9 comments
Sign in to comment
AaishOption: C
Mar 28, 2021

C is the correct answer, attributes are overwritten by HTTP request. So we dont have access to the query parameter at the logger component

Ella_Z
Sep 4, 2021

why it exclude the query param --- The GET request includes query for the pedigree of a piano.

aook002
Apr 28, 2024

Because this attributes are overwritten (in this case lost) from the HTTP GET request when the HTTP POST request in made.

AnsealOption: C
May 25, 2021

I agree with Aaish, C is correct.

almoraimaOption: D
Mar 27, 2021

D is correct

frediepulgosoOption: C
Feb 28, 2022

Es la C.

MaxroyoOption: C
Aug 26, 2022

C is correct

MaxroyoOption: C
Aug 29, 2022

C is correct

ExamDevOption: C
Jan 22, 2024

i vote for C

ExamDevOption: C
Jan 25, 2024

C. payload producer var

aook002Option: C
Apr 28, 2024

QueryParams from GET request, are overwritten when the POST request in made. In this case with no queryParams.