[Q40-Q57] The Best Valid Salesforce-MuleSoft-Developer-I Dumps for Helping Passing Salesforce-MuleSoft-Developer-I Exam!

Share

The Best Valid Salesforce-MuleSoft-Developer-I Dumps for Helping Passing Salesforce-MuleSoft-Developer-I Exam!

UPDATED Salesforce Salesforce-MuleSoft-Developer-I Exam Questions & Answer


Salesforce Salesforce-MuleSoft-Developer-I Exam Syllabus Topics:

TopicDetails
Topic 1
  • Structuring Mule Applications: Structuring Mule applications covers parameterizing an application and defining and reusing global configurations. It includes breaking an application into multiple flows using private flows, subflows, and the Flow Reference component.
Topic 2
  • Accessing and Modifying Mule Events: It describes the Mule event data structure. Moreover, the topic focuses on usage of transformers and enriching Mule events.
Topic 3
  • Creating Application Networks: The topic of creating Application Networks encompasses understanding MuleSoft’s proposal for closing the IT delivery gap and describing the role and characteristics of the modern API. It also includes the purpose and roles of a Center for Enablement (C4E), and the benefits of API-led.
Topic 4
  • Handling Errors: Handling errors includes describing default error handling in Mule applications and defining custom global default error handlers. It involves comparing On Error Continue and On Error Propagate scopes, creating error handlers for a flow, using the Try scope, and mapping errors to custom application errors.
Topic 5
  • Processing Records: Processing records includes methods for processing individual records in a collection and explaining how Mule events are processed by the For Each scope. It also involves using the Batch Job with Batch Steps and a Batch Aggregator.
Topic 6
  • Using Connectors: It focuses on retrieving data from REST services using HTTP Request or REST Connector. Moreover, the topic covers using a Web Service Consumer connector for SOAP web services and the Transform Message component.
Topic 7
  • Deploying and Managing APIs and Integrations: It includes packaging Mule applications for deployment and deploying them to CloudHub. This topic also involves using CloudHub properties, creating and deploying API proxies, connecting an API implementation to API Manager, and applying policies to secure an API.
Topic 8
  • Debugging and Troubleshooting Mule Applications: Using breakpoints to inspect a Mule event during runtime, installing missing Maven dependencies, and reading and deciphering Mule log error messages are sub-topics of this topic.
Topic 9
  • Designing APIs: Designing APIs involves describing the lifecycle of the modern API and using RAML to define various aspects of an API. It includes identifying when to use query parameters vs URI parameters, and defining API parameters.
Topic 10
  • Transforming Data with DataWeave: It involves writing DataWeave scripts and using DataWeave functions. This topic also includes defining and using DataWeave variables, functions, and modules, and applying correct syntax.

 

NEW QUESTION # 40
Refer to the exhibits.


Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?

  • A. #{training.host}
  • B. ${training.host}
  • C. ${http.host}
  • D. #[training.host]

Answer: B

Explanation:
Correct answer is ${training.host}


NEW QUESTION # 41
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.

Answer: D

Explanation:
Correct answer is as below.
After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.
{
"0": {
"attributes": ...,
"payload": "100"
},
"1": {
"attributes": ...,
"payload": "200"
}
}
Bottom of Form


NEW QUESTION # 42
How would you debug Mule applications?

  • A. By Deploying apps on production
  • B. Use third party debugger application
  • C. Using debugger component
  • D. Checking RAML specifications

Answer: C

Explanation:
Debugger can be used to debug applications to see event data movine from one flow to other


NEW QUESTION # 43
Refer to the exhibit.

All three of the condition for the Choice router are true. What log messages are written?

  • A. Route 1
  • B. Route2
  • C. Route1, Route2
  • D. Route1, Route2, Default

Answer: A


NEW QUESTION # 44
What are the latest specification of RAML available?

  • A. 0.8
  • B. 0
  • C. 1
  • D. 1.2

Answer: C

Explanation:
The current version of the RAML specification is 1.0
You can check RAML version in RAML definition by referring to first comment. See highlighted part in below image.


NEW QUESTION # 45
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?

  • A. set a property m the Consume operation equal to the destination query parameter
  • B. set a SOAP payload before the Consume operation that contains the destination query parameter
  • C. set a JSON payload before the Consume operation that contains the destination query parameter
  • D. Set a header In the Consume operation equal to the destination query parameter

Answer: B

Explanation:
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


NEW QUESTION # 46
By default, what happens to a file after it is read using an FTP connector Read operation?

  • A. The file stays in the same folder unchanged
  • B. The file is moved to a different folder
  • C. The file is deleted from the folder
  • D. The file is renamed in the same folder

Answer: A

Explanation:
File is not updated when FTP read operations is performed.
MuleSoft Doc Ref : https://docs.mulesoft.com/file-connector/1.3/file-read


NEW QUESTION # 47
Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal and http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?
1. Library.raml
2. /books
3. get:
4. post:
5. /order:
6. get
7. patch
8. /members
9. get:

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

Answer: C


NEW QUESTION # 48
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

Answer: B

Explanation:
In this case three configurations will be required each for port 8000, 6000 and 7000.
There would be three global elements defined for HTTP connections.
Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000

To use an HTTP listener, you need to declare a configuration with a corresponding connection. This declaration establishes the HTTP server that will listen to requests.
Additionally, you can configure a base path that applies to all listeners using the configuration.
<http:listener-config name="HTTP_Listener_config" basePath="api/v1">
<http:listener-connection host="0.0.0.0" port="8081" />
</http:listener-config>
https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#http-listener-configuration


NEW QUESTION # 49
Refer to the exhibits.


A web client submits the request to the HTTP Listener. What response message would be returned to web client?

  • A. End
  • B. No response would be sent back to client and request will get errored out in Mule
  • C. Start
  • D. String is not blank

Answer: D

Explanation:
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:


NEW QUESTION # 50
Refer to the exhibit.


How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?

  • A. WHERE city = attributes.city AND state = attributes.state
  • B. WHERE city = :city AND state = :state
  • C. WHERE city := city AND state := state
  • D. WHERE city := ${city} AND state := ${state}

Answer: B

Explanation:
Correct syntax to use where clause is WHERE city = :city AND state = :state This question validates knowledge on using dynamic queries in DB select operation.
Configure Dynamic Queries in the Select Operation
When you need to parameterize not only the WHERE clause but also parts of the query itself (for example, queries that compare tables that depend on a condition, or complex queries for which the project table columns need to vary), you can configure dynamic queries.
In the following example, you configure a dynamic query by using a full expression with a string in which the table depends on a variable $(vars.table). Although some of the query text is dynamic ("SELECT * FROM $(vars.table)), the WHERE clause still defines the WHERE condition using input parameters: in this case, WHERE name = :name.
In your Studio flow, select the Select operation.
In the operation configuration screen, set the SQL Query Text field to SELECT * FROM $(vars.table) WHERE name = :name.
Set the Input Parameters field to {'name' : payload}.
The following screenshot shows the configuration in Studio:

Figure 3. Dynamic query configuration
In the XML editor, the <db:sql> configuration looks like this:
<set-variable variableName="table" value="PLANET"/>
<db:select config-ref="dbConfig">
<db:sql>#["SELECT * FROM $(vars.table) WHERE name = :name"]</db:sql>
<db:input-parameters>
#[{'name' : payload}]
</db:input-parameters>
</db:select>
You can apply input parameters only to parameters in a WHERE clause. To modify any other part of the query, use the DataWeave interpolation operator.
Mule Ref Doc: Query a Database Examples - Mule 4 | MuleSoft Documentation


NEW QUESTION # 51

  • A. Option B
  • B. Option D
  • C.
  • D.
  • E. Option A
  • F.
  • G. Option C
  • H.

Answer: A,C


NEW QUESTION # 52
What payload is returned by a Database SELECT operation that does not match any rows in the database?

  • A. Empty Array
  • B. null
  • C. Exception
  • D. false

Answer: A

Explanation:
Empty array is returned when no rows are matched.
MuleSoft Doc Ref : https://docs.mulesoft.com/db-connector/1.9/database-connector-select


NEW QUESTION # 53
A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?
A)

B)

C)

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

Answer: D


NEW QUESTION # 54
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?

  • A. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
  • B. Entire event would be sent to each route in parallel
  • C. Entire event would be sent to each route sequentially
  • D. Incoming array objects would be split into three and each part would be sent to one route each in parallel

Answer: B

Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows :
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be either the same Mule event without modifications or a new Mule event created by the processors in the route as a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.


NEW QUESTION # 55
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 trie 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.

Answer: C


NEW QUESTION # 56
Refer to the exhibit.

What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?

  • A. #[ if(payload = 'US') J
  • B. #[ payload == 'US' J
  • C. #[ if(payload == "US") ]
  • D. 0#[ payload = 'US' ]

Answer: B

Explanation:
Choice Router
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.
Properties of <when>
PropertyDescription
Expression (expression)
Expression in DataWeave language to evaluate input.
If the expression evaluates to true, this routing option is used:
<when expression="#[vars.language == 'Spanish']" >
Mulesoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept With respect to above information , Option 1 is the correct syntax as others are incorrect because of below reasons
* Single = is not the correct syntax to validate the condition. It should be ==
* If keyword is not required in when condition.


NEW QUESTION # 57
......

Updated Salesforce-MuleSoft-Developer-I Dumps Questions For Salesforce Exam: https://pass4sure.actualtorrent.com/Salesforce-MuleSoft-Developer-I-exam-guide-torrent.html