MCD – Level 1: MuleSoft Certified Developer – Level 1 (Mule 4) Topic 1
Question #: 142
Topic #: 1
Refer to the exhibits. In the color flow, both the variable named color and the payload are set to “red”.
An HTTP POST requests then sent to the decideColor flow’s HTTP Listener.
What is the payload value at the Logger component after the HTTP Request completes?
A. “red”
B. “blue”
C. “white”
D. An error message
Selected Answer: C
Question #: 127
Topic #: 1
Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow’s HTTP Listener.
A web client sends a GET request the HTTP Listener with the qty query parameter set to 30.
After the HTTP Request operation completes, what parts of the Mule event at the main flow’s Logger component are the same as the Mule event that was input to the HTTP Request operation?
A. The entire Mule event
B. The payload and all variables
C. All variables
D. The payload and all attributes
Selected Answer: D
Question #: 130
Topic #: 1
Refer to the exhibits. The Batch Job scope contains two Batch Step scopes with different accept expressions.
Input payload:
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 components?
A. { “amount”: 500 }
{ “amount”: 101 }
{ “step2amount”: 1000 }
{ “step2amount”: 500 }
B. { “amount”: 500 }
{ “amount”: 101 }
{ “step2amount”: 1000 }
{ “step2amount”: 400 }
C. { “amount”: 500 }
{ “amount”: 601 }
{ “step2amount”: 1000 }
{ “step2amount”: 500 }
{ “step2amount”: 601 }
D. { “amount”: 500 }
{ “amount”: 101 }
{ “step2amount”: 1000 }
Selected Answer: A
Refer to the exhibits. The updateTemp and getTemp flows share the same default object store.
A web client sends one GET request to the test flow’s HTTP Listener, which causes the test flow to call the updateTemp flow. After the test flow returns a response, the web client then sends a different GET request to the getTemp flow’s HTTP Listener. The test flow is not called a second time.
What response is returned from the request to the getTemp flow’s HTTP Listener?
A.
B.
C.
D.
Selected Answer: B
Refer to the exhibit. APIkit is used to generate flow components for the RAML specification.
How many APIkit Router components are generated to handle requests to every endpoint defined in the RAML specification?
A. 1
B. 2
C. 3
D. 5
Selected Answer: D
Question #: 80
Topic #: 1
Refer to the exhibits.
The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.
A web client sends a GET request to the main flow’s HTTP Listener. The GET request includes query for the pedigree of a piano.
What values are accessible to the Logger component at the end of the main flow?
A. payload
B. payload pedigree query params
C. payload producer var
D. payload pedigree query params producer var
Selected Answer: C
Question #: 107
Topic #: 1
Refer to the exhibits.
A web client sends sale data in a POST request to the Mule application. The Transform Message component then enriches the payload by prepending a vendor name to the sale data.
What is written to the sales.csv file when the flow executes?
A. The enriched payload in JSON format
B. The enriched payload in XML format
C. The enriched payload in CSV format
D. An error message
Selected Answer: D
Question #: 138
Topic #: 1
An organization’s Center for Enablement (CAE) has built foundational assets (API specifications and implementation template, common frameworks, and best practices guides) and published them to Anypoint Exchange.
What is a metric related to these foundational assets that helps the organization measure the success of its C4E efforts?
A. Correlation of key performance indicators (KPIs) of production applications with foundational assets
B. Correlation of each foundational asset with the counts of developers that downloaded each asset
C. Utilization counts of foundational assets in production applications
D. Counts of how many lines of businesses (LoBs) consumed each foundational asset
Selected Answer: C
Question #: 137
Topic #: 1
A Mule application configured with autodiscovery implements an API.
Where is governance enforced for policies defined for this Mule application?
A. In a separate API proxy application
B. In Runtime Manager
C. In API Manager
D. In the Mule application
Selected Answer: C
Question #: 148
Topic #: 1
An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.
A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.
What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?
A. In Anypoint Studio, code a custom policy for Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment
B. In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange
C. In API Designer, add Client ID Enforcement policy requirements to the API specification
D. In API Manager, apply a Client ID Enforcement policy for the API instance
Selected Answer: D
Question #: 140
Topic #: 1
Refer to the exhibits. The Mule application configures and uses two HTTP Listener global configuration elements.
The Mule application is run in Anypoint Studio.
If the Mule application starts correctly, what URI and port number(s) can receive web client requests; if the Mule application fails to start, what is the cause of the failure?
A. The Mule application starts successfully
Web client requests can only be received at the URI on port 2222, not on port 3333
B. The Mule application fails to start
There is a port bind conflict because the HTTP Request also uses port 3333
C. The Mule application starts successfully
Web client requests can be received at the URI /on port 2222 or port 3333
D. The Mule application fails to start
There is a URL path conflict because both HTTP Listeners are configured with the same path /
Selected Answer: C
Question #: 103
Topic #: 1
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. “FILE:CONNECTIVITY”
B. “ORDER:NOT_CREATED”
C. “OTHER ERROR”
D. “File written”
Selected Answer: B
Question #: 105
Topic #: 1
Refer to the exhibits.
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
A. “String”
B. “Object”
C. “Array”
D. “JSON”
Selected Answer: B
Question #: 114
Topic #: 1
Refer to the exhibits.
The Mule application contains a Choice router.
What is logged when the flow completes?
A. US
B. “REGION”
C. EU
D. [“US”, “EU”]
Selected Answer: A
Question #: 151
Topic #: 1
Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column. The Address table currently contains four (4) records. The On Table Row Database listener is configured with its watermark set to the Address table’s ZIPCODE column and then the Mule application is run in Anypoint Studio for the first time, and the On Table Row Database listener polls the Address table.
A new row is added to the database with ID=5 and ZIPCODE=90006, and then the On Table Row Database listener polls the database again.
After the next execution of the On Table Row Database listener polling, what database rows have been processed by the Mule flow since the Mule application was started?
A. ID ZIPCODE –
1 90001
2 90005
3 90009
4 90001
B. ID ZIPCODE –
1 90001
2 90005
3 90009
4 90001
5 90006
C. ID ZIPCODE –
1 90001
2 90005
3 90009
D. ID ZIPCODE –
1 90001
2 90005
3 90009
5 90006
Selected Answer: A
Question #: 65
Topic #: 1
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key user_id column and an increasing login_date_time column. Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?
A. Set the watermark column to the login_date_time column
B. Set the target value to the last retrieved login_date_time value
C. Set the target value to the last retrieved user_id value
D. Set the watermark column to the user_id column
Selected Answer: A
Question #: 131
Topic #: 1
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. [“A”, “B”, “C”] B. Total Records processed: 3 –
Successful records: 3 –
Failed Records: 0 –
payload (“A”, “B”, “C”)
C. Total Records processed: 1 –
Successful records: 1 –
Failed Records: 0 –
payload [“A”, “B”, “C”]
D. Total Records processed: 3 –
Successful records: 3 –
Failed Records: 0
Selected Answer: D
Question #: 152
Topic #: 1
Refer to the exhibit. The Default scope in the Choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP Listener with payload “Blue”.
What response is returned to the web client?
A. “Red”
B. “Blk”
C. An error message
D. “Green”
Selected Answer: B
Question #: 70
Topic #: 1
Refer to the exhibits.
The Mule application has multiple HTTP Listeners contained in various configuration XML files. Each HTTP Listener is configured with the same host and with the port number, path, and operation shown in its display name.
What is the minimum number of global elements that must be defined to support all these HTTP Listeners?
A. 1
B. 2
C. 3
D. 4
Selected Answer: B
Question #: 59
Topic #: 1
Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
A. 120000
B. 10
C. 100
D. 1000
Selected Answer: B
Question #: 23
Topic #: 1
Which one of them is NOT a flow in Mule?
A. sync flow
B. subflow
C. async flow
D. async sub flow
Selected Answer: D
Question #: 19
Topic #: 1
A Scatter-Gather processes a number of separate HTTP requests. Each request returns a Mule event with a JSON payload.
What is the final output of the Scatter-Gather?
A. An Object containing all Mule event Objects.
B. An Array containing all Mule event Objects.
C. None of these.
D. The last Mule event object.
Selected Answer: A
Question #: 8
Topic #: 1
What is the object type returned by the File List operation?
A. Object of String file names
B. Array of String file names
C. Object of Mule event objects
D. Array of Mule event objects
Selected Answer: D
Question #: 61
Topic #: 1
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 transformFlow.
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 theResult.
What is the payload at the Logger component after the HTTP Request?
A. A non-empty Java object
B. The original XML payload
C. The returned JSON response
D. null
Selected Answer: B
Question #: 156
Topic #: 1
Refer to the exhibits. The Mule application is stopped at the breakpoint in Anypoint Studio. A watch expression is set to the counter variable.
What value is displayed for this watch expression?
A. 1
B. 11
C. 110
D. null
Selected Answer: A
Question #: 121
Topic #: 1
Refer to the exhibit. The Default scope in the Choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP Listener with payload “Blue”.
What response is returned to the web client?
A. “Green”
B. A timeout error
C. “Bik”
D. [“Blue”, “Red”, “Bik”]
Selected Answer: C