PDII日本語別格な問題集をダウンロードして無料で最新の(PDII日本語テスト問題集をゲット) [Q90-Q111]

Share

PDII日本語別格な問題集をダウンロードして無料で最新の(PDII日本語テスト問題集をゲット2024年07月05日)

PDII日本語問題集は合格保証します合格できるPDII日本語試験問題2024年更新

質問 # 90
開発者は、次の HTML スニペットを使用して、sObject Lightning ページに常駐する再利用可能な Aura コンポーネントを開発しています。
Caura: コンポーネントの実装 - "forcethaaRecordid, flexipage:availableForAllPageTypes">
<div>こんにちは!</div>
</aura:コンポーネント>
コンポーネントのコントローラーは、sobject がない Lightning ページのコンテキストをどのように取得できますか?
追加のベストカバレッジが必要ですか?

  • A. force:hasSobjectName を implements 属性に追加します。
  • B. オブジェクト タイプをコンポーネント属性として設定します。
  • C. デザイン属性を作成し、App Builder で構成します
  • D. Apex クラスで getSObjectType () メソッドを使用する

正解:A


質問 # 91
Universal Charities (UC) は、Salesforce を使用して個人や法人からクレジット カード引き落としの形で電子寄付を集めています。
カスタマー サービス エージェントがクレジット カード情報を入力すると、寄付が処理されるようにその情報が 8 つのサードパーティ決済プロセッサに送信される必要があります。UC は個人向けに 1 つの決済プロセッサを使用し、法人向けには別の決済プロセッサを使用します。
システム管理者が展開後に必要に応じて設定を変更できるように、開発者はさまざまな決済プロセッサの設定を保存するために何を使用する必要がありますか?

  • A. 階層カスタム設定
  • B. カスタムメタデータ
  • C. カスタムオブジェクト
  • D. リストのカスタム設定

正解:B

解説:
Custom metadata types are ideal for storing payment processor settings that need to be changed by an administrator post-deployment. They can be deployed with managed packages and are upgradeable. Unlike Custom Objects, Custom Metadata Types also support a deployment with active data and can have their records retrieved via SOQL in Apex.References: Salesforce Help - Custom Metadata Types Overview


質問 # 92
Salesforce ユーザーは、アカウントを保存するときに常に「トリガーの深さが最大値を超えました」というエラーを受け取ります。開発者はこのエラーをどのように修正できるでしょうか?

  • A. 3zure アノテーションを使用するようにトリガーを変換し、後続のトリガー呼び出しを Account オブジェクトにチェーンします。
  • B. トリガー ロジックを 2 つの別々のトリガーに分割します。
  • C. ヘルパー クラスを使用して、トリガーが初めて起動されたときにブール値を TRUE に設定し、ブール値が FALSE の場合にのみ起動されるようにトリガーを変更します。
  • D. L=MultiThread=true アノテーションを使用するようにトリガーを変更します。

正解:C


質問 # 93
REST API___________。

  • A. アカウント、見込み客、カスタム オブジェクトなどのレコードを作成、取得、更新、または削除するために使用され、パスワードの維持、検索の実行などを可能にします。
  • B. Salesforce と対話するための、強力で便利でシンプルな REST ベースの Web サービス インターフェイスを提供します。その利点には、統合と開発の容易さが含まれ、モバイル アプリケーションや Web プロジェクトで使用するための優れたテクノロジの選択肢です。
  • C. 組織のカスタマイズを取得、リリース、作成、更新、または削除するために使用されます。最も一般的な用途は、変更を Sandbox またはテスト組織から本番環境に移行することです。
  • D. REST 原則に基づいており、大量のデータ セットの読み込みまたは削除用に最適化されています。あなたはそれを使用することができます
    バッチを送信して、多くのレコードを非同期的にクエリ、queryAII、insert、update、upsert、または delete する

正解:B


質問 # 94
Universal Containers には、アカウントが顧客としてマークされたときにアカウント計画レコードを作成するアカウントに Apex トリガーがあります。最近、ワークフロー ルールが追加され、アカウントが顧客としてマークされるたびに、「顧客開始日」の日付フィールドが今日の日付で更新されます。
ワークフロー ルールが追加されてから、アカウントが顧客としてマークされるたびに、2 つのアカウント プラン レコードが作成されます。
これが発生する原因は何ですか?

  • A. Apex トリガはバルクセーフではなく、for ループ内で挿入を呼び出します。
  • B. ワークフロー ルール フィールドの更新は、「フィールド変更後にワークフロー ルールを再評価する」としてマークされます。
  • C. Apex トリガは、静的変数を使用せず、一度だけ起動するようにします。
  • D. ワークフロー ルールは、レコードが作成されたときと編集されるたびに評価するように構成されています。

正解:C


質問 # 95
Universal Containers は、Apex バッチプロセスの終了メソッドから直接サポート担当者にメールを送信するのを待つのではなく、未処理の例外が発生した場合に外部システムに通知したいと考えています。
この要件を満たす適切なパブリッシュ/サブスクライブ ロジックは何ですか?

  • A. addError メソッドを使用してエラー イベントを発行します。
  • B. イベントバスを使用してエラー イベントを発行します。public()メソッド。
  • C. 公開する必要はありません。外部システムに BatchapexErrorEvent をサブスクライブさせます。
  • D. エラー イベントをフローで発行します。

正解:C

解説:
Use BatchApexErrorEvent for notifications. It's automatically triggered for unhandled exceptions in batch Apex. No need for manual publishing. External systems can subscribe to this event to receive notifications.References: Batch Apex


質問 # 96
開発者は、テスト クラス内から組織データにアクセスしようとしています。テストクラスに (seeAllData=true) アノテーションが必要な sObject タイプはどれですか?

  • A. プロフィール
  • B. ユーザー
  • C. レコードの種類
  • D. レポート

正解:A

解説:
Test (SeeAllData=true) annotation is used to grant test classes and individual test methods access to all data in the organization, including pre-existing data that the test didn't create. This annotation is required for Apex code saved using Salesforce API version 24.0 and later.
Profile is one of the sObject types that require the isTest (SeeAllData=true) annotation to access org data from within a test class. Other sObject types that require this annotation are User, UserRole, Group, GroupMember, QueueSobject, and CronTrigger.
Therefore, using Profile as the sObject type requires the test class to have the isTest (SeeAllData=true) annotation.


質問 # 97
バルク API__________。

  • A. REST 原則に基づいており、大量のデータ セットの読み込みまたは削除用に最適化されています。これを使用して、バッチを送信することにより、多くのレコードを非同期でクエリ、queryAII、挿入、更新、アップサート、または削除できます
  • B. アカウント、見込み客、カスタム オブジェクトなどのレコードを作成、取得、更新、または削除するために使用され、パスワードの維持、検索の実行などを可能にします。
  • C. 組織のカスタマイズを取得、リリース、作成、更新、または削除するために使用されます。最も一般的な用途は、変更を Sandbox またはテスト組織から本番環境に移行することです。
  • D. Salesforce と対話するための、強力で便利でシンプルな REST ベースの Web サービス インターフェイスを提供します。その利点には、統合と開発の容易さが含まれ、モバイル アプリケーションや Web プロジェクトで使用するための優れたテクノロジの選択肢です。

正解:A


質問 # 98
開発者は、サンドボックスで Acme アカウントのすべてのアカウント フィールドを照会するために何を使用する必要がありますか?

  • A. SELECT ALL FROM Account WHERE Name = 'Acme' LIMIT 1
  • B. SELECT * FROM ACCOUNT WHERE Name = 'Acme' LIMIT 1
  • C. SELECT FIELDS FROM Account WHERE Name = 'Acme' LIMIT 1
  • D. SELECT FIELDS (ALL) FROM Account WHERE Name = 'Acme' LIMIT 1

正解:D


質問 # 99
Universal Containers は、外部 JavaScript および C55 ファイルを含める必要がある Visualforce ページを開発します。彼らは、ページの効率的な読み込みとキャッシュを確保したいと考えています。
この目標を達成するにはどの機能を利用する必要がありますか?

  • A. リモートアクション
  • B. 静的リソース
  • C. ページブロックテーブル
  • D. アクション関数

正解:B

解説:
Static resources are ideal for efficient loading and caching of external files in Visualforce. They allow bundling and minimizing HTTP requests.References: Using Static Resources


質問 # 100
会社には、Opportunity オブジェクトとカスタム フィールドへのルックアップを持つ Request__c オブジェクトがあります。Status__c、値は Open、Closed、
無効です。Status__c 値を持つ関連する Request__c レコードがある場合、Opportunity を削除することはできません。
オープンまたは「クローズ」の。
削除を防ぐための要件を強制する最適な方法は何ですか?

  • A. 機会に関するプロセス
  • B. リクエストに応じたプロセス__c
  • C. 商談に対する Apex トリガー
  • D. Request__c の Apex トリガ

正解:C


質問 # 101
開発者は、任意の 2 つのオブジェクトレコード間の Salesforce 名項目を比較する汎用 Apex メソッドを作成したいと考えています。たとえば、取引先と商談の名前フィールドを比較します。またはアカウント名と連絡先。
Name フィールドが存在すると仮定すると、開発者はこれをどのように行うべきでしょうか?

  • A. 文字列を使用します。Replace () メソッドを使用して、各 Name フィールドの内容を解析し、結果を比較します。
  • B. description) 関数を使用して、各 Name フィールドの値を比較します。
  • C. 各オブジェクトを sObject にキャストし、sObject.get を使用して Name フィールドを比較します。
  • D. Salesforce Metadata API を使用して各オブジェクトの値を抽出し、名前フィールドを比較します。

正解:C

解説:
The best way to write a generic Apex method that will compare the Salesforce Name field between any two object records is to cast each object into an sObject and use sObject.get to compare the Name fields. An sObject is a generic abstract type that can represent any object record, and it has methods to access and manipulate the fields of the record. The developer can use the sObject.get method to get the value of a field by passing the field name as a string parameter. The developer can then compare the values of the Name fields of the two sObject records using the == operator. Using the describe function to compare the values of each Name field will not work, as the describe function is used to get the metadata information about an object or a field, such as the label, the data type, or the picklist values, but it does not get the actual value of the field. Using the Salesforce Metadata API to extract the value of each object and compare the Name fields will not work, as the Salesforce Metadata API is used to retrieve and deploy the configuration and customization metadata of the org, such as the objects, fields, layouts, or workflows, but it does not retrieve or deploy the data records of the objects. Using a string.replace method to parse the contents of each Name field and then compare the results will not work, as the string.replace method is used to replace a substring within a string with another substring, but it does not extract the value of the field from the object record. Reference: [sObject Class], [Apex Developer Guide]


質問 # 102
開発者は、次のテスト メソッドを作成しました。

開発者組織には、名前が Test で始まる 5 つのアカウントがあります。開発者は、開発者コンソールでこのテストを実行します。
テスト コードの実行後、正しいステートメントはどれですか?

  • A. テストは失敗します。
  • B. 名前が Test で始まるアカウントは 6 つになります。
  • C. 名前が Test で始まるアカウントは 5 つになります"
  • D. 名前が「Test」で始まるアカウントはありません。

正解:C


質問 # 103
開発者は、メタデータを取得してリリースし、クエリ結果の単純な CSV エクスポートを実行し、JSON 応答を表示して Apex REST コールをデバッグしたいと考えています。
開発者はどのツールを使用する必要がありますか?

  • A. ワークベンチ
  • B. Force.com 移行ツール
  • C. 開発者コンソール
  • D. Force.com IDE

正解:A


質問 # 104
開発者は、非同期プロセスのトリガーが正常に実行されたことをどのように確認する必要がありますか?

  • A. Salesforce にレコードを挿入し、seeAllData=true を使用してから、アサーションを実行します。
  • B. テストクラス内にすべてのテストデータを作成し、システムを使用します。{} を実行してトリガーを呼び出し、アサーションを実行します。
  • C. すべてのテスト データを作成し、残りのクラスで future を使用してから、アサーションを実行します。
  • D. テスト クラスですべてのテスト データを作成し、Test.startTest{} と Test.etopTaat {} を呼び出して、アサーションを実行します。

正解:D

解説:
Use Test.startTest() and Test.stopTest(). These methods ensure asynchronous code runs within test execution and allows for accurate assertions.References: Testing Asynchronous Apex


質問 # 105
開発者は、Account でトリガーを正常にアサートするテスト クラスを作成しました。サンドボックス環境でデータを正しく起動および更新します。
カスタム プロファイルを持つ Salesforce 管理者は、変更セットを介してこのトリガーを本番環境にデプロイしようとしますが、テスト クラスは権限不足エラーで失敗します。
問題を解決するために開発者は何をすべきですか?

  • A. system.runAd () を最適なクラスに追加して、正しいオブジェクト権限を持つユーザーとしてトリガーを実行します。
  • B. テスト、ステートメント ( ) がテスト クラスの For ループ内にないことを確認します。
  • C. 「すべてのテストを管理者ユーザーとして実行」を有効にするように本番環境を構成します。
  • D. テスト クラスに seeAllData=true を追加して、運用環境の共有モデル内で動作するようにします。

正解:A


質問 # 106
ある企業には、いくつかの異なるオブジェクトといくつかの共通オブジェクトを含むさまざまな Salesforce 組織があり、すべての異なる組織で共通のオブジェクト レコードを作成、取得、更新できる単一の Java アプリケーションを構築したいと考えています。
アプリケーションはどの統合方法を使用する必要がありますか?

  • A. パートナー WSDL を使用した SOAP API
  • B. Apex REST Web サービス
  • C. メタデータ APT
  • D. Enterprise WSDL を使用した SOAP API

正解:A

解説:
SOAP API with the Partner WSDL is a method of integration that can be used to create, retrieve, and update common object records in all of the different orgs. SOAP API is a web service that can be used to access Salesforce data and functionality from any programming language that supports SOAP, such as Java. The Partner WSDL is a type of WSDL (Web Service Description Language) file that can be used to generate SOAP client classes that are loosely coupled to the Salesforce metadata. The Partner WSDL can handle different objects and fields in different orgs, and can dynamically discover the schema at runtime. By using SOAP API with the Partner WSDL, the developer can create a single Java application that can interact with any Salesforce org, regardless of the object and field differences. Reference: [SOAP API], [Partner WSDL]


質問 # 107
Lightning Web コンポーネントを構築する際に、開発者がデータ取得の最高のパフォーマンスを得るために実装する必要がある 3 つのアプローチはどれですか?
3つの答えを選択してください

  • A. 頻繁にアクセスされるデータには遅延ロードを使用します。
  • B. 可能な限り (cacheable-true) を使用します。
  • C. Lightning データ サービスを使用します。
  • D. layoutTypes : ['Full'] を使用して一連のフィールドを表示します。
  • E. getRecordUi を使用してメタデータを取得します。

正解:A、B、C


質問 # 108
Universal Containers (UC) は翻訳ワークベンチを有効にし、選択リストの値を翻訳しました。UC には、Account オブジェクトにカスタムの複数選択リスト フィールド Product__c があり、営業担当者はこれを使用して、Account がすでに所有している UC の製品を指定できます。開発者は、Product_c 項目を含む取引先レコードを取得する Apex メソッドを作成する必要があります。
Products__c の値が現在のユーザーの言語であることを確認するには、開発者は何をすべきでしょうか?

  • A. SOQL クエリで Locale 句を使用します。
  • B. SOQL 結果リストの各レコードでtranslate メソッドを呼び出します。
  • C. SOQL 結果リストの各レコードにロケールを設定します。
  • D. SOQL クエリのフィールドリストでラベル ducts__c) を使用します。

正解:D

解説:
To ensure the value of Products__c is in the current user's language, the developer should use toLabel(Products__c) in the fields list of the SOQL query. The toLabel() function converts the picklist values in the query result to the user's language, if the translation workbench is enabled and the values are translated. This way, the developer can display the translated values of the custom multi-select picklist field in the Apex method. Setting the locale on each record in the SOQL result list would not work, as the locale is a user attribute, not a record attribute, and it cannot be changed by Apex code. Calling the translate method on each record in the SOQL result list would not work, as there is no such method in Apex. Using the Locale clause in the SOQL query would not work, as there is no such clause in SOQL. Reference: [Using the toLabel() Function], [Locale Class]


質問 # 109
プラットフォーム イベントが Salesforce 組織で定義された後、イベントを発行できるメカニズムはどれですか? 2つの答えを選択してください

  • A. 内部アプリは Process Builder を使用できます。
  • B. 外部アプリは標準のストリーミング API を使用できます。
  • C. 外部アプリにはカスタム Apex Web サービスが必要です。
  • D. 内部アプリは送信メッセージを使用できます

正解:A、D


質問 # 110
以下のコード スニペットを参照してください。

Credit_Memo__c というカスタム オブジェクトが Salesforce 環境に存在します。このタイプのレコードを取得して操作する新機能開発の一環として、開発者は、Apex トランザクション内でレコードのセットが変更されるときに競合状態が確実に防止されるようにする必要があります。
前述の Apex コードで、開発者はクエリステートメントを変更して SOQL 機能を使用し、トランザクション内の競合状態を防ぐにはどうすればよいでしょうか?

  • A.
  • B.
  • C.
  • D.

正解:C

解説:
To prevent race conditions during an Apex transaction, the SOQL query can be modified to include the "FOR UPDATE" keyword. This keyword locks the records that are returned by the query, preventing other transactions from modifying them until the current transaction is complete. This ensures that the retrieved records cannot be changed by another process before the current transaction is completed, thus preventing race conditions. The correct option to use in the code snippet provided is:
[SELECT Id, Name, Amount__c FROM Credit_Memo__c WHERE Customer_Id__c = :customerId LIMIT 50 FOR UPDATE] This will lock up to 50 records of Credit_Memo__c with the specified Customer_Id__c for the duration of the transaction.
References:
FOR UPDATE
Preventing Record Update Conflicts


質問 # 111
......

検証済みのPDII日本語問題集で問題と解答で合格保証試験問題集テストエンジン:https://www.passtest.jp/Salesforce/PDII-JPN-shiken.html

検証済みのPDII日本語問題集198格別な問題:https://drive.google.com/open?id=1_OmGBbog8wR4ZCdXDzE_SFQlpp9Sbp_X