MCD PART 1 Flashcards

1
Q

How would you debug Mule applications?

A. Using breakpoints
B. Checking RAML
C. By Deploying apps on production
D. Cannot do it

A

A. Using breakpoints

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

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.

A

C. Attributes are replaced with new attributes from the HTTP Request response.

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

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.

A

D. Request access to the API in Anypoint Exchange.

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

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.

A

B. Subflow has no error handling of its own and sync flow does.

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

What is not an asset?

A. Exchange
B. Template
C. Example
D. Connector

A

A. Exchange

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

How to import Core (dw::Core) module into your DataWeave scripts?

A. import dw::core
B. Not needed
C. None of these
D. import core

A

B. Not needed

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

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

A

C. Null

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

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

A

D. Array of Mule event objects

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

Where are values of query parameters stored in the Mule event by the HTTP Listener?

A. Payload
B. Attributes
C. Inbound Properties
D. Variables

A

B. Attributes

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

How can you call a flow from Dataweave?

A. Not allowed
B. Include function
C. Look up function
D. Tag function

A

C. Look up function

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

DataWeave is tightly integrated with ____________.

A. Mule runtime
B. All APIs
C. Flow Designer
D. Exchange

A

A. Mule runtime

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

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.

A

C. To avoid duplicate processing of records in a database.

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

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.

A

C. Publish the API to Anypoint Exchange.

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

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#”

A

C. 200.1234 as String {format: “.0#”}

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

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.

A

B. Classloader isolation exists between the application, the runtime and connectors, and policies.

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

According to Mulesoft, how are Modern APIs treated as?

A. products
B. code
C. soap services
D. organizations

A

A. products

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

According to Semantic Versioning, which version would you change for incompatible API changes?

A. MINOR
B. PATCH
C. MAJOR
D. No change

A

C. MAJOR

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

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.

A

B. No use.

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

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.

A

A. An Object containing all Mule event Objects.

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

What are the latest specification of RAML available?

A. 0.8
B. 1
C. 2
D. 1.8

A

B. 1

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

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

A

D. Patients from year 2016

22
Q

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.

A

D. Creates and manages discoverable assets to be consumed by line of business developers.

23
Q

Which one of them is NOT a flow in Mule?

A. sync flow
B. subflow
C. async flow
D. async sub flow

A

D. async sub flow

24
Q

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.

A

C. To find the FIRST true condition, then distribute the event to the ONE matched route.

25
Q

What asset can NOT be created by using Design Center?

A. API
B. API Portals
C. Mule Apps
D. API Fragments

A

B. API Portals

26
Q

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.

A

A. Publish consume: Synchronous. Publish: Asynchronous.

27
Q

What is the use of API Notebooks?

A. None of these
B. Test Policies
C. Test API functions
D. Test RAML

A

C. Test API functions

28
Q

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’]

A

A. #[“Content-Type: “ ++ attributes.headers.’content-type’]

29
Q

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

A

C. client-id-required

30
Q

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.

A

B. Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.

31
Q

What is NOT part of a Mule 4 event?

A. attributes
B. payload
C. inboundProperties
D. message

A

C. inboundProperties

32
Q

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.

A

A. To design and develop fully functional Mule applications in a hosted development environment.

33
Q

What DataWeave 2.0 type can be used as input to a mapObject operation?

A. Array
B. Object
C. String
D. Map

A

B. Object

34
Q

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.

A

C. Successful/retry logic for reliable messaging functionality.

35
Q

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.

A

B. Creates reusable APIs and assets designed to be consumed by other business units.

36
Q

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

A

C. The Mule runtime’s embedded API Gateway

37
Q

Refer to the exhibits. The Mule application does NOT define any global error handlers.
The Validation component in the private flow throws an error.
What response message is returned to a web client request to the main flow’s HTTP Listener?

A
38
Q
A
39
Q
A
40
Q
A
41
Q
A
42
Q
A
43
Q
A
44
Q
A
45
Q
A
46
Q
A
47
Q
A
48
Q
A
49
Q
A
50
Q
A