* Change sets can only be used between related organizations: * Change sets require a relationship between the source and target Salesforce orgs, such as a production org and its sandboxes. You cannot use change sets between unrelated Salesforce orgs. Reference:Salesforce Change Set Overview Deployment is done in a one-way, single transaction: When a change set is deployed, it is applied to the target org as a single transaction. If there are any errors in the deployment, the entire transaction is rolled back. Reference:Apex Development Guide Sending a change set between two orgs requires a deployment connection: Before sending or deploying a change set, a deployment connection must be established between the source and target orgs. This connection is configured in the setup menu under "Deployment Connections." Reference:Trailhead: Deployment Connections Incorrect Options: A: Change sets can deploy custom settings data: Change sets cannot deploy data, including custom settings data. They only move metadata. E: Change sets can be used to transfer records: Records (data) are not supported by change sets; they only facilitate metadata migration.
最新のコメント (最新のコメントはトップにあります。)
正解は **B**、**C**、**D** です。
[cite_start]提供されたドキュメント内の問題18 [cite: 326-330] にも変更セットのトピックがありますが、ご質問の問題はより詳細な特徴を問うものです。以下に解説します。
### 正解の解説
**B. 変更セットは関連する組織間でのみ使用できます。**
* 変更セットは、任意のアカウント(組織)に送信できるわけではありません。
* **本番組織と、その本番組織から作成されたSandbox**(またはそのSandbox同士)という、親子関係や兄弟関係にある「関連する組織」の間でのみ使用可能です。全く無関係な組織へは送信できません。
**C. デプロイメントは一方向の単一トランザクションで実行されます。**
* **単一トランザクション:** 変更セットのデプロイは「All or Nothing(全か無か)」で処理されます。コンポーネントが10個あり、そのうち1つでもエラーになれば、**すべての変更がロールバック(取り消し)** され、デプロイ前の状態に戻ります。
* **一方向:** 送信元から送信先へ送るものであり、送信先での変更が自動的に送信元に反映されることはありません。
**D. 2 つの組織間で変更セットを送信するには、デプロイメント接続が必要です。**
* 変更セットを使用するには、送信先(受け取る側)の組織で、**「デプロイメント接続」** 設定画面を開き、送信元組織からの受信を**承認(許可)** する必要があります。
---
### 不正解の解説
**A. 変更セットはカスタム設定データを展開できます。**
* これは **不正解** です。
* 変更セットで移行できるのは「カスタム設定の**定義(メタデータ)**」だけです。
* その中に保存されている実際の「**データ(レコード)**」は移行できません。データはデプロイ後にデータローダ等で移行するか、手動で再設定する必要があります。(※対照的に、「カスタムメタデータ型」であればデータも移行可能です)。
**E. 変更セットを使用してレコードを転送できます。**
* これは **不正解** です。
* [cite_start]変更セットは「メタデータ(設定やコード)」を移行するためのツールです。取引先や商談などの標準/カスタムオブジェクトの「レコード(データ)」を移行することはできません。データの移行にはデータローダやデータエクスポートサービス [cite: 299-300] を使用します。
### 💡 まとめ:変更セットの「できないこと」
試験では「何ができな...