ベストな準備プランMCD-Level-1試験2023年最新のMuleSoft Certified Developer無制限226問題 [Q91-Q108]

Share

ベストな準備プランMCD-Level-1試験2023年最新のMuleSoft Certified Developer無制限226問題

注目すべき時短になるMCD-Level-1オールインワン試験ガイド

質問 # 91
Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?


  • A. white
  • B. blue
  • C. Error message
  • D. red

正解:A

解説:
Correct answer is white.
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null
5) Payload returned in main flow is white.
6) So finally output of logger is white


質問 # 92
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

  • A. Error is ignored
  • B. All processing of the batch job stops.
  • C. Batch is retried
  • D. Event processing continues to the next batch step.

正解:B

解説:
In case of an error , batch job completes in flight steps and stops further processing.
MuleSoft Doc Ref : Handling Errors During Batch Job | MuleSoft Documentation The default is all processing will stop but we can change it by Max Failed Record field.
General -> Max Failed Records: Mule has three options for handling a record-level error: Finish processing, Continue processing and Continue processing until the batch job accumulates a maximum number of failed records. This behavior can be controlled by Max Failed Records.
The default value is Zero which corresponds to Finish processing.
The value -1, corresponds to Continue processing.
The value +ve integer, corresponds to Continue processing until the batch job accumulates a maximum number of failed records


質問 # 93
Refer to the exhibit.


The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?''
What response message is returned?

  • A. HTTP: NOT FOUND
  • B. success - main flow
  • C. other error
  • D. APP: API RESOURCE NOT FOUND

正解:D


質問 # 94
Refer
to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?

  • A. Set a header In the Consume operation equal to the destination query parameter
  • B. set a SOAP payload before the Consume operation that contains the destination query parameter
  • C. set a JSON payload before the Consume operation that contains the destination query parameter
  • D. set a property m the Consume operation equal to the destination query parameter

正解:B


質問 # 95
Refer to the exhibit.

What should be changed to fix the 415 error?

  • A. Set the request Content-Type header to ap pi I cation/] son
  • B. set the response Content-Type header to text/plain
  • C. set the request Content-Type header to text/plain
  • D. set the response Content-Type header to application/json

正解:A


質問 # 96
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

  • A. Configure the correct database name
  • B. Configure the correct host URL
  • C. Configure the correct JDBC driver
  • D. Configure the correct table name

正解:C

解説:
Correct answer is Configure the correct JDBC driver as error message suggests the same Caused by: java.sql.SQLException: Error trying to load driver: com.mysql.jdbc.Driver : Cannot load class 'com.mysql.jdbc.Driver': [ Class 'com.mysql.jdbc.Driver' has no package mapping for region 'domain/default/app/mule_app'., Cannot load class 'com.mysql.jdbc.Driver': [


質問 # 97
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?

  • A. ""
  • B. "String is not blank"
  • C. "End"
  • D. "Start"

正解:B

解説:
1. Set Payload "Start"
2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank"
3. Default Error Handler catches and Propagates error
4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description]
-------------------------------------------------------------------------------------------------------------------------- Correct answer is String is not blank. Because validation component will throw an error as payload is not blank.


質問 # 98
Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?

  • A. #[customerlD]
  • B. ${ customerID}
  • C. (customerlD)
  • D. {customerlD}

正解:D


質問 # 99
An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.
An SLA- based policy is enabled in API manager for this API instance.
Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

  • A. In Anypoint Studio, from components generated by Rest Connect for API specification
  • B. In Runtime Manager, from the properties tab of the deployed approved API proxy
  • C. In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
  • D. In Anypoint Studio, from components generated by APIkit for the API specification

正解:C

解説:
* When a client application is registered in Anypoint Platform, a pair of credentials consisting of a client ID and client secret is generated.
* When the client application requests access to an API, a contract is created between the application and that API.
* An API that is protected with a Client ID Enforcement policy is accessible only to applications that have an approved contract.
--------------------------------------------------------------------------------------------------------------------------------------------- Correct answer: In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy


質問 # 100
Refer to the exhibits.


Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

  • A. vars."customer"."firstName"
  • B. vars."customer.firstName"
  • C. customer.firstName
  • D. firstName

正解:A

解説:
Correct answer is vars."customer"."firstName"
Please you can also access firstName using this syntax vars.customer.firstName.


質問 # 101
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( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
  • B. addltem( { price: "100", item: "router", itemType: "cable" } )
  • C. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
  • D. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )

正解:A


質問 # 102
What is the object type returned by the File List operation?

  • A. Array of Mule event objects
  • B. Array of String file names
  • C. Object of Mule event objects
  • D. Object of String file names

正解:A

解説:
The List operation returns an array of messages in which: Each message holds the file's content in its payload. The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.


質問 # 103
Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.
What is the payload shown in the debugger at this breakpoint?

  • A. The database response
  • B. "none"
  • C. The entire CSV file
  • D. 0

正解:D


質問 # 104
What asset cannot be created using Design Center?

  • A. API fragments
  • B. API portals
  • C. Mule Applications
  • D. API specifications

正解:B

解説:
API portal are created by API Exchange and cannot be created by Design Center


質問 # 105
Refer to the exhibit.

What is the response to a web client request to http://localhost:8081?

  • A. Validation Error
  • B. before
  • C. After
  • D. null

正解:A

解説:


質問 # 106
Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?

  • A. Set a header In the Consume operation equal to the destination query parameter
  • B. set a SOAP payload before the Consume operation that contains the destination query parameter
  • C. set a JSON payload before the Consume operation that contains the destination query parameter
  • D. set a property m the Consume operation equal to the destination query parameter

正解:B

解説:
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter


質問 # 107
What module and operation will throw an error if a Mule events payload is not number ?

  • A. None of these
  • B. Validation modules Is not Number operation
  • C. Filter modules Is Number operation
  • D. Validation modules Is Number operation

正解:D

解説:
Correct answer is Validation modules Is Number operation.
Mule 4 does not use filters anymore. The functionality provided by filters in Mule 3 can be achieved by using the Validation Module.


質問 # 108
......

合格保証付きMCD-Level-1問題集:https://www.goshiken.com/MuleSoft/MCD-Level-1-mondaishu.html