お手軽MCD-Level-1問題集PDFのベスト問題集を使おう!高得点目指すならここ [Q36-Q53]

Share

お手軽MCD-Level-1問題集PDFのベスト問題集を使おう!高得点目指すならここ

MuleSoft Certified Developer MCD-Level-1試験と認定テストエンジン

質問 36
Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request payload.
2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow What is the straightforward way to properly configure the Set Payload transformer with the required data?


A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

  • A. 1. 1. {
    2. 2. orderkey: "payload.order",
    3. 3. addresskey: "address"
    4. }
  • B. 1. 1. {
    2. 2. orderkey: "attributes.shippingaddress.order",
    3. 3. addresskey: "payload"
    4. }
  • C. 1. 1. {
    2. 2. orderkey: "attributes.order",
    3. 3. addresskey: "vars.address"
    4. }
  • D. 1. 1. {
    2. 2. orderkey: "payload.order",
    3. 3. addresskey: "vars.address"
    4. 4. }

正解: D

解説:
Correct answer is as below. In this case address will be stored in a variable. Hence payload will not be overwritten and will contain order details
{
orderkey: "payload.order",
addresskey: "vars.address"
}

 

質問 37
Refer to the exhibits.


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

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

正解: C

 

質問 38
Refer to the exhibits.

In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.
That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.
What is the payload at the Logger component after the HTTP Request?

  • A. A non-empty Java object
  • B. The returned JSON response
  • C. null
  • D. The original XML payload

正解: D

 

質問 39
An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.
What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

  • A. Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager
  • B. Register the same API implementation in Runtime Manager to connect to API Manager
  • C. Modify the API implementation to use auto-discovery to register with API Manager
  • D. Upload the Mule application's JAR file to the API instance in API Manager

正解: D

 

質問 40
What is the purpose of the api:router element in APIkit?

  • A. Validates responses returned from API requests and routes them back to the caller
  • B. Creates native connectors using a 3rd party Java library
  • C. Serves as an API implementation
  • D. Validates requests against RAML API specifications and routes them to API implementations

正解: D

解説:
The APIkit Router is a key message processor that validates requests against the provided definition, enriches messages (for example by adding default values to the messages) and routes requests to a particular flow. Also, the Router raises errors messages if errors occurs while routing, validating or processing the user request.

 

質問 41
Refer to the exhibits.

How many private flows does APIKIt generate from RAML specification?

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

正解: B

解説:
APIKIt Creates a separate flow for each HTTP method. Hence 4 private flows would be generated.
MuleSoft Documentation Referrence : https://docs.mulesoft.com/mule-runtime/4.3/build-application-from-api

 

質問 42
A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?
A)

B)

C)

D)

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

正解: A

 

質問 43
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. Error response body: error, description Default error response status code: 500
  • B. Response body: "Success - End" Default response status code: 200
  • C. Response body: "Error" Default response status code: 200
  • D. Response body: "Success - Begin* Default response status code: 200

正解: C

解説:
Correct answer: Response body: "Error" Default response status code: 200.
-------------------------------------------------------------------------------------------------------------------------------------------------
1) Payload is successfully set to "Success - Started Flow"
2) When HTTP Request throws an error, execution halts
#[error.description] = "ABC"
#[error.errorType] = "XYZ"
3) The On Error Continue scope handles the error. When On Error Continue scope is invoked, all the processors in error block are executed and success response is sent back to the client with payload which is set in error flow. In this case payload is set to "Error" value in error block.
4) "Error" is returned to the requestor in the body of the HTTP request with HTTP Status Code: 200 as On error continue always sends success error code.
Reference Diagram:

 

質問 44
Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?

A)

B)

C)

D)

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

正解: D

 

質問 45
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?

  • A. Center of Excellence
  • B. MuleSoft Support Center
  • C. Central API Review Board
  • D. Center for Enablement

正解: D

解説:
Center for Enablement is correct answer .It is a cross-functional team typically staffed with members from central IT, line-of-business departments, and digital innovation teams charged with productizing, publishing, and harvesting reusable assets and best practices. In this case , app team would have checked first with Center for Enablement before developing their own API's. Hence could have avoided re-work

 

質問 46
A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

  • A. Mule event
  • B. Mule event attributes
  • C. Mule event message
  • D. Mule application properties

正解: A

解説:
Mule event is correct answer. Mule event has two parts which are as follows
1) Message (which contains payload and attributes like headers and query/uri parameters
2) Variables

 

質問 47
Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.
What is the minimum number of global elements that must be defined to support all these HTTP Listeners?

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

正解: C

解説:
In this case three configurations will be required each for port 8000, 6000 and 7000.
There would be three global elements defined for HTTP connections.
Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000

 

質問 48
Which of the below activity doesn't support parallel execution?

  • A. Scatter-Gather Router
  • B. Batch job
  • C. Parallel For Each
  • D. First Successful Router

正解: C

解説:
The First Successful router iterates through a list of configured processing routes until one of the routes executes successfully. This is sequential execution. In all other options mentioned in the question ,we can achieve parallel execution.

 

質問 49
What is output of Dataweave flatten function?

  • A. Map
  • B. Object
  • C. LInkedHashMap
  • D. Array
    (Correct)

正解: D

解説:
Correct answer is Array.
Flatten turns a set of subarrays (such as [ [1,2,3], [4,5,[6]], [], [null] ]) into a single, flattened array (such as [ 1, 2, 3, 4, 5, [6], null ]).
This example defines three arrays of numbers, creates another array containing those three arrays, and then uses the flatten function to convert the array of arrays into a single array with all values.
Source
%dw 2.0
output application/json
var array1 = [1,2,3]
var array2 = [4,5,6]
var array3 = [7,8,9]
var arrayOfArrays = [array1, array2, array3]
---
flatten(arrayOfArrays)
Output
[ 1,2,3,4,5,6,7,8,9 ]

 

質問 50
Refer to the exhibits.


A Mule application contains a Choice router. What is logged when the flow completes?

  • A. US
  • B. ["US", "EU"]
  • C. EU
  • D. "REGION"

正解: A

 

質問 51
A web client submits a request to http://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.
What is the DataWeave expression to access booklSBN later in the flow?

  • A. flowVars.booklSBN
  • B. attributes.booklSBN
  • C. vars. booklSBN
  • D. booklSBN

正解: C

 

質問 52
Refer to the exhibits.


A Mule application contains a Choice router. What is logged when the flow completes?

  • A. ["US", "EU"]
  • B. EU
  • C. "REGION"
  • D. US

正解: B

 

質問 53
......

無料提供中のMCD-Level-1試験問題集で(2022年最新のPDF問題集)信頼度の高いMCD-Level-1テストエンジン:https://www.goshiken.com/MuleSoft/MCD-Level-1-mondaishu.html