リアルSalesforce-MuleSoft-Developer-II問題集でSalesforce正確な解答2024年最新版を試そう [Q31-Q56]

Share

リアルSalesforce-MuleSoft-Developer-II問題集でSalesforce正確な解答2024年最新版を試そう

Salesforce MuleSoft Salesforce-MuleSoft-Developer-II試験練習問題集


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

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

 

質問 # 31
Which plugin or dependency is required to unit test modules created with XML SDK?

  • A. MUnit Extensions Maven plugin
  • B. Junit
  • C. XMLUnit
  • D. MUnit Maven plugin

正解:A

解説:
To unit test modules created with XML SDK, the developer needs to use the MUnit Extensions Maven plugin. This plugin allows testing XML SDK modules using MUnit by adding a dependency to the module under test and using a custom processor tag to invoke it. Reference: https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing


質問 # 32
A custom policy needs to be developed to intercept all cutbound HTTP requests made by Mule applications.
Which XML element must be used to intercept outbound HTTP requests?

  • A. It is not possible to intercept outgoing HTTP requests, only inbound requests
  • B. http-policy:processor
  • C. htt-policy:operation
  • D. http-policy:source

正解:D

解説:
The http-policy:processor element is used to intercept outbound HTTP requests made by Mule applications. It allows customizing the request before it is sent to the target API and modifying the response after it is received from the target API. Reference: https://docs.mulesoft.com/api-manager/2.x/policy-mule4-custom-policy#policy-xml-file


質問 # 33
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 to both the private and public keys to encrypt the data
  • B. The application needs to configure HTTPS TLS context information to encrypt the data
  • C. The application needs the private key from the backend service to encrypt the data
  • D. The application needs the public key from the backend service to encrypt the data

正解:D

解説:
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


質問 # 34
A Mule application deployed to multiple Cloudhub 2.0 replicas needs to temporarily persist large files over 10MB between flow executions, and routinely needs to query whether the file data exists on separate executions.
How can this be achieved?

  • A. Store the key and full contents of the file, caching the filename and location between requests
  • B. Use an in-memory Object Store
  • C. Store the contents of the file on separate storage, and store the key and location of the file Object using Object Store v2
  • D. Store the key and full contents of the file in an Object Store

正解:C

解説:
To temporarily persist large files over 10MB between flow executions, and routinely query whether the file data exists on separate executions, the developer should store the contents of the file on separate storage, and store the key and location of the file object using Object Store v2. This way, the developer can avoid storing large files in memory or exceeding the size limit of Object Store v2 (10MB per object). The developer can also use Object Store v2 operations to query, retrieve, or delete the file object by its key. Reference: https://docs.mulesoft.com/object-store/osv2-faq#can-i-store-files-in-object-store-v2


質問 # 35
A company has been using CI/CD. Its developers use Maven to handle build and deployment activities.
What is the correct sequence of activities that takes place during the Maven build and deployment?

  • A. Validation, initialize, compile, test, package, install verify, deploy
  • B. Validate, initialize, compile, package, test, install, verify, verify, deploy
  • C. Validate, initialize, compile, test package, verify, install, deploy
  • D. Initialize, validate, compute, test, package, verify, install, deploy

正解:C

解説:
The correct sequence of activities that takes place during the Maven build and deployment is validate, initialize, compile, test package, verify, install, deploy. These are Maven lifecycle phases that define a sequence of goals to execute during a build process. Each phase represents a stage in the build lifecycle and can have zero or more goals bound to it. Reference: https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html


質問 # 36
A company deploys 10 public APIs to CloudHub. Each API has its individual health endpoint defined. The platform operation team wants to configure API Functional Monitoring to monitor the health of the APIs periodically while minimizing operational overhead and cost.
How should API Functional Monitoring be configured?

  • A. From one private location with all 10 APIs in a single schedule
  • B. From 10 public locations with each API in its own schedule
  • C. From one public location with all 10 APIs in a single schedule
  • D. From one public location with each API in its own schedule

正解:C

解説:
To configure API Functional Monitoring to monitor the health of 10 public APIs periodically while minimizing operational overhead and cost, the developer should use one public location with all 10 APIs in a single schedule. A public location is a worker that runs in a CloudHub shared environment, which is cheaper and easier to maintain than a private location. A single schedule allows running all 10 APIs tests at the same time and frequency, which reduces complexity and resource consumption. Reference: https://docs.mulesoft.com/functional-monitoring/fm-create-monitor#create-a-monitor


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

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

正解: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
Which statement is true about using mutual TLS to secure an application?

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

正解:C

解説:
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


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

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

正解:D

解説:
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


質問 # 40
The flow is invoicing a target API. The API's protocol is HTTPS. The TLS configuration in the HTTP Request Configuration global element is set to None. A web client submits a request to http:localhost:8081/vehicles.

If the certificate of the target API is signed by a certificate authority (CA), what is true about the HTTP Request operation when the flow executes?

  • A. The HTTP Request operation will always fail regardless of the CA
  • B. The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore.
  • C. The HTTP Request operation will succeed if the CA'S certificate is present in the JRE's default keystore
  • D. The HTTP Request operation will always succeed regardless of the CA

正解:B

解説:
The HTTP Request operation will use the default truststore of the JRE to validate the certificate of the target API. If the CA's certificate is present in the truststore, the operation will succeed. Otherwise, it will fail with a handshake exception. Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#tls-default


質問 # 41
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. Remove the Put requests from the Scatter-Getter and perform them sequentially
  • B. Ensure an error-handling flow performs corrective actions to roll back all changes if any leg of the Scatter-Gather fails
  • C. Change the PUT requests inside the Scatter-Gather to POST requests
  • D. None, the flow already exhibits idempotent behavior

正解:B

解説:
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


質問 # 42
Which type of cache invalidation does the Cache scope support without having to write any additional code?

  • A. Write-through invalidation
  • B. Time to live
  • C. Notification-based invalidation
  • D. White-behind invalidation

正解:B

解説:
The Cache scope supports time to live (TTL) as a cache invalidation strategy without having to write any additional code. TTL specifies how long the cached response is valid before it expires and needs to be refreshed. The Cache scope also supports custom invalidation strategies using MEL or DataWeave expressions. Reference: https://docs.mulesoft.com/mule-runtime/4.3/cache-scope#cache_invalidation


質問 # 43
In a Mule project, Flow-1 contains a flow-ref to Flow-2 depends on data from Flow-1 to execute successfully.
Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute successfully?

  • A. Use ''Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 independent
  • B. Use ''Before Test Case'' To collect data from Flow-1 test cases before running Flow-2 test cases
  • C. Chain together the test suites and test cases for Flow-1 and Flow-2
  • D. Use 'After Test Case' to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases

正解:A

解説:
To ensure the test suites and test cases written for Flow-1 and Flow-2 will execute successfully, the developer should use a Set Event processor to pass the input that is needed by Flow-2, and keep the test cases for Flow-1 and Flow-2 independent. This way, the developer can isolate the testing of each flow and avoid coupling them together. Reference: https://docs.mulesoft.com/munit/2.3/munit-test-flow


質問 # 44
A system API that communicates to an underlying MySQL database is deploying to CloudHub. The DevOps team requires a readiness endpoint to monitor all system APIs.
Which strategy should be used to implement this endpoint?

  • A. Create a dedicated endpoint that responds with the API status only
  • B. Create a dedicated endpoint that responds with the API status and reachability of the underlying systems
  • C. Use an existing resource endpoint of the API
  • D. Create a dedicated endpoint that responds with the API status and health of the server

正解:B

解説:
To implement a readiness endpoint to monitor all system APIs, the developer should create a dedicated endpoint that responds with the API status and reachability of the underlying systems. This way, the DevOps team can check if the system API is ready to receive requests and if it can communicate with its backend systems without errors. Reference: https://docs.mulesoft.com/mule-runtime/4.3/deployment-strategies#readiness-probes


質問 # 45
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. If the two APIs use the same domain, the VM Connector can be leveraged
  • B. Instead of using the VM Connector use <flow-ref>directly
  • C. The VM Connector is used to inter-application communication, so it is not possible to use the VM Connector
  • 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

正解:A

解説:
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


質問 # 46
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 TLS version
  • C. A protocol
  • D. The Public key format

正解: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


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

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

正解:D

解説:
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


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

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

正解:B

解説:
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


質問 # 49
A Mule application deployed to a standardalone Mule runtime uses VM queues to publish messages to be consumed asynchronously by another flow.
In the case of a system failure, what will happen to in-flight messages in the VM queues that have been consumed?

  • A. For transient queues, the message will be processed after the system comes online
  • B. For nay type of queue, the message will be processed after the system comes online
  • C. For any type of queue, the message will be lost
  • D. For persistent queues, the message will be processed after the system comes online

正解:D

解説:
In case of a system failure, in-flight messages in persistent VM queues that have been consumed will be processed after the system comes online. This is because persistent VM queues store messages on disk and guarantee delivery even if there is a system crash or restart. Therefore, any in-flight messages that have been consumed but not processed will be recovered from disk and processed when the system is back online. Reference: https://docs.mulesoft.com/mule-runtime/4.3/vm-connector#persistent-queues


質問 # 50
A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the heathcare portal.
Which files does the developer need to create in order to package the custom policy?

  • A. XML template file, YAML configuration file
  • B. JSON properties file, YAML configuration file
  • C. JSON properties file, XML template file
  • D. Deployable ZIP file, YAML configuration file

正解:A

解説:
To package a custom policy using the HTTP Policy Transform Extension, the developer needs to create an XML template file and a YAML configuration file. The XML template file defines the policy logic using Mule components and placeholders for user-defined properties. The YAML configuration file defines the metadata of the policy, such as its name, description, category, parameters, and dependencies. Reference: https://docs.mulesoft.com/api-manager/2.x/http-policy-transform#packaging-the-policy


質問 # 51
A developer has created the first version of an API designed for business partners to work commodity prices.
What should developer do to allow more than one major version of the same API to be exposed by the implementation?

  • A. In Design Center, open the RAML and modify baseUn to include a variable that indicates the version number
  • B. In Anypoint Studio, generate scaffolding from the RAML, and then modify the flow names generated by APIKit to include a variable with the major version number
  • C. In Anypoint Studio, generate scaffolding from the RAML, and the modify the <http:listerner> in the generated flows to include a parameter to replace the version number
  • D. In Design Center, open the RAML and modify each operation to include the major version number

正解:A

解説:
To allow more than one major version of the same API to be exposed by the implementation, the developer should modify the baseUri property in the RAML file to include a variable that indicates the version number. The baseUri property defines the base URL of the API and can include variables that are replaced with actual values when mocking or deploying the API. By using a variable for the version number, the developer can expose different versions of the API using different base URLs and avoid conflicts or confusion. Reference: https://docs.mulesoft.com/api-designer/design-modify-raml-specs#baseuri https://docs.mulesoft.com/api-manager/2.x/api-versioning


質問 # 52
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 configure the SLA tier for the application and have the Exchange Administrator permission
  • C. To only have Exchange Administrator permission
  • D. To configure the SLA tier for the application

正解:C

解説:
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


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

正解:C

解説:
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


質問 # 54
Refer to the exhibit.

A developer generates the base scaffolding for an API in Anypoint Studio.
Which HTTP status code is returned while testing using the API Kit console if no values are entered in client-secret?

  • A. HTTP status code:400
  • B. HTTP status code:500
  • C. HTTP status code:403
  • D. HTTP status code:200

正解:C

解説:
Based on the code snippet and schema.json file below, when testing using the API Kit console if no values are entered in client-secret, HTTP status code 403 (FORBIDDEN) is returned. This is because client-secret is defined as a required header parameter in schema.json file, which means that it must be present in every request. If no values are entered in client-secret, then it is equivalent to omitting this header parameter, which violates the schema and causes APIKit Router to return HTTP status code 403. Reference: https://docs.mulesoft.com/apikit/4.x/apikit-4-headers


質問 # 55
What is the MuleSoft recommended method to encrypt sensitive property data?

  • A. The encryption key should be identical for all environments
  • B. The encryption key should be identical for all environments and the sensitive data should be different for each environment
  • C. The encryption key and sensitive data should be different for each environment
  • D. The encryption key should be different for each environment and the sensitive data should be the same for all environments

正解:C

解説:
The MuleSoft recommended method to encrypt sensitive property data is to use the Secure Properties Tool that comes with Anypoint Studio. This tool allows encrypting properties files with a secret key and then decrypting them at runtime using the same key. The encryption key and sensitive data should be different for each environment to ensure security and avoid accidental exposure of sensitive data. Reference: https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-properties


質問 # 56
......

Salesforce-MuleSoft-Developer-II試験合格を準備するため 今すぐ弊社のSalesforce MuleSoft試験パッケージお試そう:https://jp.fast2test.com/Salesforce-MuleSoft-Developer-II-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어