2025年最新の実際のSalesforce-MuleSoft-Developer-II問題集最新Salesforce練習テスト問題集ゲット [Q21-Q44]

Share

2025年最新の実際のSalesforce-MuleSoft-Developer-II問題集最新Salesforce練習テスト問題集ゲット

Salesforce-MuleSoft-Developer-II問題集PDFでSalesforce-MuleSoft-Developer-IIリアル試験問題解答


Salesforce Salesforce-MuleSoft-Developer-II 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • 保守可能でモジュール化された Mule アプリケーションとその Maven ビルドの実装: このトピックでは、Mule アプリケーションの Maven ビルド構成のモジュール化と最適化について説明します。Mule ランタイムへの Maven ベースの自動デプロイメントの実装について説明します。このトピックには、Maven を使用した MUnit テストの実行も含まれます。
トピック 2
  • 保存時および転送中のデータのセキュリティ保護: このトピックでは、環境に依存する安全なプロパティ管理の実装について説明します。キーと証明書の作成、パッケージ化、配布について説明します。さらに、このトピックには、HTTPS 経由での API の公開と呼び出しも含まれます。
トピック 3
  • 監視可能な Mule アプリケーションの実装: このトピックでは、Mule アプリケーションからヘルス チェック エンドポイントを公開し、効果的なログ記録を実装します。また、ログ レベルの変更、ログの集約と分析も含まれます。さらに、Mule アプリケーションの監視とメッセージ相関の実装も含まれます。
トピック 4
  • Mule アプリケーションから本番環境対応の Anypoint プラットフォーム管理 API を公開: このトピックには、API 関連の成果物のバージョン管理の実装と、カスタムまたはすぐに使用できる API ポリシーの構成が含まれます。さらに、ポリシーを使用した API 呼び出しのサーバー側キャッシュ、API へのアクセスの要求、HTTP コールバックの実装についても説明します。
トピック 5
  • パフォーマンスと信頼性に優れた Mule アプリケーションの実装: ObjectStore の実装と、VM および AnypointMQ コネクタを使用したフォールト トレラントでパフォーマンスに優れ、追跡可能なメッセージ パッシングの確保について説明します。このトピックでは、HTTP ベースの API のフォールト トレラントな呼び出し、アサーションとメッセージの検証についても説明します。

 

質問 # 21
When a client and server are exchanging messages during the mTLS handshake, what is being agreed on during the cipher suite exchange?

  • A. An encryption algorithm
  • B. The Public key format
  • C. A protocol
  • D. The TLS version

正解:A

解説:
A cipher suite is a set of cryptographic algorithms that are used to secure the communication between a client and a server. A cipher suite consists of four components: a key exchange algorithm, an authentication algorithm, an encryption algorithm, and a message authentication code (MAC) algorithm. During the cipher suite exchange, the client and the server agree on which encryption algorithm to use for encrypting and decrypting the data. Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#cipher-suites


質問 # 22
The Center for Enablement team published a common application as a reusable module to the central Nexus repository.
How can the common application be included in all API implementations?

  • A. Download the common application from Naxus and copy it to the src/main/resources folder in the API
  • B. Add a Maven dependency in the POM file with jar as <classifier>
  • C. Copy the common application's source XML file and out it in a new flow file in the src/main/mule folder
  • D. Add a Maven dependency in the PCM file with multiple-plugin as <classifier>

正解:B

解説:
To include a common application as a reusable module in all API implementations, the developer should add a Maven dependency in the POM file with jar as <classifier>. This way, the developer can reuse Mule code from another application by packaging it as a JAR file and adding it as a dependency in the POM file of the API implementation. The classifier element specifies that it is a JAR file. Reference: https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#add-a-maven-dependency-to-the-pom-file


質問 # 23
Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back failed requests in sequence?

  • A. A Parallel for Each scope with each HTTP request wrapped in a Try scope
  • B. A database as a transactional outbox and an Until Successful router to retry any requests
  • C. Scatter-Gather as central Saga orchestrator for all API request with compensating actions for failing routes
  • D. VM queues as a reliability pattern with error handlers to roll back any requests

正解:C

解説:
To invoke multiple HTTP APIs in parallel and roll back failed requests in sequence, the developer should use a Scatter-Gather router as a central Saga orchestrator for all API requests with compensating actions for failing routes. A Scatter-Gather router executes multiple routes concurrently and aggregates the results. A Saga orchestrator coordinates a series of actions across different services and handles failures by executing compensating actions. Therefore, using a Scatter-Gather router as a Saga orchestrator allows invoking multiple HTTP APIs in parallel and rolling back any failed requests in sequence. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/saga


質問 # 24
Which statement is true when working with correlation IDS?

  • A. The VM Connector does not automatically propagate correction IDs
  • B. The Anypoint MQ Connector automatically propagates correlation IDS
  • C. The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request
  • D. The HTTP Listener regenerates correlation IDs regardless of the HTTP request

正解:C

解説:
When working with correlation IDs, the HTTP Listener generates correlation IDs unless a correlation ID is received in the HTTP request. In that case, it propagates the received correlation ID throughout the flow execution. Correlation IDs are used to track events across different flows or applications. Reference: https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes


質問 # 25
A mule application exposes and API for creating payments. An Operations team wants to ensure that the Payment API is up and running at all times in production.
Which approach should be used to test that the payment API is working in production?

  • A. Configure the application to send health data to an external system
  • B. Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API
  • C. Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself
  • D. Monitor the Payment API directly sending real customer payment data

正解:B

解説:
To test that the payment API is working in production, the developer should create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API. This way, the developer can isolate the health check endpoint from the API traffic and avoid affecting the performance or availability of the API. The health check endpoint should return a simple response that indicates the status of the API, such as OK or ERROR. Reference: https://docs.mulesoft.com/api-functional-monitoring/afm-create-monitor#create-a-monitor


質問 # 26
When registering a client application with an existing API instance or API Group instance, what is required to manually approve or reject request access?

  • A. To configure the SLA tier for the application and have the role of Organization Administrator, API Manager Environment Administrator, or the Manage Contacts permission
  • B. To only have Exchange Administrator permission
  • C. To configure the SLA tier for the application and have the Exchange Administrator permission
  • D. To configure the SLA tier for the application

正解:B

解説:
To manually approve or reject request access when registering a client application with an existing API instance or API Group instance, it is required to configure the SLA tier for the application and have one of the following roles or permissions: Organization Administrator, API Manager Environment Administrator, or Manage Contracts permission. These roles or permissions allow managing client applications and contracts in API Manager. Reference: https://docs.mulesoft.com/api-manager/2.x/client-applications#managing-client-applications-and-contracts


質問 # 27
A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second.
What will happen when an HTTP request is received?

  • A. In case of a cache it, only the HTTP Caching policy is evaluating; then the cached response is returned to the caller
  • B. In case of a cache miss, only the HTTP Caching policy is evaluated; then the API retrieves the data from the API implementation, and the policy stores the data to be cached in Object Store
  • C. In case of a cache hit, both the OAuth and HTTP Caching policies are evaluated; then the cached response is returned to the caller
  • D. In case of a cache miss, both the OAuth and HTTP Caching policies are evaluated; then the API retrieves the data from the API implementation, and the policy does not store the data in Object Store

正解:A

解説:
When an HTTP request is received and the HTTP Caching policy is applied first, it checks if there is a cached response for that request in Object Store. If there is a cache hit, meaning that a valid cached response exists, then only the HTTP Caching policy is evaluated and the cached response is returned to the caller without invoking the OAuth policy or the API implementation. If there is a cache miss, meaning that no valid cached response exists, then both the HTTP Caching policy and the OAuth policy are evaluated before invoking the API implementation. Reference: https://docs.mulesoft.com/api-manager/2.x/http-caching-policy#policy-ordering


質問 # 28
An organization uses CloudHub to deploy all of its applications.
How can a common-global-handler flow be configured so that it can be reused across all of the organization's deployed applications?

  • A. Create a Mule Plugin project
  • B. Create a common-global-error-handler flow in all Mule Applications Refer to it flow-ref wherever needed.
  • C. Create a Mule plugin project
    Create a common-global-error-handler flow inside the plugin project.
    Use this plugin as a dependency in all Mute applications.
    Import that configuration file in Mute applications.

正解:A

解説:
Create a common-global-error-handler flow inside the plugin project.
Use this plugin as a dependency in all Mule applications
D.
Create a Mule daman project.
Create a common-global-error-handler flow inside the domain project.
Use this domain project as a dependency.
Explanation:
To configure a common-global-handler flow that can be reused across all of the organization's deployed applications, the developer should create a Mule Plugin project, create a common-global-error-handler flow inside the plugin project, and use this plugin as a dependency in all Mule applications. This way, the developer can import the common-global-error-handler flow in any application that needs it and avoid duplicating the error handling logic. Reference: https://docs.mulesoft.com/mule-runtime/4.3/error-handling#global-error-handler


質問 # 29
A company with MuleSoft Titanium develops a Salesforce System API using MuleSoft out-of-the-box Salesforce Connector and deploys the API to CloudHub.
Which steps provide the average number of requests and average response time of the Salesforce Connector?

  • A. Access Anypoint Monitoring built-in dashboard.
    Select a resource.
    Locate the information under Log Manager < Raw Data.
  • B. Access Anypoint Monitoring's built-in dashboard
    Seclect a resource.
    Create a custom dashboard to retrieve the information.
  • C. Access Anypoint Monitoring's built-in dashboard. Select a resource.
    Locate the information under the Connectors tab.
  • D. Change the API Implementation to capture the information in the log.
    Retrieve the information from the log file.

正解:C

解説:
To get the average number of requests and average response time of the Salesforce Connector, the developer should access Anypoint Monitoring's built-in dashboard, select a resource (such as an application or an API), and locate the information under the Connectors tab. The Connectors tab shows metrics for each connector used by the resource, such as average requests per minute, average response time, and failures. Reference: https://docs.mulesoft.com/monitoring/built-in-dashboard-reference


質問 # 30
An API has been developed and deployed to CloudHub Among the policies applied to this API is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio and does not want any policies applied because their workstation is not included in the allowlist.
What must the developer do in order to run this test locally without the policies applied?

  • A. Pass in the runtime parameter ''-Danpow.platform.gatekeeper=disabled''
  • B. Deactivate the API in API Manager so the Autodiscovery element will not find the application when it runs in Studio
  • C. Create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager
  • D. Run the test as-s, with no changes because the Studio runtime will not attempt to connect to API Manager

正解:A

解説:
To run a test locally without the policies applied, the developer should create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager. This way, the developer can use different configuration properties for different environments and avoid triggering API autodiscovery when running tests locally. API autodiscovery is a mechanism that associates an API implementation with its corresponding API specification and policies in API Manager based on its API instance ID. By setting this ID to a value that does not exist in API Manager, the developer can prevent API autodiscovery from finding and applying any policies to the local test. Reference: https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#configuring-api-autodiscovery https://docs.mulesoft.com/mule-runtime/4.3/configuring-properties


質問 # 31
Which configurations are required for HTTP Listener to enable mTLS authentication?

  • A. Set an appropriate reconnection strategy and use persistent connections for the listener
  • B. Set an appropriate truststore configuration and reconnection strategy for the listener
  • C. Set an appropriate keystore and truststore configuration for the listener
  • D. Set an appropriate keystore configuration and use persistent connections for the listener

正解:C

解説:
To enable mTLS authentication for HTTP Listener, the developer needs to set an appropriate keystore and truststore configuration for the listener. The keystore contains the certificate and private key of the Mule application that are used to prove its identity to clients. The truststore contains the certificates of trusted clients that are allowed to access the Mule application. Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual-authentication


質問 # 32
A Mule application includes a subflow containing a Scatter.Gather scope. Within each log of the Scatter.Gatter. an HTTP connector calls a PUT endpoint to modify records in different upstream system. The subflow is called inside an Unit successful scope to retry if a transitory exception is raised.
A technical spike is being performed to increase reliability of the Mule application.
Which steps should be performed within the Mule flow above the ensure idempontent behavior?

  • A. Change the PUT requests inside the Scatter-Gather to POST requests
  • B. Remove the Put requests from the Scatter-Getter and perform them sequentially
  • C. Ensure an error-handling flow performs corrective actions to roll back all changes if any leg of the Scatter-Gather fails
  • D. None, the flow already exhibits idempotent behavior

正解:C

解説:
To ensure idempotent behavior within a Mule flow that contains a subflow with a Scatter-Gather scope, the developer should ensure an error-handling flow performs corrective actions to roll back all changes if any leg of the Scatter-Gather fails. Idempotency means that multiple identical requests have the same effect as a single request. Therefore, if one of the HTTP requests inside the Scatter-Gather fails, the error-handling flow should undo any changes made by other successful requests to ensure consistency and avoid partial updates. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/error-handling


質問 # 33
A scatter-gather router is configured with four routes:Route A, B, C and D.
Route C false.

  • A. Payload failures['2']
  • B. Error,errorMesage.payload.results ['2']
  • C. Payload ['2']
  • D. Error,errorMessage,payload.failures['2']

正解:B

解説:
The result of accessing route C failure is Error,errorMessage,payload.failures['2']. This is because a scatter-gather router returns an aggregated message that contains an array of results from each route and an array of failures from each route. The failures array contains error objects with information about each failed route execution. To access route C failure, which is the third route (index 2), the developer needs to use Error.errorMessage.payload.failures['2'] expression. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-reference#scatter-gather-output


質問 # 34
Which statement is true about using mutual TLS to secure an application?

  • A. Mutual TLS increases the encryption strength versus server-side TLS alone
  • B. Mutual TLS authenticates the identity of the server before the identity of the client
  • C. Mutual TLS ensures only authorized end users are allowed to access an endpoint
  • D. Mutual TLS requires a hardware security module to be used

正解:B

解説:
Mutual TLS (mTLS) is an extension of TLS that requires both parties (client and server) to present their certificates to each other during the handshake process. This way, both parties can verify each other's identity and establish a secure connection. The authentication of the server happens before the authentication of the client, as the server sends its certificate first and then requests the client's certificate. Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual-authentication


質問 # 35
Refer to the exhibit.
What required changes can be made to give a partial successful response in case the United Airlines API returns with a timeout?

  • A. Add Flow Reference components inside a Try scope
    Set the payload to a default value '' inside the error handler using the On Error Propagate scope
  • B. Add a Scatter-Gather component inside a Try scope.
    Set the payload to a default value 'Error'' inside the error handler using the On Error Continue scope.
  • C. Add Flow Reference components inside a Try scope.
    Set the payload to a default value'' insider the error handler using the ON Error Continue scope
  • D. Add a Scatter-gather component inside a Try scope.
    Set the payload to a default value 'Error' inside the error handler using the On Error Propagate scope.

正解:B

解説:
To give a partial successful response in case the United Airlines API returns with a timeout, the developer should add a Scatter-Gather component inside a Try scope, and set the payload to a default value 'Error' inside the error handler using the On Error Continue scope. A Scatter-Gather component allows sending multiple requests concurrently and aggregating the responses into an array. A Try scope allows handling errors that occur within it using an error handler. An On Error Continue scope allows continuing the flow execution after handling an error. Therefore, by using these components, the developer can send requests to both APIs in parallel, handle any timeout errors from United Airlines API, and return a partial response with a default value for that API. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/try-scope-concept https://docs.mulesoft.com/mule-runtime/4.3/on-error-continue-concept


質問 # 36
Two APIs are deployed to a two-node on-prem cluster. Due to a requirements change, the two APIs must communicate to exchange data asynchronously.

  • A. The VM Connector is used to inter-application communication, so it is not possible to use the VM Connector
  • B. If the two APIs use the same domain, the VM Connector can be leveraged
  • C. Instead of using the VM Connector use <flow-ref>directly
  • D. It is not possible to use the VM Connector since the APIs are running in a cluster mode and each mode has it own set of VM Queues

正解:B

解説:
To communicate asynchronously between two APIs deployed to a two-node on-prem cluster, the developer can use the VM Connector if the two APIs use the same domain. The VM Connector allows passing messages between different Mule applications within a single Mule runtime instance or across different instances using shared memory or persistent storage. If two APIs are deployed under the same domain, they can share resources such as VM queues and communicate asynchronously using VM Connector operations. Reference: https://docs.mulesoft.com/mule-runtime/4.3/vm-connector https://docs.mulesoft.com/mule-runtime/4.3/shared-resources


質問 # 37
Refer to the exhibit.
What action must be performed to log all the errors raised by the VM Connector?

  • A. Configure <Logger level-'ERROR'/> inside the VM Connector configuration
  • B. Add <AsyncLOgger name='orgroute.extensions vm' level=ERROR'/> inside the Appenders tag
  • C. Add <AsyncLOgger name='orgroute.extensions vm' level=ERROR'I> inside the Logger tag
  • D. Nothing, as error-level events are automatically logged

正解:B

解説:
To log all the errors raised by the VM Connector, the developer needs to add an async logger with the name 'org.mule.extension.vm' and the level 'ERROR' inside the appenders tag of the log4j2.xml file. This will enable logging all error-level events generated by the VM Connector to the console appender. Reference: https://docs.mulesoft.com/mule-runtime/4.3/logging-in-mule#configuring-custom-logging-settings


質問 # 38
Refer to the exhibit.

Based on the code snippet, schema,json file, and payload below, what is the outcome of the given code snippet when a request is sent with the payload?

  • A. The Mule flow will execute successfully with status code 204
  • B. The Mule flow will throw the exception 'JSON:SCHEMA_NOT_HONOURED
  • C. The Mule flow will execute successfully with status code 200, and the response will be the JSON sent in request
  • D. The Mule flow will execute successfully with status code 200m and a response will display the message '' Age in years which must equal to or greater than zero.''

正解:B

解説:
Based on the code snippet, schema.json file, and payload below, the outcome of the given code snippet when a request is sent with the payload is that the Mule flow will throw the exception 'JSON:SCHEMA_NOT_HONOURED'. This is because the payload does not conform to the schema.json file, which specifies that age must be a number greater than or equal to zero. The payload has age as a string with a negative value, which violates the schema. Therefore, the validate-schema operation throws an error with type 'JSON:SCHEMA_NOT_HONOURED'. Reference: https://docs.mulesoft.com/json-module/1.1/json-validate-schema


質問 # 39
A developer is working on a project that requires encrypting all data before sending it to a backend application. To accomplish this, the developer will use PGP encryption in the Mule 4 Cryptography module.
What is required to encrypt the data before sending it to the backend application?

  • A. The application needs the public key from the backend service to encrypt the data
  • B. The application needs the private key from the backend service to encrypt the data
  • C. The application needs to both the private and public keys to encrypt the data
  • D. The application needs to configure HTTPS TLS context information to encrypt the data

正解:A

解説:
To encrypt the data before sending it to the backend application using PGP encryption, the application needs the public key from the backend service. PGP encryption uses a public-key cryptography system, which means that each party has a pair of keys: a public key and a private key. The public key is used to encrypt data, and the private key is used to decrypt data. Therefore, to encrypt data for a specific recipient (the backend service), the application needs to use the recipient's public key. The recipient can then use its own private key to decrypt the data. Reference: https://docs.mulesoft.com/mule-runtime/4.3/cryptography-pgp


質問 # 40
A Mule application need to invoice an API hosted by an external system to initiate a process. The external API takes anywhere between one minute and 24 hours to compute its process.
Which implementation should be used to get response data from the external API after it completes processing?

  • A. Use an HTTP Connector inside Async scope to invoice the API and wait for a response
  • B. Use an HTTP Connector to invoke the API and wait for a response
  • C. Expose an HTTP callback API in Mule and register it with the external system
  • D. Use a Scheduler to check for a response every minute

正解:C

解説:
To get response data from the external API after it completes processing, the developer should expose an HTTP callback API in Mule and register it with the external system. This way, the external API can invoke the callback API with the response data when it is ready, instead of making the Mule application wait for a long time or poll for a response repeatedly. Reference: https://docs.mulesoft.com/mule-runtime/4.3/http-listener-ref#callback


質問 # 41
A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

  • A. The name of the flow that has HTTP listener to receive all incoming RESTful operation requests
  • B. The name of the flow that has APlkit Console to receive all incoming RESTful operation requests.
  • C. Any of the APIkit generate implement flows
  • D. Northing because flowRef is an optional attribute which can be passed runtime

正解:A

解説:
To use API autodiscovery to access and enforce policies for a RESTful implementation, flowRef must be set to the name of the flow that has HTTP listener to receive all incoming RESTful operation requests. This way, API autodiscovery can identify the API implementation and associate it with the corresponding API specification and policies in API Manager. The flow that has HTTP listener is usually the main flow that contains the APIKit Router. Reference: https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#flowref


質問 # 42
Which command is used to convert a JKS keystore to PKCS12?

  • A. Keytool-importkeystore -srckeystore keystore p12-srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12
  • B. Keytool-importkeystore -srckeystore keystore jks-srcstoretype PKCS12 -destkeystore keystore.p12 -deststoretype JKS
  • C. Keytool-importkeystore -srckeystore keystore jks-srcstoretype JKS -destkeystore keystore.p13 -deststoretype PKCS12
  • D. Keytool-importkeystore -srckeystore keystore p12-srcstoretype PKCS12 -destkeystore keystore.jks -deststoretype JKS

正解:A

解説:
To convert a JKS keystore to PKCS12, the developer needs to use the keytool-importkeystore command with the following options: -srckeystore keystore.jks -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12. This command imports all entries from a source JKS keystore (keystore.jks) into a destination PKCS12 keystore (keystore.p12). Reference: https://docs.oracle.com/en/java/javase/11/tools/keytool.html#GUID-5990A2E4-78E3-47B7-AE75-6D1826259549


質問 # 43
A new Mule project has been created in Anypoint Studio with the default settings.
Which file inside the Mule project must be modified before using Maven to successfully deploy the application?

  • A. Pom.xml
  • B. Settings.xml
  • C. Config.yaml
  • D. Mule.artificact.json

正解:A

解説:
To use Maven to successfully deploy the application, the developer needs to modify the pom.xml file inside the Mule project. The pom.xml file contains the configuration and dependencies of the Mule application, as well as the deployment information such as the CloudHub region, environment, and worker size. The developer needs to specify these properties in the pom.xml file before using Maven to deploy the application. Reference: https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#application-deployment-descriptor


質問 # 44
......

Salesforce-MuleSoft-Developer-IIプレミアム試験エンジンPDFをダウンロード:https://www.passtest.jp/Salesforce/Salesforce-MuleSoft-Developer-II-shiken.html

Salesforce-MuleSoft-Developer-II試験 [2025] 問題集でSalesforceのPDF問題:https://drive.google.com/open?id=1iADdwjYHj9bnJAuOmJEprXkv0DvAQvIS