リアルなMCD-Level-1は100%カバー試験問題をゲット [2024年01月]
問題集まとめ概要はMCD-Level-1試験問題集はここ
質問 # 89
Refer to the exhibit.
What is the response to a web client request to
- A. before
- B. null
- C. Validation Error
- D. After
正解:C
解説:
質問 # 90
Refer to the exhibits.

A web client submits the request to the HTTP Listener. What response message would be returned to web client?
- A. String is not blank
- B. End
- C. Start
- D. No response would be sent back to client and request will get errored out in Mule
正解:A
解説:
Correct answer is String is not blank.
------------------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here:
1) Payload is successfully set to "Start"
2) The Is Blank String validator creates an Error Object because the payload is string "Start". Execution stops
#[error.description] = "String is not blank"
3) Because no error handler is defined, the Mule default error handler handles the error. Remember, at its heart, the Mule Default Error handler is an error handling scope with just an on error propagate
4) "String is not blank" is the error message returned to the requestor in the body of the HTTP requestHTTP Status Code: 500 Reference Diagram:
質問 # 91
Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
- A. 0
- B. 1
- C. 2
- D. 3
正解:B
質問 # 92
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. [ "A", "C, "D", "E" ]
- B. [''D", "E"]
- C. [''E'']
- D. [ ["A", "C", "D" ], ["E"] ]
正解:C
解説:
Logs would look like:
INFO 2021-06-09 19:14:56,039 [[MuleRuntime].uber.06: [validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor: validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1-9939-11eb-9f69-02053763653a] org.mule.runtime.core.internal.processor.LoggerMessageProcessor:
[
"\"A\"",
"\"C\"",
"\"D\""
]
--
INFO 2021-06-09 19:15:02,486 [[MuleRuntime].uber.06: [validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor: validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1-9939-11eb-9f69-02053763653a] org.mule.runtime.core.internal.processor.LoggerMessageProcessor: [
"\"E\""
]
Batch aggregator value is 3. Hence in first time it will print ["A", "C", "D"] and in next iteration it will print [ "E" ]
-------------------------------------------------------------------------------------------------------------------------------------------------- Correct answer is [ "E" ]
質問 # 93
A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?
- A. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. encryptString( "John Smith" ) - B. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. Utility::encryptString( "John Smith" ) - C. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. Utility.encryptString( "John Smith" ) - D. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. encryptString( "John Smith" )
正解:A
解説:
Correct answer is
%dw 2.0
output application/json
import modules::Utility
---
Utility::encryptString( "John Smith" )
DataWeave 2.0 functions are packaged in modules. Before you begin, note that DataWeave 2.0 is for Mule 4 apps. For Mule 3 apps, refer to DataWeave Operators in the Mule 3.9 documentation. For other Mule versions, you can use the version selector for the Mule Runtime table of contents.
Functions in the Core (dw::Core) module are imported automatically into your DataWeave scripts. To use other modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example:
import dw::core::Strings
import camelize, capitalize from dw::core::Strings
import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script. For example, this import directive does not identify any functions to import from the String module, so it calls the pluralize function like this: Strings::pluralize("box").
Transform
%dw 2.0
import dw::core::Strings
output application/json
---
{ 'plural': Strings::pluralize("box") }
質問 # 94
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. #[ if( company = "MuleSoft") ]
- B. #['MuleSoft' == paytoad'company']
- C. #[ if( 'MuleSoff == payload.company) ]
- D. #[ company = "MuleSoft" ]
正解:C
質問 # 95
An SLA based policy has been enabled in API Manager. What is the next step to configure the API proxy to enforce the new SLA policy?
- A. Add new environment variables and restart the API proxy
- B. Add new property placeholders and redeploy the API proxy
- C. Restart the API proxy to clear the API policy cache
- D. Add required headers to the RAML specification and redeploy the new API proxy
正解:D
解説:
Correct answer is Add required headers to RAML specification and redeploy new API proxy MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/tutorial-manage-an-api Steps are as below :
Add the Required RAML Snippet
SLA-based rate limiting requires adding a RAML or OAS snippet to your API. This procedure demonstrates adding a RAML snippet.
Specify the client ID and secret as query parameters.
Add a section called traits: at the RAML root level to define query parameters:
traits:
- client-id-required:
queryParameters:
client_id:
type: string
client_secret:
type: string
Add the client-id-required trait to every method that requires these query parameters:
/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.
Step 2 : Add the SLA Tier in API Manager
Step 3 : Apply the policy and redeploy
質問 # 96
Refer to the exhibit.
What DataWeave expression transforms the conductorlds array to the XML output?
A)
B)
C)
D)
- A. Option B
- B. Option C
- C. Option D
- D. Option A
正解:B
質問 # 97
Where is metadata stored in a Mule project
- A. Global Element
- B. Config.yaml file
- C. application-types.xml
- D. POM.xml file
正解:C
解説:
Metadata is stored in application-types.xml flle located under src/main/resources.
Mule 4 applications contain an application-types.xml file, which is where metadata around your data types is stored. For example, if you create a new CSV type, that metadata will be added to this file. This new file is easy to share, commit, and merge when conflicts arise, which enables you to do more metadata-driven development.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/intro-studio#metadata-storage
質問 # 98
Refer to the exhibits. What payload is logged at the end of the main flow?
- A. [order1, order2, order3, order4]
- B. order1order2order3order4
- C. order4
- D. [1, 2, 3, 4]
正解:C
質問 # 99
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( "Alice", "Green")
- B. lookupC createCustomerObJect( "Alice", "Green- ) )
- C. createCustomerObject( { first: "Alice", last: "Green" > )
- D. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
正解:D
質問 # 100
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
正解:B
質問 # 101
Refer to the exhibits.

A
web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?
- A. "string"
- B. "Java"
- C. "XML"
- D. "object"
正解:A
質問 # 102
Refer to the exhibit.
The main flow contains a Flow Reference for the child flow.
What
values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order?
color=red?
- A. payload
- B. payload
quantity var color query param - C. payload
quantity var - D. payload
color query param
正解:B
質問 # 103
Refer to the exhibits.

A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.
What response message is returned to the web client?
- A. "OTHER ERROR"
- B. ''FILE:CONNECnvnY'
- C. "File written"
- D. "ORDER:NOT_CREATED"
正解:D
質問 # 104
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the application log?
- A. Route2
- B. Route1,Route2,Default
- C. Route1,Route2
- D. Route1
正解:D
解説:
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route1 execution and the others are not checked. If none of the expressions are true, then the default route executes. Hence only Route1 will be executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route's execution and the others are not checked. If none of the expressions are true, then the default route executes.
質問 # 105
How would you debug Mule applications?
- A. Using debugger component
- B. By Deploying apps on production
- C. Checking RAML specifications
- D. Use third party debugger application
正解:A
解説:
Debugger can be used to debug applications to see event data movine from one flow to other
質問 # 106
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
質問 # 107
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 request Content-Type header to text/plain
- C. set the response Content-Type header to application/json
- D. set the response Content-Type header to text/plain
正解:A
質問 # 108
......
認定トレーニングはMCD-Level-1試験問題集テストエンジン:https://jp.fast2test.com/MCD-Level-1-premium-file.html