Free MuleSoft-Integration-Architect-I Exam Braindumps (page: 21)

Page 21 of 69

An API implementation is being developed to expose data from a production database via HTTP requests. The API implementation executes a database SELECT statement that is dynamically created based upon data received from each incoming HTTP request. The developers are planning to use various types of testing to make sure the Mule application works as expected, can handle specific workloads, and behaves correctly from an API consumer perspective.
What type of testing would typically mock the results from each SELECT statement rather than actually execute it in the production database?

  1. Unit testing (white box)
  2. Integration testing
  3. Functional testing (black box)
  4. Performance testing

Answer(s): A

Explanation:

In Unit testing instead of using actual backends, stubs are used for the backend services. This ensures that developers are not blocked and have no dependency on other systems. In Unit testing instead of using actual backends, stubs are used for the backend services. This ensures that developers are not blocked and have no dependency on other systems.
Below are the typical characteristics of unit testing.
-- Unit tests do not require deployment into any special environment, such as a staging environment -- Unit tests san be run from within an embedded Mule runtime
-- Unit tests can/should be implemented using MUnit
-- For read-only interactions to any dependencies (such as other APIs): allowed to invoke production endpoints
-- For write interactions: developers must implement mocks using MUnit -- Require knowledge of the implementation details of the API implementation under test



A travel company wants to publish a well-defined booking service API to be shared with its business partners. These business partners have agreed to ONLY consume SOAP services and they want to get the service contracts in an easily consumable way before they start any development. The travel company will publish the initial design documents to Anypoint Exchange, then share those documents with the business partners.
When using an API-led approach, what is the first design document the travel company should deliver to its business partners?

  1. Create a WSDL specification using any XML editor
  2. Create a RAML API specification using any text editor
  3. Create an OAS API specification in Design Center
  4. Create a SOAP API specification in Design Center

Answer(s): A

Explanation:

SOAP API specifications are provided as WSDL. Design center doesn't provide the functionality to create WSDL file. Hence WSDL needs to be created using XML editor



What is not true about Mule Domain Project?

  1. This allows Mule applications to share resources
  2. Expose multiple services within the Mule domain on the same port
  3. Only available Anypoint Runtime Fabric
  4. Send events (messages) to other Mule applications using VM queues

Answer(s): C

Explanation:

* Mule Domain Project is ONLY available for customer-hosted Mule runtimes, but not for Anypoint Runtime Fabric
* Mule domain project is available for Hybrid and Private Cloud (PCE). Rest all provide application isolation and can't support domain project.
What is Mule Domain Project?
* A Mule Domain Project is implemented to configure the resources that are shared among different projects. These resources can be used by all the projects associated with this domain. Mule applications can be associated with only one domain, but a domain can be associated with multiple projects. Shared resources allow multiple development teams to work in parallel using the same set of reusable connectors. Defining these connectors as shared resources at the domain level allows the team to: - Expose multiple services within the domain through the same port. - Share the connection to persistent storage. - Share services between apps through a well-defined interface. - Ensure consistency between apps upon any changes because the configuration is only set in one place.
* Use domains Project to share the same host and port among multiple projects. You can declare the http connector within a domain project and associate the domain project with other projects. Doing this also allows to control thread settings, keystore configurations, time outs for all the requests made within multiple applications. You may think that one can also achieve this by duplicating the http connector configuration across all the applications. But, doing this may pose a nightmare if you have to make a change and redeploy all the applications.
* If you use connector configuration in the domain and let all the applications use the new domain instead of a default domain, you will maintain only one copy of the http connector configuration. Any changes will require only the domain to the redeployed instead of all the applications.
You can start using domains in only three steps:
1) Create a Mule Domain project
2) Create the global connector configurations which needs to be shared across the applications inside the Mule Domain project
3) Modify the value of domain in mule-deploy.properties file of the applications



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 invocation of the fallback API provides the best resilience?

  1. Redirect client requests through an HTTP 303 temporary redirect status code to the fallback API whenever the Order API is unavailable
  2. 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 received from Order API
  3. 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
  4. Search Anypoint Exchange for a suitable existing fallback API and them implement invocations to their fallback API in addition to the Order API

Answer(s): A

Explanation:

* Resilience testing is a type of software testing that observes how applications act under stress. It's meant to ensure the product's ability to perform in chaotic conditions without a loss of core functions or data; it ensures a quick recovery after unforeseen, uncontrollable events.

* In case an API invocation fails -- even after a certain number of retries -- it might be adequate to invoke a different API as a fallback. A fallback API, by definition, will never be ideal for the purpose of the API client, otherwise it would be the primary API.
* Here are some examples for fallback APIs:
- An old, deprecated version of the same API.
- An alternative endpoint of the same API and version (e.g. API in another CloudHub region).
- An API doing more than required, and therefore not as performant as the primary API.
- An API doing less than required and therefore forcing the API Client to offer a degraded service, which is still better than no service at all.
* API clients implemented as Mule applications offer the `Until Successful Scope and Exception' strategies at their disposal, which together allow configuring fallback actions such as a fallback API invocation.

* All HTTP response status codes within the 3xx category are considered redirection messages. These codes indicate to the user agent (i.e. your web browser) that an additional action is required in order to complete the request and access the desired resource



Hence correct answer is Redirect client requests through an HTTP 303 temporary redirect status code to the fallback API whenever the Order API is unavailable



Page 21 of 69



Post your Comments and Discuss Salesforce MuleSoft-Integration-Architect-I exam with other Community members:

aam commented on November 20, 2024
great lesson
Anonymous
upvote

Ajay commented on November 20, 2024
Best exam questions & answers
Anonymous
upvote

Diago commented on November 19, 2024
Unless you use these so called exam dumps to prepare for your exam you are not going to be able to pass your exam. The questions are tricky, confusing and very hard.
Brazil
upvote

Soman commented on November 19, 2024
Hay Guys, I just got my first certificate. This exam dumps worked well... but I also studied prior to coming across this site.
UNITED KINGDOM
upvote

Mike commented on November 19, 2024
In my opinion, they work well for me, but it depends on how you approach them. My method isn't about memorizing the exact questions and answers from the practice tests to use on the real exam. Instead, I focus on understanding why I got certain questions wrong so I can deepen my comprehension of the material.
EUROPEAN UNION
upvote

Mohan commented on November 19, 2024
I did not want to not to book my test and walk into a test center without being prepared as this exam is very hard. So I studied and used the full/paid version of these questions and passed my exam.
India
upvote

Shu commented on November 19, 2024
Considerably good.
UNITED STATES
upvote

Ji commented on November 19, 2024
Gute Vorbereitung auf DITS
GERMANY
upvote

EdvinO commented on November 19, 2024
Took the test today and passed. I learned a lot from practicing these questions
NETHERLANDS
upvote

Person McPersonface commented on November 19, 2024
Just took the exam. Many of these questions are on it. Best to study this hard!
FRANCE
upvote

Dior commented on November 19, 2024
Hi i'm about to pass my exam this week and hope that it will work for meD
Anonymous
upvote

Dipu commented on November 19, 2024
Awesome and really good questions to pass the exam if we lean the Solution details
Anonymous
upvote

David commented on November 19, 2024
Good challenge for preparation and readyness
CANADA
upvote

R commented on November 19, 2024
Best for practice
Anonymous
upvote

Esther commented on November 19, 2024
The content walks you through all parts of the exams and covers what is in actual exam. I passed today.
UNITED KINGDOM
upvote

Mosa commented on November 18, 2024
This site gives the questions and then gives you the answers. I saw a big number of these questions in my exam. The dump is valid in India.
INDIA
upvote

Alankruta commented on November 18, 2024
Good set of questions
Anonymous
upvote

Akku commented on November 18, 2024
Good for AI certification prep
Anonymous
upvote

Muhammad Ali commented on November 18, 2024
It is really helping
Anonymous
upvote

vk commented on November 18, 2024
nice set of questions
UNITED STATES
upvote

Viqas commented on November 18, 2024
My exam is coming up which I heard they are notorious for being very tricky/difficult. I don't know how good or close these questions are to real exam. But I see a lot of positive comments and tons of users talking about it. I cross my fingers.
UNITED STATES
upvote

Mini-Pritz commented on November 18, 2024
AI is the way to go these days and this certification exam which I passed today should help my with some carrier boost.
UNITED STATES
upvote

Harish commented on November 18, 2024
It is very helpful to understand the GCP
Anonymous
upvote

Gopikrishna commented on November 17, 2024
Its Going Good
INDIA
upvote

yoga commented on November 17, 2024
goood i cann guys
Anonymous
upvote

Peace commented on November 17, 2024
questions are helpful
Anonymous
upvote

Ahmed Mansour commented on November 17, 2024
Good mind set
Anonymous
upvote

Pretty commented on November 17, 2024
This have been really helpful thank you so much
Anonymous
upvote

pretty commented on November 17, 2024
Helpful thanx
Anonymous
upvote

Morad commented on November 17, 2024
So many new questions in this version. Thank you for providing the updated version.
Turkey
upvote

Md. Jakir Hossain commented on November 17, 2024
pls help me given total question
BANGLADESH
upvote

Feroz commented on November 17, 2024
These questions are very similar to the exam question. Thank you for this great test dumps!
Anonymous
upvote

Mohamed commented on November 17, 2024
No Comments
Anonymous
upvote

shakila commented on November 16, 2024
how to start i m begginer
Anonymous
upvote