A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType. What is the correct DataWeave expression to log accountType?
Answer(s): D
vars: Keyword for accessing a variable, for example, through a DataWeave expression in a Mule component, such as the Logger, or from an Input or Output parameter of an operation. If the name of your variable is myVar, you can access it like this: vars.myVar Hence correct answer is Account Type: #[vars.accountType]
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?
* Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in batch scope.* So payload for each of these will be incremented by 10.* Aggregator has batch size defined as 2. So it will process in batch of two records.* Hence option 3 is correct answer.[20,40][60]Behavior with aggregator configured with fixed sizeIn this scenario, the batch step sends the processed records to an aggregator, which starts processing the records and buffering them until the configured aggregator's size is reached. After that, the aggregator sends the aggregated records to the stepping queue.The batch job builds record blocks of the configured block size and sends them to their corresponding batch step for processing. Each batch step receives one or more record blocks and starts processing them in parallel. After the batch step processes a record, the batch step sends the record to the aggregator for further processing. The aggregator continues processing records until the number of aggregated records reaches the configured aggregator's size. https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept
Refer to the exhibits.A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?A)B)C)D)
Scatter-Gather RouterThe Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully.The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept
Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.What is the next step to fix this error?
Answer(s): B
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter
What valid RAML retrieves details on a specific by its orderld as a URL parameter? A)B)C)D)
Answer(s): A
An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.What is the payload at the event processor after the HTTP Request?
Answer(s): C
According to MuleSoft. what is the first step to create a Modern API?
First step in creating Modern API is to create an API specification and get feedback from stakeholders so that any future issues can be identified at early stage thereby reducing overall delivery time
https://developer.mulesoft.com/tutorials-and-howtos/quick-start/designing-your-first- api
Refer to the exhibit.All three of the condition for the Choice router are true. What log messages are written?
Share your comments for MuleSoft MCD - Level 1 exam with other users:
questions made studying easy and enjoyable, passed on the first try!
good explanation
i found some questions answers mismatch with explanation answers. please properly update
good need more
the correct answer to q8 is b. explanation since the mule app has a dependency, it is necessary to include project modules and dependencies to make sure the app will run successfully on the runtime on any other machine. source code of the component that the mule app is dependent of does not need to be included in the exported jar file, because the source code is not being used while executing an app. compiled code is being used instead.