04_BuildAPIs Flashcards

1
Q

Where can you build MuleSoft applications?

A

Anypoint Studio (and Flow Designer in Design Center)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Mule event source?

A

Initiates the execution of the flow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What transform, filter, enrich and process the event and its message?

A

Mule event processors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What initiates the execution of the flow?

A

Mule event source.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What components make up the Mule message?

A

Attributes and Payload.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 4 components that make up a Mule event?

A

Message, Attributes, Payload, Variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Mule message?

A

Contains both the attributes and the payload. It is the data that passes through the flow of the app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the attributes of a Mule event?

A

Metadata contained in the message header.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the payload of a Mule event?

A

The core infor of the message - the data that the app processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the variables of a Mule event?

A

Metadata for the Mule event which can be defined and reference in the app processing the event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Mule palette?

A

It can be found on the right hand side of Anypoint Studio, it is where you access the connectors. You may need to search in the Exchange to add the modules with the necessary connectors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Package Explorer?

A

It can be found on the left hand side of Anypoint Studio, it is where all the files/folders can be found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What modules are (by default) within the Mule Palette?

A

Sockets and HTTP modules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Anypoint Studio comes with an embedded ????????, to test application without leaving it?

A

Mule runtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is used to automate the testing of Mule applications?

A

MUnit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain Global configuration elements?

A

The configuration can be encapsulated in a separate global element (a resusable config that can be used by many operations, defines a connection to a network resource).

17
Q

A connector configuration is sometimes referred to as ?

A

the connector

18
Q

What component should be used to transform data?

A

Transform Message

19
Q

How many listeners will a RESTful interface have?

A

1 for each resource/method pair.

20
Q

How can you create the RESTful interface?

A

Either by manually or generate it from the API definition

21
Q

What plug in can generate an interface automatically from a RAML API definition?

A

APIKit plugin.

22
Q

How many flows does the APIKit plug in create, when creating the RESTful interface from a RAML file?

A

One for each of the API resource/method pairs.

23
Q

What is the Flow Reference component?

A

You can use this to call other flows.

24
Q

What is a benefit of breaking a flow into multiple flows?

A

Promotes code reuse. Makes graphical view more intuitive and the XML code easier to read.

25
Q

How are flows identified?

A

By name

26
Q

What should you use as an inbound endpoint to trigger a flow with an HTTP request?

A

HTTP Listener.

27
Q

What event processor should be used to set payload?

A

Set Payload.

28
Q

What connector should be used to connect to JSBC databases?

A

Database connector

29
Q

What component should be used to transform messages from one data type and structure to another?

A

Transform Message.

30
Q

How can you pass messages to other flows?

A

Flow Reference.