Free MuleSoft Certified Developer - Level 1 (Mule 4) Exam Braindumps (page: 7)

Page 3 of 30

In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

  1. To avoid duplicate processing of records in a database.
  2. To delete the most recent records retrieved from a database to enable database caching
  3. To enable duplicate processing of records in a database
  4. To save the most recent records retrieved from a database to enable database caching

Answer(s): A

Explanation:

The correct answer is To avoid duplicate processing of records in a database. If a watermark column is provided, the values taken from that column are used to filter the contents of the next poll, so that only rows with a greater watermark value are returned. If an ID column is provided, this component automatically verifies that the same row is not picked twice by concurrent polls.


Reference:

https://docs.mulesoft.com/db-connector/1.8/database-documentation#listener



What should this endpoint return?
http://dev.acme.com/api/patients?name=John&surname=Bell

  1. Patient with name as John
  2. Patient with surname as bell
  3. Patients with either name as John or surname as Bell
  4. Patients with name as John and surname as Bell

Answer(s): D

Explanation:

Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a `?' Is added followed immediately by a query parameter.
To add multiple parameters, an `&' is added in between each. Hence coming back to question, endpoint would return Patients with name as John and (and is very important here) surname as Bell.



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?

  1. The HTTP Listener is listening on port 80
  2. The HTTP Listener is listening on port 9090
  3. The HTTP Listener is listening on port 8081
  4. The HTTP Listener failed to bind to the port and is not listening for connections

Answer(s): C

Explanation:

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'



Refer to the payload.





The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]"
What is the output of logger when this flow executes?

  1. Result INFOpayload
  2. Result INFO{"student":{"name":"Anay","age":6}}
  3. 1. 1. "You called the function '++' with these arguments:
    2. 2. 1: String ("INFO")3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)D. Error : You evaluated inline expression # without ++

Answer(s): C

Explanation:

Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age



A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.

What is the correct DataWeave to call the pascalize function in a Transform Message component?









Answer(s): B



Which of the below is not a valid category for connector type?

  1. Gold
  2. Select
  3. Premium
  4. Community

Answer(s): A

Explanation:

Gold is not valid category for connector types.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/3.7/anypoint- connectors#connector-support-categories



Text

Description automatically generated with medium confidence



Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

  1. Configuration file
  2. Global element
  3. POM.xml
  4. Cloudhub

Answer(s): C

Explanation:

POM.xml contains info about the project and configurationn details used by Maven to build the project



An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.

An SLA- based policy is enabled in API manager for this API instance.
Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

  1. In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
  2. In Anypoint Studio, from components generated by APIkit for the API specification
  3. In Anypoint Studio, from components generated by Rest Connect for API specification
  4. In Runtime Manager, from the properties tab of the deployed approved API proxy

Answer(s): A

Explanation:

* When a client application is registered in Anypoint Platform, a pair of credentials consisting of a client ID and client secret is generated.
* When the client application requests access to an API, a contract is created between the application and that API.
* An API that is protected with a Client ID Enforcement policy is accessible only to applications that have an approved contract.
------------------------------------------------------------------------------------------------------------------------- --------------------
Correct answers In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy


Reference:

https://docs.mulesoft.com/api-manager/2.x/client-id-based-policies






Post your Comments and Discuss MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) exam prep with other Community members:

MuleSoft Certified Developer - Level 1 (Mule 4) Exam Discussions & Posts