Salesforce PDII 考試概覽:
| 認證廠商: | Salesforce |
|---|---|
| 考試名稱: | Salesforce 認證平台開發人員 II (Plat-Dev-301) |
| 考試代碼: | PDII |
| 考試形式: | 單選題, 多選題 |
| 考試時間: | 120 分鐘 |
| 及格分數: | 70% |
| 相關認證: | Salesforce 認證平台開發人員 I |
| 證照有效期限: | 1 年(需每年完成認證維護作業) |
| 考試費用: | USD 200 |
| 支援語言: | 日文, 英文 |
| 實際考試題數: | 60-65 |
| 推薦課程: | Salesforce 平台開發人員 II 認證準備課程 |
| 考試報名: | Webassessor Salesforce 認證入口網站 |
| 範例考題: | Salesforce PDII 範例考題 |
| 考試方式: | 線上遠端監考或於授權考試中心現場應考 |
| 必備條件: | 須持有有效之 Salesforce 認證平台開發人員 I 資格;並完成指定之超級徽章:Apex Specialist、Data Integration Specialist、Aura Components Specialist、Advanced Apex Specialist |
| 官方大綱網址: | https://trailhead.salesforce.com/credentials/platformdeveloperii |
Salesforce PDII 考試大綱:
| 主題 | 簡介 |
|---|---|
| 主題 1 |
|
| 主題 2 |
|
| 主題 3 |
|
| 主題 4 |
|
| 主題 5 |
|
參考:https://trailheadacademy.salesforce.com/certificate/exam-platform-dev2---Plat-Dev-301
最新的 Salesforce Developers PDII 免費考試真題:
A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler.
Java
01: public class AccountSearcher {
02:
03: public static List<AccountWrapper> search(String term) {
04: List<AccountWrapper> wrappers = getMatchingAccountWrappers(term);
05: return wrappers;
06: }
07:
08:
09: public class AccountWrapper {
10: public Account account { get; set; }
11: public Decimal matchProbability { get; set; }
12: }
13: // ...other methods, including getMatchingAccountWrappers implementation...
14: }
Which two changes should the developer make so the Apex method functions correctly?
- A. Add @AuraEnabled to line 03.
- B. Add @AuraEnabled to lines 10 and 11.
- C. Add @AuraEnabled to line 01.
- D. Add @AuraEnabled to line 09.
答案:A,B 🗳️
說明:(僅 VCESoft 成員可見)
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and CSS files. They want to ensure efficient loading and caching of the page. Which feature should be utilized to achieve this goal?
- A. @RemoteAction
- B. <apex:pageBlockTable>
- C. <apex:actionFunction>
- D. Static resources
答案:D 🗳️
說明:(僅 VCESoft 成員可見)
A developer needs to implement a system audit feature that allows users, assigned to a custom profile named
"Auditors", to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 6 and 12 months old. Given the code below, which select statement should be inserted as a valid way to retrieve the Account History records?4445 Java Date initialDate = System.Today().addMonths(-12); Date endDate = System.Today().addMonths(-6);
// Insert SELECT statement here
- A. [SELECT AccountId, CreatedDate, Field, NewValue, OldValue FROM AccountHistory WHERE CreatedDate BETWEEN :initialDate AND :endDate];
- B. [SELECT AccountId, CreatedDate, Field, NewValue, OldValue FROM Account_History WHERE CreatedDate >= :endDate AND CreatedDate <= :initialDate];
- C. [SELECT AccountId, CreatedDate, Field, NewValue, OldValue FROM Account_History WHERE CreatedDate <= :initialDate AND CreatedDate <= :endDate];
- D. [SELECT AccountId, CreatedDate, Field, NewValue, OldValue FROM AccountHistory WHERE CreatedDate => :initialDate AND CreatedDate <= :endDate];
答案:A 🗳️
說明:(僅 VCESoft 成員可見)
Universal Containers analyzes a Lightning web component and its Apex controller. Based on the code snippets, what change should be made to display the contacts' mailing addresses in the Lightning web component?
Apex controller class:
Java
public with sharing class AccountContactsController {
@AuraEnabled
public static List<Contact> getAccountContacts(String accountId) {
return [SELECT Id, Name, Email, Phone FROM Contact WHERE AccountId = :accountId];
}
}
- A. Add a new method in the Apex controller class to retrieve the mailing addresses separately.
- B. Modify the SOQL query in the getAccountContacts method to include the MailingAddress field.
- C. Modify the SOQL query in the getAccountContacts method to include the MailingAddress field and update the columns attribute in the javascript file to add Mailing address fields.
- D. Extend the lightning-datatable component to include a column for the MailingAddress field.
答案:C 🗳️
說明:(僅 VCESoft 成員可見)
Consider the following code snippet:
Java
01 public with sharing class AccountsController{
03 @AuraEnabled
04 public List<Account> getAllAccounts(){
05 return [Select Id, Name, Industry FROM Account];
06 }
08 }
As part of the deployment cycle, a developer creates the following test class:
Java
@isTest
private class AccountsController_Test{
@TestSetup
private static void makeData(){
User user1 = [Select Id FROM User WHERE Profile.Name = 'System Administrator' ... LIMIT 1]; User user2 = [Select Id FROM User WHERE Profile.Name = 'Standard User' ... LIMIT 1]; TestUtils.insertAccounts(10,user1.Id); TestUtils.insertAccounts(20,user2.Id);
}
@isTest
private static void testGetAllAccounts(){
// Query the Standard User into memory
List<Account> result = AccountsController.getAllAccounts();
System.assertEquals(20,result.size());
}
}
When the test class runs, the assertion fails. Which change should the developer implement in the Apex test method to ensure the test method executes successfully?
- A. Query the Administrator user into memory and enclose lines 15 and 16 within the System.runAs(user) method.
- B. Query the Standard User into memory and enclose lines 15 and 16 within the System.runAs(user) method.
- C. Add @IsTest(seeAllData=true) to line 12 and enclose lines 15 and 16 within Test.startTest() and Test.
stopTest(). - D. Add System.runAs(User) to line 14 and enclose line 15 within Test.startTest() and Test.stopTest().
答案:B 🗳️
說明:(僅 VCESoft 成員可見)
正在檢視第 1 頁(共 33 頁)。
正在檢視第 1-5 題(共 163 題)。

下載最新試用版
802位客戶反饋
我們對我們的產品非常有信心,所以我們不提供会给客户带去麻煩的產品。








1.161.172.* -
我使用了VCESoft的學習指南,然后我成功的通過了PDII考試。