MuleSoft multiple choice questions

 

1  What is the face of CloudHub and integrates with Platform Services?
A. None of these
B. Runtime Manager Console
C. Integration Apps
D. CloudHub Workers

2  What is a core characteristic of the Modern API?
A. API is rapidly prototyped following AGILE methodology.
B. API follows the RESTful architecture.
C. API is designed first using an API specification for rapid feedback.
D. API has a mechanism to accept feedback and suggestions for improvement.

3 Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
A. 120000
B. 10
C. 100
D. 1000

4  Where would you create SLA Tiers for an API?
A. Exchange
B. API Manager
C. Anypoint MQ
D. Within the API

5  What DataWeave 2.0 type can be used as input to a map operation?
A. Object
B. Array
C. String
D. Map

6  What MuleSoft product enables publishing, sharing, and searching of APIs?
A. Runtime Manager
B. Exchange
C. API Notebook
D. API Designer

7  What does the zip operator do in DataWeave?
A. Minifies the size of value using encoding.
B. None of these.
C. Merges elements of two objects into a single object.
D. Merges elements of two lists (arrays) into a single list.

8  What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
A. Data
B. System
C. Process
D. Experience

9  How does Runtime Manager Console connect with App Data and Logs of a Mule app?
A. None of these
B. Integration Apps
C. CloudHub Workers
D. Rest API

10  Where does a deployed flow designer application run in Anypoint Platform?
A. CloudHub worker
B. API Manager
C. Design Center
D. Exchange

11 What is the minimum required configuration in a flow for a Mule application to compile?
A. An event source
B. RAML file
C. An event processor

D. Logger Component

12  Does a root element need when creating a response using Dataweave?
A. None of these
B. Sometimes
C. Never
D. Always

13  What does the minus operator do in DataWeave?
A. Decrements the value by one.
B. Removes items from a list.
C. Increments the value by one.
D. Removes characters from a string.

14  What module and operation will throw an error if a Mule event’s payload is not a number?
A. Validation module’s Is number operation
B. Filter module’s Is number operation
C. None of these
D. Validation module’s Is not a number operation

15 A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?

A. #[value]
B. #[vars]
C. #[var]
D. #[values]

16  A Batch Job scope has three batch steps. An event processor throws an error in the second batch step because the input data is incomplete.
What is the default behavior of the batch job after the error is thrown?

A. All processing of the batch job stops.
B. None of these.
C. Error is ignored.
D. Event processing continues to the next batch step.

17  Which keyword do you use to create a new function in DataWeave?
A. function
B. fun
C. func
D. None of these

18 What are the features of CloudHub Fabric?
A. Non-persistent queue
B. Horizontal Scaling
C. VPN Mock Services
D. None of these

19  How many Mule applications can run on a CloudHub worker?
A. At most one
B. None of these
C. Depends
D. At least one

20  How would you debug Mule applications?
A. By Deploying apps on production
B. Checking RAML
C. Using logger component
D. Cannot do it

21 What is the purpose of the api:router element in APIkit?
A. Serves as an API implementation.
B. Validates requests against RAML API specifications and routes them to API implementations.
C. Creates native connectors using a 3rd party Java library.
D. Validates responses returned from API requests and routes them back to the caller.

22  What HTTP method in a RESTful web service is typically used to completely replace an existing resource?
A. GET
B. PATCH
C. POST
D. PUT

 23  What is the main purpose of flow designer in Design Center?
A. To design and develop fully functional Mule applications in a hosted development environment.
B. To design API RAML files in a graphical way.
C. To design and mock Mule application templates that must be implemented using Anypoint Studio.
D. To define API lifecycle management in a graphical way.

24  What DataWeave 2.0 type can be used as input to a mapObject operation?
A. Array
B. Object
C. String
D. Map

25  Why would you use SOAP instead of http?
A. If the architecture mandates.
B. It is up to the integration specialist.
C. Successful/retry logic for reliable messaging functionality.
D. It is part of agile methodology.

26  What statement is a part of MuleSoft’s description of an application network?
A. Creates and manages high availability and fault tolerant services and infrastructure.
B. Creates reusable APIs and assets designed to be consumed by other business units.
C. Creates and manages a collection of JMS messaging services and infrastructure.
D. Leverages Central IT to deliver complete point-to-point solutions with master data management.

27  What does the Mule runtime use to enforce policies and limit access to APIs?
A. API Manager
B. The proxy created by API Manager
C. The Mule runtime’s embedded API Gateway
D. Anypoint Access Control

28 What is the correct syntax to reference a fragment in RAML?
A. examples: #include examples/BankAccountsExample.raml B. examples: $include examples/BankAccountsExample.raml
C. examples: ?include examples/BankAccountsExample.raml
D. examples: !include examples/BankAccountsExample.raml

29  What is the use of API Notebooks?
A. None of these
B. Test Policies
C. Test API functions
D. Test RAML

30  What is the DataWeave expression to log the Content-Type header using a Logger component?
A. #["Content-Type: " ++ attributes.headers.’content-type’]
B. #["Content-Type: " ++ headers.’content-type’]
C. #["Content-Type: " + headers.’content-type’]
D. #["Content-Type: " + attributes.headers.’content-type’]

31  What is the trait name you would use for specifying client credentials in RAML?
A. headers
B. client-id
C. client-id-required
D. we do not specify in RAML

32  What is the purpose of API autodiscovery?
A. Enables API Manager to discover the published API on Anypoint Exchange.

B. Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.
C. Enables an API to be directly managed in API Manager.
D. Allows the Mule application to be automatically discovered on Anypoint Exchange.

33  What is NOT part of a Mule 4 event?
A. attributes
B. payload
C. inboundProperties
D. message

34  According to MuleSoft, what is the Center for Enablement’s role in the new IT operating model?
A. Implements line of business projects to enforce common security requirements.
B. Centrally manages partners and consultants to implement line of business projects.
C. Implements line of business projects to enforce common security requirements.
D. Creates and manages discoverable assets to be consumed by line of business developers.

35  Which one of them is NOT a flow in Mule?
A. sync flow
B. subflow
C. async flow
D. async sub flow

36  How are multiple conditions used in a Choice router to route events?
A. To route the same event to the matched route of EVERY true condition.
B. None of these.
C. To find the FIRST true condition, then distribute the event to the ONE matched route.
D. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes.

37  What asset can NOT be created by using Design Center?
A. API
B. API Portals
C. Mule Apps
D. API Fragment

38  A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations.
Which operation is asynchronous and which one is synchronous?

A. Publish consume: Synchronous. Publish: Asynchronous.
B. Publish consume: Asynchronous. Publish: Synchronous.
C. Publish consume: Asynchronous. Publish: Asynchronous.
D. Publish consume: Synchronous. Publish: Synchronous.

39  According to Semantic Versioning, which version would you change for incompatible API changes?
A. MINOR
B. PATCH
C. MAJOR
D. No change

40  What is the use of DevKit in Mule 4?
A. Facilitates communication between third-party systems and Mule applications.
B. No use.
C. Offers connector end user support in a few aspects of Mule app design.
D. Enables the development of Anypoint Connectors.

41  A Scatter-Gather processes a number of separate HTTP requests. Each request returns a Mule event with a JSON payload.
What is the final output of the Scatter-Gather?

A. An Object containing all Mule event Objects.
B. An Array containing all Mule event Objects.
C. None of these.
D. The last Mule event object.

42  What are the latest specification of RAML available?
A. 0.8
B. 1

C. 2
D. 1.8

43 http://dev.acme.com/api/patients?year=2016
What should this endpoint return?

A. Patient with id 2016
B. All patients
C. No patients
D. Patients from year 2016

44  DataWeave is tightly integrated with ____________.
A. Mule runtime
B. All APIs
C. Flow Designer
D. Exchange

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

A. To save the most recent records retrieved from a database to enable database caching.
B. To enable duplicate processing of records in a database.
C. To avoid duplicate processing of records in a database.
D. To delete the most recent records retrieved from a database to enable database caching.

46  An API has been created in Design Center.
What is the next step to make the API discoverable?
A. Deploy the API to a Maven repository.
B. Publish the API from inside flow designer.
C. Publish the API to Anypoint Exchange.
D. Enable autodiscovery in API Manager.

47  What is the correct way to format the decimal 200.1234 as a string to two decimal places?
A. 200.1234 as string {format: ".0#"}
B. 200.1234 as string as format: ".0#"
C. 200.1234 as String {format: ".0#"}
D. 200.1234 as String as format: ".0#"

48  How is policy defined in terms of classloader of an API?
A. Classloader isolation does not exist between the application, the runtime and connectors, and policies.
B. Classloader isolation exists between the application, the runtime and connectors, and policies.
C. None of these.
D. Classloader isolation partially exists between the application, the runtime and connectors, and policies.

49  According to Mulesoft, how are Modern APIs treated as?
A. products
B. code
C. soap services
D. organizations

50  What is the object type returned by the File List operation?
A. Object of String file names
B. Array of String file names
C. Object of Mule event objects
D. Array of Mule event objects

51  Where are values of query parameters stored in the Mule event by the HTTP Listener?
A. Payload
B. Attributes
C. Inbound Properties
D. Variables

52  How can you call a flow from Dataweave?
A. Not allowed
B. Include function
C. Look up function
D. Tag function

53  What is the value of the stepVar variable after the processing of records in a Batch Job?
A. -1
B. 0
C. Null
D. Last value from flow

54  What is not an asset?
A. Exchange
B. Template
C. Example
D. Connector

55  How would you debug Mule applications?
A. Using breakpoints
B. Checking RAML
C. By Deploying apps on production
D. Cannot do it

56  What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?
A. Attributes do not change.
B. Previous attributes are passed unchanged.
C. Attributes are replaced with new attributes from the HTTP Request response.
D. New attributes may be added from the HTTP response headers, but no headers are ever removed.

57  The new RAML spec has been published to Anypoint Exchange with client credentials.
What is the next step to gain access to the API?

A. Email the owners of the API.
B. Create a new client application.
C. No additional steps needed.
D. Request access to the API in Anypoint Exchange.

58  What is the difference between a subflow and a sync flow?
A. Sync flow has no error handling of its own and subflow does.

 B. Subflow has no error handling of its own and sync flow does.
C. Subflow is synchronous and sync flow is asynchronous.
D. No difference.

Comments

Post a Comment