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

Page 4 of 57

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






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

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