ExamGecko
Home Home / Salesforce / Certified MuleSoft Developer I

Salesforce Certified MuleSoft Developer I Practice Test - Questions Answers, Page 6

Question list
Search
Search

List of questions

Search

Related questions











What is typically NOT a function of the APIs created within the framework called API-led connectivity?

A.
They provide an additional layer of resilience on top of the underlying backend system, thereby insulating clients from extended failure of these systems.
A.
They provide an additional layer of resilience on top of the underlying backend system, thereby insulating clients from extended failure of these systems.
Answers
B.
They allow for innovation at the user Interface level by consuming the underlying assets without being aware of how data Is being extracted from backend systems.
B.
They allow for innovation at the user Interface level by consuming the underlying assets without being aware of how data Is being extracted from backend systems.
Answers
C.
They reduce the dependency on the underlying backend systems by helping unlock data from backend systems In a reusable and consumable way.
C.
They reduce the dependency on the underlying backend systems by helping unlock data from backend systems In a reusable and consumable way.
Answers
D.
They can compose data from various sources and combine them with orchestration logic to create higher level value.
D.
They can compose data from various sources and combine them with orchestration logic to create higher level value.
Answers
Suggested answer: A

Explanation:

They provide an additional layer of resilience on top of theunderlying backend system, thereby insulating clients from extended failure of these systems.. In API-led connectivity,>> Experience APIs - allow for innovation at the user interface level by consuming the underlying assets without being aware of how data is being extracted from backend systems.>> Process APIs - compose data from various sources and combine them with orchestration logic to create higher level value>> System APIs - reduce the dependency on the underlying backend systems by helping unlock data from backend systems in a reusable and consumable way.However, they NEVER promise that they provide an additional layer of resilience on top of the underlying backend system, thereby insulating clients from extended failure of these systems.https://dzone.com/articles/api-led-connectivity-with-mule

An organization has implemented a Customer Address API to retrieve customer address information. This API has been deployed to multiple environments and has been configured to enforce client IDs everywhere.

A developer is writing a client application to allow a user to update their address. The developer has found the Customer Address API in Anypoint Exchange and wants to use it in their client application.

What step of gaining access to the API can be performed automatically by Anypoint Platform?

A.
Approve the client application request for the chosen SLA tier
A.
Approve the client application request for the chosen SLA tier
Answers
B.
Request access to the appropriate API Instances deployed to multiple environments using the client application's credentials
B.
Request access to the appropriate API Instances deployed to multiple environments using the client application's credentials
Answers
C.
Modify the client application to call the API using the client application's credentials
C.
Modify the client application to call the API using the client application's credentials
Answers
D.
Create a new application in Anypoint Exchange for requesting access to the API
D.
Create a new application in Anypoint Exchange for requesting access to the API
Answers
Suggested answer: A

Explanation:

Approve the client application request for the chosen SLA tier. >> Only approving the client application request for the chosen SLA tier can be automated>> Rest of the provided options are not valid

What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?

A.
A decrease in the number of connections within the application network supporting the business process
A.
A decrease in the number of connections within the application network supporting the business process
Answers
B.
A higher number of discoverable API-related assets in the application network
B.
A higher number of discoverable API-related assets in the application network
Answers
C.
A better response time for the end user as a result of the APIs being smaller in scope and complexity
C.
A better response time for the end user as a result of the APIs being smaller in scope and complexity
Answers
D.
An overall tower usage of resources because each fine-grained API consumes less resources
D.
An overall tower usage of resources because each fine-grained API consumes less resources
Answers
Suggested answer: B

Explanation:

A higher number of discoverable API-related assets in theapplication network.. >> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below.Fine-grained approach:1. will have more APIs compared to coarse-grained2. So, more orchestration needs to be done to achieve a functionality in business process.3. Which means, lots of API calls to be made. So, more connections will needs to be established. So, obviously more hops, more network i/o, more number of integration points compared to coarse-grained approach where fewer APIs with bulk functionality embedded in them.4. That is why, because of all these extra hops and added latencies, fine-grained approach will have bit more response times compared to coarse-grained.5. Not only added latencies and connections, there will be more resources used up in fine-grained approach due to more number of APIs.That's why, fine-grained APIs are good in a way to expose more number of resuable assets in your network and make them discoverable. However, needs more maintenance, taking care of integration points, connections, resources with a little compromise w.r.t network hops and response times.

What correctly characterizes unit tests of Mule applications?

A.
They test the validity of input and output of source and target systems
A.
They test the validity of input and output of source and target systems
Answers
B.
They must be run in a unit testing environment with dedicated Mule runtimes for the environment
B.
They must be run in a unit testing environment with dedicated Mule runtimes for the environment
Answers
C.
They must be triggered by an external client tool or event source
C.
They must be triggered by an external client tool or event source
Answers
D.
They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
D.
They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
Answers
Suggested answer: D

Explanation:

They are typically written using MUnit to run in an embedded Muleruntime that does not require external connectivity.. Below TWO are characteristics of Integration Tests but NOT unit tests:>> They test the validity of input and output of source and target systems.>> They must be triggered by an external client tool or event source.It is NOT TRUE that Unit Tests must be run in a unit testing environment with dedicated Mule runtimes for the environment.MuleSoft offers MUnit for writing Unit Tests and they run in an embedded Mule Runtime without needing any separate/ dedicated Runtimes to execute them. They also do NOT need any external connectivity as MUnit supports mocking via stubs.https://dzone.com/articles/munit-framework

An organization is deploying their new implementation of the OrderStatus System API to multiple workers in CloudHub. This API fronts the organization's on-premises Order Management System, which is accessed by the API implementation over an IPsec tunnel.

What type of error typically does NOT result in a service outage of the OrderStatus System API?

A.
A CloudHub worker fails with an out-of-memory exception
A.
A CloudHub worker fails with an out-of-memory exception
Answers
B.
API Manager has an extended outage during the initial deployment of the API implementation
B.
API Manager has an extended outage during the initial deployment of the API implementation
Answers
C.
The AWS region goes offline with a major network failure to the relevant AWS data centers
C.
The AWS region goes offline with a major network failure to the relevant AWS data centers
Answers
D.
The Order Management System is Inaccessible due to a network outage in the organization's on-premises data center
D.
The Order Management System is Inaccessible due to a network outage in the organization's on-premises data center
Answers
Suggested answer: A

Explanation:

A CloudHub worker fails with an out-of-memory exception.. >> An AWS Region itself going down will definitely result in an outage as it does not matter how many workers are assigned to the Mule App as all of those in that region will go down. This is a complete downtime and outage.>> Extended outage of API manager during initial deployment of API implementation will of course cause issues in proper application startup itself as the API Autodiscovery might fail or API policy templates and polices may not be downloaded to embed at the time of applicaiton startup etc... there are many reasons that could cause issues.>> A network outage onpremises would of course cause the Order Management System not accessible and it does not matter how many workers are assigned to the app they all will fail and cause outage for sure.The only option that does NOT result in a service outage is if a cloudhub worker fails with an out-of-memory exception. Even if a worker fails and goes down, there are still other workers to handle the requests and keep the API UP and Running. So, this is the right answer.

An Order API must be designed that contains significant amounts of integration logic and involves the invocation of the Product API.

The power relationship between Order API and Product API is one of 'Customer/Supplier', because the Product API is used heavily throughout the organization and is developed by a dedicated development team located in the office of the CTO.

What strategy should be used to deal with the API data model of the Product API within the Order API?

A.
Convince the development team of the Product API to adopt the API data model of the Order API such that the integration logic of the Order API can work with one consistent internal data model
A.
Convince the development team of the Product API to adopt the API data model of the Order API such that the integration logic of the Order API can work with one consistent internal data model
Answers
B.
Work with the API data types of the Product API directly when implementing the integration logic of the Order API such that the Order API uses the same (unchanged) data types as the Product API
B.
Work with the API data types of the Product API directly when implementing the integration logic of the Order API such that the Order API uses the same (unchanged) data types as the Product API
Answers
C.
Implement an anti-corruption layer in the Order API that transforms the Product API data model into internal data types of the Order API
C.
Implement an anti-corruption layer in the Order API that transforms the Product API data model into internal data types of the Order API
Answers
D.
Start an organization-wide data modeling initiative that will result in an Enterprise Data Model that will then be used in both the Product API and the Order API
D.
Start an organization-wide data modeling initiative that will result in an Enterprise Data Model that will then be used in both the Product API and the Order API
Answers
Suggested answer: C

Explanation:

Convince the development team of the product API to adopt the APIdata model of the Order API such that integration logic of the Order API can work with one consistent internal data model. Key details to note from the given scenario:>> Power relationship between Order API and Product API is customer/supplierSo, as per below rules of 'Power Relationships', the caller (in this case Order API) would request for features to the called (Product API team) and the Product API team would need to accomodate those requests.

An API implementation is being designed that must invoke an Order API, which is known to repeatedly experience downtime.

For this reason, a fallback API is to be called when the Order API is unavailable.

What approach to designing the invocation of the fallback API provides the best resilience?

A.
Search Anypoint Exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the Order API
A.
Search Anypoint Exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the Order API
Answers
B.
Create a separate entry for the Order API in API Manager, and then invoke this API as a fallback API if the primary Order API is unavailable
B.
Create a separate entry for the Order API in API Manager, and then invoke this API as a fallback API if the primary Order API is unavailable
Answers
C.
Redirect client requests through an HTTP 307 Temporary Redirect status code to the fallback API whenever the Order API is unavailable
C.
Redirect client requests through an HTTP 307 Temporary Redirect status code to the fallback API whenever the Order API is unavailable
Answers
D.
Set an option in the HTTP Requester component that invokes the Order API to instead invoke a fallback API whenever an HTTP 4xx or 5xx response status code is returned from the Order API
D.
Set an option in the HTTP Requester component that invokes the Order API to instead invoke a fallback API whenever an HTTP 4xx or 5xx response status code is returned from the Order API
Answers
Suggested answer: A

Explanation:

Search Anypoint exchange for a suitable existing fallback API, andthen implement invocations to this fallback API in addition to the order API. >> It is not ideal and good approach, until unless there is a pre-approved agreement with the API clients that they will receive a HTTP 3xx temporary redirect status code and they have to implement fallback logic their side to call another API.>> Creating separate entry of same Order API in API manager would just create an another instance of it on top of same API implementation. So, it does NO GOOD by using clone od same API as a fallback API. Fallback API should be ideally a different API implementation that is not same as primary one.>> There is NO option currently provided by Anypoint HTTP Connector that allows us to invoke a fallback API when we receive certain HTTP status codes in response.The only statement TRUE in the given options is to Search Anypoint exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the order API.

How are an API implementation, API client, and API consumer combined to invoke and process an API?

A.
The API consumer creates an API implementation, which receives API invocations from an API such that they are processed for an API client
A.
The API consumer creates an API implementation, which receives API invocations from an API such that they are processed for an API client
Answers
B.
The API client creates an API consumer, which receives API invocations from an API such that they are processed for an API implementation
B.
The API client creates an API consumer, which receives API invocations from an API such that they are processed for an API implementation
Answers
C.
The ApI consumer creates an API client, which sends API invocations to an API such that they are processed by an API implementation
C.
The ApI consumer creates an API client, which sends API invocations to an API such that they are processed by an API implementation
Answers
D.
The ApI client creates an API consumer, which sends API invocations to an API such that they are processed by an API implementation
D.
The ApI client creates an API consumer, which sends API invocations to an API such that they are processed by an API implementation
Answers
Suggested answer: C

Explanation:

The API consumer creates an API client, which sends APIinvocations to an API such that they are processed by an API implementation. Terminology:>> API Client - It is a piece of code or program the is written to invoke an API>> API Consumer - An owner/entity who owns the API Client. API Consumers write API clients.>> API - The provider of the API functionality. Typically an API Instance on API Manager where they are managed and operated.>> API Implementation - The actual piece of code written by API provider where the functionality of the API is implemented. Typically, these are Mule Applications running on Runtime Manager.

What is most likely NOT a characteristic of an integration test for a REST API implementation?

A.
The test needs all source and/or target systems configured and accessible
A.
The test needs all source and/or target systems configured and accessible
Answers
B.
The test runs immediately after the Mule application has been compiled and packaged
B.
The test runs immediately after the Mule application has been compiled and packaged
Answers
C.
The test is triggered by an external HTTP request
C.
The test is triggered by an external HTTP request
Answers
D.
The test prepares a known request payload and validates the response payload
D.
The test prepares a known request payload and validates the response payload
Answers
Suggested answer: B

Explanation:

The test runs immediately after the Mule application has been compiled and packaged. >> Integration tests are the last layer of tests we need to add to be fully covered.>> These tests actually run against Mule running with your full configuration in place and are tested from external source as they work in PROD.>> These tests exercise the application as a whole with actual transports enabled. So, external systems are affected when these tests run.So, these tests do NOT run immediately after the Mule application has been compiled and packaged.FYI... Unit Tests are the one that run immediately after the Mule application has been compiled and packaged.

An API implementation is updated. When must the RAML definition of the API also be updated?

A.
When the API implementation changes the structure of the request or response messages
A.
When the API implementation changes the structure of the request or response messages
Answers
B.
When the API implementation changes from interacting with a legacy backend system deployed on-premises to a modern, cloud-based (SaaS) system
B.
When the API implementation changes from interacting with a legacy backend system deployed on-premises to a modern, cloud-based (SaaS) system
Answers
C.
When the API implementation is migrated from an older to a newer version of the Mule runtime
C.
When the API implementation is migrated from an older to a newer version of the Mule runtime
Answers
D.
When the API implementation is optimized to improve its average response time
D.
When the API implementation is optimized to improve its average response time
Answers
Suggested answer: A

Explanation:

When the API implementation changes the structure of the request or response messages. >> RAML definition usually needs to be touched only when there are changes in the request/response schemas or in any traits on API.>> It need not be modified for any internal changes in API implementation like performance tuning, backend system migrations etc..

Total 95 questions
Go to page: of 10