無料MuleSoft MCD-Level-1テスト練習問題試験問題集
試験準備には欠かさない!トップクラスのMuleSoft MCD-Level-1試験最新版アプリ学習ガイドで練習
質問 # 87
Refer to the exhibits.

The Batch job processes an array of strings.
What information is logged by the logger component after the batch job scope completes processing of the input payload?
- A. Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["a", "b", "c"] - B. Total Records Processed: 3
Successful Records: 3
Failed Records: 0 - C. ["A","B","C"]
- D. Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["A","B","C"]
正解:B
解説:
Correct answer is as below. On complete phase only has access to batch job result statistics and payload is not available.
Total Records Processed: 3
Successful Records: 3
Failed Records: 0
Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept#on-complete
質問 # 88
Refer to the exhibits.

The Batch Job scope processes the array of strings
After the Batch Job scope completes processing the input payload what information is logged by the Logger component?
A)
B)
C)
D)
- A. Option D
- B. Option B
- C. Option A
- D. Option C
正解:D
質問 # 89
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?
- A. Select the Include project modules and dependencies option only
- B. Select both Attach Project Sources and Include project modules and dependencies option
- C. Select only Attach Project Sources only
- D. De-select both Attach Project Sources and Include project modules and dependencies option
正解:C
解説:
Correct answer is Select only Attach Project Sources only
You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace.
Deselect the Include project modules and dependencies option.
This option skips bundling the actual modules and external dependencies required to run the Mule application in a Mule runtime engine, creating a lightweight JAR file package that does not include any dependencies specified in the Mule application's pom.xml file.
The generated JAR file is not a functional deployable archive and cannot be deployed to a Mule runtime engine, but instead offers a way to archive only the source files that make up the Mule application. This is the same as using the -lightWeightPackage flag when packaging using the Mule Maven Plugin and is useful if you want to distribute your project to other Studio installations because it only keeps a reference to all its dependencies. When you import a lightweight package into Studio, all your dependencies are automatically downloaded MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.8/import-export-packages
質問 # 90
Refer to the exhibit.
The Mule application Is debugged in Any point Studio and stops at the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?
- A. "Processing"
- B. 0
- C. Complete"
- D. "Start"
正解:D
質問 # 91
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 B
- B. Option C
- C. Option A
- D. Option D
正解:D
質問 # 92
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. "End"
- C. "Start"
- D. "String is not blank"
正解:D
解説:
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.
質問 # 93
Refer to the exhibits.
Each route in the Scatter-Gather sets the payload to the number shown in the label. What response is returned to a web client request to the HTTP Listener?
A)
B)
C)
D)
- A. Option B
- B. Option C
- C. Option A
- D. Option D
正解:D
質問 # 94
Refer to the exhibit.
What should be changed to fix the 415 error?
- A. set the request Content-Type header to text/plain
- B. Set the request Content-Type header to application/] son
- C. set the response Content-Type header to text/plain
- D. set the response Content-Type header to application/json
正解:B
質問 # 95
Refer to the exhibits.

The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?
- A. #[ company = "MuleSoft" ]
- B. #[ if( company = "MuleSoft") ]
- C. #[ if( 'MuleSoff == payload.company) ]
- D. #['MuleSoft' == paytoad.company]
正解:D
質問 # 96
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A. Option D
- B. Option B
- C. Option A
- D. Option C
正解:D
質問 # 97
A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090 The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?
- A. The HTTP Listener is listening on port 8081
- B. The HTTP Listener is listening on port 80
- C. The HTTP Listener is listening on port 9090
- D. The HTTP Listener failed to bind to the port and is not listening for connections
正解:A
解説:
Cloudhub expose services on port 8081 and override value in http.port with this one .
Sample log in Runtime Manager is below
21:15:53.148 08/08/2021 Worker-0 ArtifactDeployer.start.01 INFO
Listening for connections on 'http://0.0.0.0:8081'
質問 # 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. {customerlD}
- C. #[customerlD]
- D. ${ customerID}
正解:B
質問 # 99
Which of the below functionality is provided by zip operator in DataWeave?
- A. Used for sending attachments
- B. All of the above
- C. Minimize the size of long text using encoding.
- D. Merges elements of two lists (arrays) into a single list
正解:D
解説:
Correct answer is Merges elements of two lists (arrays) into a single list MuleSoft Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions-zip
質問 # 100
Refer to the exhibits. What payload is logged at the end of the main flow?
- A. order1order2order3order4
- B. [1, 2, 3, 4]
- C. order4
- D. [order1, order2, order3, order4]
正解:B
質問 # 101
Refer to the exhibit.
A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?
- A. Mule event
- B. Mule message payload
- C. Mule message
- D. Mule message attributes
正解:C
質問 # 102
Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the Logger component?
- A. "Array"
- B. "CaselnsensitrveHashMap"
- C. "Object"
- D. "LinkedHashMap"
正解:D
質問 # 103
Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
- A. The city is + #[payload.City]
- B. #["The city is" ++ payload.City]
- C. The city is #[payload.City]
- D. #[The city is ${payload.City}
正解:C
解説:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this option will not print the space between is and city name. This will print The city isPune
質問 # 104
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. 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 - B. 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 - 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. 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
正解:A
解説:
* 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
質問 # 105
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. APP: API RESOURCE NOT FOUND
- B. other error
- C. HTTP: NOT FOUND
- D. success - main flow
正解:A
解説:
Correct answer is APP: API RESOURCE NOT FOUND
---------------------------------------------------------------------------------------------------------------------------------------------------
1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.
4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500 Reference Diagram:
質問 # 106
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. MuleSoft Support Center
- B. Center of Excellence
- C. Central API Review Board
- D. Center for Enablement
正解:D
解説:
Reference:
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
質問 # 107
Which keyword do you use to create a new function in DataWeave?
- A. map
- B. func
- C. function
- D. fun
正解:D
解説:
You can define your own DataWeave functions using the fun declaration in the header of a DataWeave script. Sample is as below. ----------------------------------------
%dw 2.0
output application/json
fun toUpper(aString) = upper(aString)
---
toUpper("hello")
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/dataweave-functions
質問 # 108
......
今すぐMCD-Level-1問題を使おうMCD-Level-1問題集PDF:https://jp.fast2test.com/MCD-Level-1-premium-file.html