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 9090The 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?
Answer(s): C
Cloudhub expose services on port 8081 and override value in http.port with this one .Sample log in Runtime Manager is below21:15:53.148 08/08/2021 Worker-0 ArtifactDeployer.start.01 INFO Listening for connections on 'http://0.0.0.0:8081'
A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
Answer(s): A
Option 1 is the only correct choice due to two reasons. 1) Concatenation is always with ++ sign and not with + sign which makes option 2 and 3 wrong 2) hearders can be accessed with attributes. headers and not with only headers which makes option 4 incorrect
A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?
To include property. To keep the API definition concise, you can include external content, such as documentation, schemas, and frequently used patterns outside the definition itself. The parser interprets !include as if the content of the externally-hosted file or a URL were declared in-line. To use the fragments in RAML you have to include the exact path(copy the path) of that fragment you want to use as shown belowOption 3 is the correct as correct syntax is examples: !include examples/StudentExample.raml
https://docs.mulesoft.com/api-manager/1.x/tutorial-design-an-api
As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?
Option 1 is the correct syntax
What module and operation will throw an error if a Mule events payload is not number ?
Answer(s): B
Correct answer is Validation modules Is Number operation. Mule 4 does not use filters anymore. The functionality provided by filters in Mule 3 can be achieved by using the Validation Module.
Post your Comments and Discuss Salesforce Certified MuleSoft Developer I exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Certified MuleSoft Developer I content, but please register or login to continue.