ExamGecko
Home / MuleSoft / MCD - Level 1 / List of questions
Ask Question

MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 17

List of questions

Question 161

Report
Export
Collapse

How does APIkit determine the number of flows to generate from a RAML specification?

Creates a separate flow for each resource
Creates a separate flow for each resource
Creates a separate flow for each HTTP method
Creates a separate flow for each HTTP method
Creates a separate flow for each response status code
Creates a separate flow for each response status code
Creates a separate flow for each resource that contains child resources
Creates a separate flow for each resource that contains child resources
Suggested answer: B

Explanation:

APIKIt Creates a separate flow for each HTTP method

asked 18/09/2024
Francisli Lilles
42 questions

Question 162

Report
Export
Collapse

What are the latest specification of RAML available?

1.2
1.2
1
1
0.8
0.8
2
2
Suggested answer: B

Explanation:

The current version of the RAML specification is 1.0

You can check RAML version in RAML definition by referring to first comment. See highlighted part in below image.

MuleSoft MCD - Level 1 image Question 162 explanation 52717 09182024213609000000

asked 18/09/2024
Ero Hiiesalu
36 questions

Question 163

Report
Export
Collapse

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

#include dw::core
#include dw::core
Not needed
Not needed
import core
import core
import dw::core
import dw::core
Suggested answer: B

Explanation:

Correct answer is Not needed as dw::core module is included by default. We don't need to include it explicitly

asked 18/09/2024
Niels de Lange
38 questions

Question 164

Report
Export
Collapse

A Mule application configured with Autodiscovery implements an API.

Where is governance enforced for policies defined for this Mule application?

In Runtime Manager
In Runtime Manager
Runtime Manager
Runtime Manager
In the Mule application
In the Mule application
In API manager
In API manager
Suggested answer: D

Explanation:

Correct answer is API manager

asked 18/09/2024
Gregory Pollack
32 questions

Question 165

Report
Export
Collapse

Which out of below is not an asset?

Template
Template
Connector
Connector
Exchange
Exchange
Example
Example
Suggested answer: C

Explanation:

Exchange is the odd man out here. Rest all are type of asset

MuleSoft MCD - Level 1 image Question 165 explanation 52720 09182024213609000000

asked 18/09/2024
Jucelino Pinheiro de Andrade da Silva
42 questions

Question 166

Report
Export
Collapse

A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder.

What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login '[email protected]'?

1. 1. import libs.etl 2. 2. --- 3. 3. WebStore.loginUser('[email protected]')
1. 1. import libs.etl 2. 2. --- 3. 3. WebStore.loginUser('[email protected]')
1. 1. import * from libs::etl 2. 2. --- 3. 3. WebStore::loginUser('[email protected]')
1. 1. import * from libs::etl 2. 2. --- 3. 3. WebStore::loginUser('[email protected]')
1. 1. import libs.etl.WebStore 2. 2. --- 3. 3. loginUser('[email protected]')
1. 1. import libs.etl.WebStore 2. 2. --- 3. 3. loginUser('[email protected]')
1. 1. import * from libs::etl::WebStore 2. 2. --- 3. 3. loginUser('[email protected]')
1. 1. import * from libs::etl::WebStore 2. 2. --- 3. 3. loginUser('[email protected]')
Suggested answer: D

Explanation:

* To use custom modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example:

1) Does not identify any functions to import from the String module:

import dw::core::Strings

2) To identify a specific function to import from the String module:

import camelize, capitalize from dw::core::Strings

3) To import all functions from the String module:

import * from dw::core::Strings

The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script.

* In given scenario, it's mentioned to import all of the WebStore.dwl

So correct answer is:

asked 18/09/2024
Nicolas Pintrel
35 questions

Question 167

Report
Export
Collapse

According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

Implements line of business projects to enforce common security requirements
Implements line of business projects to enforce common security requirements
Creates and manages discoverable assets to be consumed by line of business developers
Creates and manages discoverable assets to be consumed by line of business developers
Centrally manages partners and consultants to implement line of business projects
Centrally manages partners and consultants to implement line of business projects
Implements line of business projects to enforce common security requirements
Implements line of business projects to enforce common security requirements
Suggested answer: B

Explanation:

Correct answer is Creates and manages discoverable assets to be consumed by line of business developers.

C4E does not get directly involved in projects.

asked 18/09/2024
Pises Cuptintorn
34 questions

Question 168

Report
Export
Collapse

What is the correct way to format the decimal 200.1234 as a string to two decimal places?

200.1234 as string as format: '.0#'
200.1234 as string as format: '.0#'
200.1234 as String {format: '.0#'}
200.1234 as String {format: '.0#'}
200.1234 as String as format: '.0#'
200.1234 as String as format: '.0#'
200.1234 as string {format: '.0#'}
200.1234 as string {format: '.0#'}
Suggested answer: B

Explanation:

Correct answer is 200.1234 as String {format: '.0#'} . Rest all options are not syntactically correct.

asked 18/09/2024
Marc Casin Martinez
41 questions

Question 169

Report
Export
Collapse

The new RAML spec has been published to Anypoint Exchange with client credentials.

What is the next step to gain access to the API?

Request access to the API in Anypoint Exchange
Request access to the API in Anypoint Exchange
Email the owners of the API
Email the owners of the API
Create a new client application
Create a new client application
No additional steps needed
No additional steps needed
Suggested answer: A

Explanation:

Correct answer is Request access to the API in Anypoint Exchange. This way we can get clientId and Client secret which we can use to access the API

asked 18/09/2024
Mustaqueahmed Ghanchibhai
42 questions

Question 170

Report
Export
Collapse

Correct answer is {customerID}.

var toUpper(userName) -> upper(userName)
var toUpper(userName) -> upper(userName)
fun toUpper(userName) = upper(userName)
fun toUpper(userName) = upper(userName)
fun toUpper(userName) -> upper(userName)
fun toUpper(userName) -> upper(userName)
var toUpper(userName) = upper(userName)
var toUpper(userName) = upper(userName)
Suggested answer: B

Explanation:

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.

What is the correct DW code to define the toUpper function?

asked 18/09/2024
Ali Abbas
28 questions
Total 235 questions
Go to page: of 24

Related questions