無料でゲット!2022年最新の有効な練習MuleSoft Certified Developer MCD-Level-1問題と解答でテストエンジン [Q79-Q97]

Share

無料でゲット!最新の2022年最新の有効な練習MuleSoft Certified Developer MCD-Level-1問題と解答でテストエンジン

MCD-Level-1問題集PDFで100%合格保証付き

質問 79
Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

  • A. createCustomerObject( { first: "Alice", last: "Green" > )
  • B. lookupC createCustomerObJect( "Alice", "Green- ) )
  • C. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
  • D. createCustomerObject( "Alice", "Green")

正解: C

 

質問 80
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 the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
  • B. In Anypoint Studio, from components generated by APIkit for the API specification
  • C. In Anypoint Studio, from components generated by Rest Connect for API specification
  • D. In Runtime Manager, from the properties tab of the deployed approved API proxy

正解: A

解説:
* 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

 

質問 81
Refer to the exhibit.

This RAML specification includes a resource and method to retrieve accounts by account_type and industry.
What is the correct URI to get all retail finance accounts?

  • A. /accounts/retail/finance
  • B. /accounts?account_type=retail&industry=finance
  • C. /accounts/account_type=retail/industry=finance
  • D. /accounts?account_type:retail&industry:finance

正解: B

解説:
Correct answer is /accounts?account_type=retail&industry=finance

 

質問 82
Refer to the exhibits.

The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

  • A. [''D", "E"]
  • B. [ "A", "C, "D", "E" ]
  • C. [ ["A", "C", "D" ], ["E"] ]
  • D. [''E'']

正解: C

 

質問 83
Refer to the exhibit.

What expression correctly specifies input parameters to pass the city and state values to the SQL query?
A)

B)

C)

D)

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

正解: D

 

質問 84
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to
http://local:801/order?color=red?

  • A. payload color query param
  • B. payload
  • C. payload quantity var
  • D. payload quantity var color query param

正解: C

 

質問 85
Refer to the exhibit.
The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.
What is the next step to fix the error to get the project to run successfully?

  • A. Add the dependency to the MULE_HOME/bin folder
  • B. Edit the dependency in the Mule project's pom.xml file
  • C. Deploy the dependency to MuleSoft's Maven repository
  • D. Install the dependency to the computer's local Maven repository

正解: D

 

質問 86
According to MuleSoft. what is the first step to create a Modern API?

  • A. Create an API specification and get feedback from stakeholders
  • B. Performance tune and optimize the backend systems and network
  • C. Create a prototype of the API implementation
  • D. Gather a list of requirements to secure the API

正解: A

 

質問 87
A Mule application configured with Autodiscovery implements an API.
Where is governance enforced for policies defined for this Mule application?

  • A. Runtime Manager
  • B. In API manager
  • C. In the Mule application
  • D. In Runtime Manager

正解: B

解説:
Correct answer is API manager

 

質問 88
Refer to the exhibits.



The Batch Job scope contains two Batch Steps scopes with different accept expression.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?

  • A. 1. {amount=140}
    2. {amount=102}
    3. {step2amount=100}
    4. {step2amount=140}
  • B. 1. {amount=140}
    2. {amount=102}
    3. {step2amount=100}
    4. {step2amount=40}
  • C. 1. {amount=140}
    2. {amount=102}
    3. {step2amount=100}
    4. {step2amount=140}
  • D. 1. {amount=140}
    2. {amount=102}
    3. {step2amount=100}

正解: C

解説:
5. {step2amount=102}
Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for this batch step are 100 , 140 and 102 (last two values have been updated in batch step less than 50) As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is

{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}

 

質問 89
Refer to the exhibit.

What Database expression transforms the input to the output?
A)

B)

C)

D)

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

正解: C

 

質問 90
Refer to the exhibits. What payload is logged at the end of the main flow?

  • A. order1order2order3order4
  • B. [1, 2, 3, 4]
  • C. [order1, order2, order3, order4]
  • D. order4

正解: B

 

質問 91
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. 0
  • B. The database response
  • C. "none"
  • D. The entire CSV file

正解: A

 

質問 92
Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work successfully?


  • A. Change the protocol attribute value to "HTTPS"
  • B. Change the allowed method attributes value to "POST"
  • C. Change the method attribute value to "*"
  • D. Change the path attribute value to "/api/ship"

正解: B

解説:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)

 

質問 93
Refer to the below exhibit. A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.
What is the valid properties placeholder file to set these values?

  • A. 1. http:
    2. host = "localhost"
    3. port = "8081"
  • B. 1. http:
    2. basepath: "api"
    3. host : "localhost"
    4. port : "8081"
    (Correct)
  • C. 1. {
    2. http:
    3. basePath: "api",
    4. port: "8081",
    5. host: " localhost"
  • D. 1. http.host = localhost
    2. http.port = 8081

正解: B

解説:
Correct answer is as below as it follows the correct syntax
http:
basepath: "api"
host : "localhost"
port : "8081"

 

質問 94
A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.
What would be valid RAML to use these fragments ?

  • A. 1. #%RAML 1.0
    2. title: Books
    3. types:
    4. Book: ABC/Examples/bookDataType.raml
    5. /books:
    6. post:
    7. body:
    8. application/json:
    9. type: Book
    10. examples:
    11. input: ABC/Examples/bookExample.raml
    12. responses:
    13. 201:
    14. body:
    15. application/json:
    16. example:
    17. message: Book added
  • B. 1. #%RAML 1.0
    2. title: Books
    3. Book: bookDataType.raml
    4. /books:
    5. post:
    6. body:
    7. application/json:
    8. type: Book
    9. examples:
    10. input: bookExample.raml
    11. responses:
    12. 201:
    13. body:
    14. application/json:
    15. example:
    16. message: Book added
  • C. 1. #%RAML 1.0
    2. title: Books
    3. Book: bookDataType.raml
    4. /books:
    5. post:
    6. body:
    7. application/json:
    8. type: Book
    9. examples:
    10. input: bookExample.raml
    11. responses:
    12. 201:
    13. body:
    14. application/json:
    15. example:
    16. message: Book added
  • D. 1. #%RAML 1.0
    2. title: Books
    3. Book: !include bookDataType.raml
    4. /books:
    5. post:
    6. body:
    7. application/json:
    8. type: Book
    9. examples:
    10. input: !include bookExample.raml
    11. responses:
    12. 201:
    13. body:
    14. application/json:
    15. example:
    16. message: Book added

正解: B

解説:
* RAML file contains lot of information that could be considered as "not API-describing". Sort of "economy-class" members.
Equally important, but not necessarily part of the main RAML file.
* Through !includes, RAML allows us to build file-distributed API definitions, which is not only useful to encourage code reuse but also improves readability.
* We can create RAML fragments with such code and then include them in main RAML project using !include like:
types:
Book: !include bookDataType.raml and
examples:
input: !include bookExample.raml
* Additionally for
---------------------------------------------------------------------------------------------------------------------------------------- Correct answer: D

 

質問 95
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?

  • A. Publish the API specification to Any point Exchange
  • B. Add the specification to a Mule project's src/main/resources/api folder
  • C. Download the API specification and build the interface using APIkit
  • D. Implement the API specification using flow designer in Design Center

正解: A

 

質問 96
Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?

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

正解: D

 

質問 97
......

MCD-Level-1ブレーン問題集リアル試験最新問題2022年02月28日には210問題:https://www.passtest.jp/MuleSoft/MCD-Level-1-shiken.html