MCD-Level-1認定ガイドPDFは100%カバー率でリアル試験問題が使える [Q116-Q131]

Share

MCD-Level-1認定ガイドPDFは100%カバー率でリアル試験問題が使える

合格させるMCD-Level-1試験にはリアル問題解答


MuleSoft MCD-Level-1(MuleSoft Certified Developer-Level 1(Mule 4))認定試験は、Mule 4を使用する開発者のスキルと知識をテストする包括的な試験です。この認定試験は、Mule 4を始めたばかりでテクノロジーの強固な基盤を築きたい開発者や、Mule 4での専門的なスキルを証明し、スキルに対する認識を得たい経験豊富な開発者に適しています。

 

質問 # 116
Refer to the exhibits.


The Validation component in the Try scope throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

  • A. Error - Try scope
  • B. Success - main flow
  • C. Validation Error
  • D. Error - main flow

正解:B

解説:
Note that private flow has error scope defined as On Error Continue . So when error occurs in private flow , it is handled by this On Error Continue scope which sends success response back to main flow and does not throw back an error. So main continues normally and payload is set to Success - main flow.
Hence correct answer is Success - main flow
1) HTTP listener received request
2) The Flow Reference calls the child flow
3) The Is Number validator creates an Error Object because the payload isn't an integer. Child Flow execution stops
#[error.description] = "payload is not a valid INTEGER value"
#[error.errorType] = VALIDATION:INVALID_NUMBER
4) The On Error Continue handles the errorThe payload is set to "Error - Sub Flow"
5) "Error - Sub Flow" is returned to the main flow as if the child flow was a success. The Set Payload is executed. The payload is reset to "Success - Finished Main Flow"
6) "Success - Main Flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200 As you can see, in the above example, because the error was caught by an On Error Continue scope in the child flow (RED in, GREEN out) when the Mule Message returns to the parent flow, the parent flow knows none-the-different that there was a failure because the on error continue returns a 200 success message. Note that because, to the mainFlow, the childFlow appeared to succeed, the processing of mainFlow resumed after the flow reference.


質問 # 117
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
A)

B)

C)

D)

  • A. Option D
  • B. Option B
  • C. Option C
  • D. Option A

正解:A


質問 # 118
Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?

  • A. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
  • B. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
  • C. addltem( { price: "100", item: "router", itemType: "cable" } )
  • D. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )

正解:D


質問 # 119
Refer to the exhibits.

What is written to the records.csv file when the flow executes?

  • A. An error message
  • B. The payload convert to CVS
  • C. Nothing
  • D. The JSON payload

正解:D


質問 # 120
A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?

  • A. #["Content-Type: " + attributes.headers.'content-type']
  • B. #["Content-Type: " ++ headers.'content-type']
  • C. #["Content-Type: " ++ attributes.headers.'content-type']
  • D. #["Content-Type: " + headers.'content-type']

正解:C

解説:
Option 1 is the only correct choice due to two reasons. 1) Concatenation is always with ++ sign and not with + sign which makes option 2 and 3 wrong 2) hearders can be accessed with attributes. headers and not with only headers which makes option 4 incorrect


質問 # 121
Refer to the exhibit.

How many private flows does APIKIT generate from the RAML specification?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:C


質問 # 122
Refer to the exhibits.

The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?

  • A. The year is #[payload.year]'
  • B. '#[The year is $(pay load .year)]*
  • C. #["The year is "++ payload.year].
  • D. '#[The year is " + paytoad.year]'

正解:C


質問 # 123
Which of the following is invalid type of event processor which can be used as a router ?

  • A. Choice
  • B. First Successful
  • C. Round Robin
  • D. Pick First

正解:D

解説:
Pick First is not valid type. Rest all are valid type of event processor.
Choice : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept Round Robin : https://docs.mulesoft.com/mule-runtime/4.3/round-robin First Successful : https://docs.mulesoft.com/mule-runtime/4.3/first-successful


質問 # 124
Refer to the exhibits.


The Validation component in the Try scope throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

  • A. Error - Try scope
  • B. Error - main flow
  • C. Success - main flow
  • D. Validation Error

正解:D


質問 # 125
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)

B)

C)

D)

  • A. Option D
  • B. Option B
  • C. Option A
  • D. Option C

正解:C


質問 # 126
Refer to the exhibits.

The main flow contains a Flow Reference to the child flow.
A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.
What values are accessible in the child flow?

  • A. payload
  • B. payload
    make query param model var
  • C. payload
    model var
  • D. payload
    make query param

正解:B


質問 # 127
Refer to the exhibit.

What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?

  • A. #[ if(payload == "US") ]
  • B. #[ payload == 'US' J
  • C. #[ if(payload = 'US') J
  • D. 0#[ payload = 'US' ]

正解:B

解説:
Option 1 is the correct syntax


質問 # 128
Refer to the exhibits.


The main flow contains a Flow Reference component configured to call the child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?

  • A. The payload
  • B. The payload and all variables
  • C. The payload and all attributes
  • D. The entire Mule event

正解:B


質問 # 129
In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?

  • A. The other APIs must be updated to consume the updated product API
  • B. The applications associated with the other APIs must be recoded
  • C. The applications associated with the other APIs must be restarted
  • D. Nothing needs to be changed in the other APIs or their associated applications

正解:D


質問 # 130
Refer to the exhibits.


A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?

  • A. Response body: "Success - Begin* Default response status code: 200
  • B. Error response body: error, description Default error response status code: 500
  • C. Response body: "Error" Default response status code: 200
  • D. Response body: "Success - End" Default response status code: 200

正解:C


質問 # 131
......

100%無料MCD-Level-1日常練習試験には226問があります:https://www.goshiken.com/MuleSoft/MCD-Level-1-mondaishu.html