Salesforce Certified Platform Developer II Certified Platform Developer II Dumps in PDF

Free Salesforce Certified Platform Developer II Real Questions (page: 12)

A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.
Which feature of Apex code is required to facilitate this solution?

  1. SOSL queries
  2. describeSObjects()
  3. Dynamic Schema binding
  4. REST API

Answer(s): B



Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction b.

These are the fields on Customer_Transaction b:

Account c
Program c
Points_Earned c
Location c
Transaction_Date c

The following fields have been identified as Index Fields for the Customer_Transaction b object: Account c, Program c, and Transaction_Date c.

Which SOQL query is valid on the Customer_Transaction b Big Object?

  1. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b
    WHERE Account__c = '001R000000302D3'
    AND Program__c ='Shoppers'
    AND Transaction_Date__c=2019-05-31T00:00Z
  2. SELECT Account__c, Program__c, Transaction_Date__c
    FROM Customer_Transaction__b WHERE Account__c = '001R000000302D3'
    AND Program__c LIKE 'Shop%'
    AND Transaction_Date__c=2019-05-31T00:00Z
  3. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b
    WHERE Account__c = '001R000000302D3'
    AND Program__c INCLUDES ('Shoppers', 'Womens')
    AND Transaction_Date__c=2019-05-31T00:00Z
  4. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b
    WHERE Account__c = '001R000000302D3'
    AND Program__c EXCLUDES ('Shoppers', 'Womens')
    AND Transaction_Date__c=2019-05-31T00:00Z

Answer(s): A



Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs.
What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?

  1. Apex Batch job that counts the number of Opportunity records
  2. SUM() SOQL aggregate query on the Opportunity object
  3. SOQL for loop that counts the number of Opportunities records
  4. COUNT() SOQL aggregate query on the Opportunity object

Answer(s): D



A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow.
What can a developer to do address the issue?

  1. Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.
  2. Move the prerequisite reference data setup to a @testSetup method in the test class.
  3. Move the prerequisite reference data setup to a static method in the test class and call that from each test method.
  4. Move the prerequisite reference data setup to the constructor for the test class.

Answer(s): B



A developer is asked to build a solution that will automatically send an email to the Customer when an Opportunity stage changes. The solution must scale to allow for 10,000 emails per day. The criteria to send the email should be evaluated after all Workflow Rules have fired.
What is the optimal way to accomplish this?

  1. Use a MassEmailMessage() with an Apex Trigger.
  2. Use a Workflow Email Alert.
  3. Use an Email Alert with Process Builder.
  4. Use a SingleEmailMessage() with an Apex Trigger.

Answer(s): C



Share your comments for Salesforce Certified Platform Developer II exam with other users:

A
arnie
9/17/2023 6:38:00 AM

please upload questions

T
Tanuj Rana
7/22/2023 2:33:00 AM

please upload the question dump for professional machinelearning

F
Future practitioner
8/10/2023 1:26:00 PM

question 4 answer is c. this site shows the correct answer as b. "adopt a consumption model" is clearly a cost optimization design principle. looks like im done using this site to study!!!

A
Ace
8/3/2023 10:37:00 AM

number 52 answer is d

N
Nathan
12/17/2023 12:04:00 PM

just started preparing for my exam , and this site is so much help

C
Corey
12/29/2023 5:06:00 PM

question 35 is incorrect, the correct answer is c, it even states so: explanation: when a vm is infected with ransomware, you should not restore the vm to the infected vm. this is because the ransomware will still be present on the vm, and it will encrypt the files again. you should also not restore the vm to any vm within the companys subscription. this is because the ransomware could spread to other vms in the subscription. the best way to restore a vm that is infected with ransomware is to restore it to a new azure vm. this will ensure that the ransomware is not present on the new vm.

R
Rajender
10/18/2023 3:54:00 AM

i would like to take psm1 exam.

B
Blessious Phiri
8/14/2023 9:53:00 AM

cbd and pdb are key to the database

A
Alkaed
10/19/2022 10:41:00 AM

the purchase and download process is very much streamlined. the xengine application is very nice and user-friendly but there is always room for improvement.

D
Dave Gregen
9/4/2023 3:17:00 PM

please upload p_sapea_2023

S
Sarah
6/13/2023 1:42:00 PM

anyone use this? the question dont seem to follow other formats and terminology i have been studying im getting worried

S
Shuv
10/3/2023 8:19:00 AM

good questions

R
Reb974
8/5/2023 1:44:00 AM

hello are these questions valid for ms-102

M
Mchal
7/20/2023 3:38:00 AM

some questions are wrongly answered but its good nonetheless

S
Sonbir
8/8/2023 1:04:00 PM

how to get system serial number using intune

M
Manju
10/19/2023 1:19:00 PM

is it really helpful to pass the exam

L
LeAnne Hair
8/24/2023 12:47:00 PM

#229 in incorrect - all the customers require an annual review

A
Abdul SK
9/28/2023 11:42:00 PM

kindy upload

A
Aderonke
10/23/2023 12:53:00 PM

fantastic assessment on psm 1

S
SAJI
7/20/2023 2:51:00 AM

56 question correct answer a,b

R
Raj Kumar
10/23/2023 8:52:00 PM

thank you for providing the q bank

P
piyush keshari
7/7/2023 9:46:00 PM

true quesstions

B
B.A.J
11/6/2023 7:01:00 AM

i can´t believe ms asks things like this, seems to be only marketing material.

G
Guss
5/23/2023 12:28:00 PM

hi, could you please add the last update of ns0-527

R
Rond65
8/22/2023 4:39:00 PM

question #3 refers to vnet4 and vnet5. however, there is no vnet5 listed in the case study (testlet 2).

C
Cheers
12/13/2023 9:55:00 AM

sometimes it may be good some times it may be

S
Sumita Bose
7/21/2023 1:01:00 AM

qs 4 answer seems wrong- please check

A
Amit
9/7/2023 12:53:00 AM

very detailed explanation !

F
FisherGirl
5/16/2022 10:36:00 PM

the interactive nature of the test engine application makes the preparation process less boring.

C
Chiranthaka
9/20/2023 11:15:00 AM

very useful.

S
SK
7/15/2023 3:51:00 AM

complete question dump should be made available for practice.

G
Gamerrr420
5/25/2022 9:38:00 PM

i just passed my first exam. i got 2 exam dumps as part of the 50% sale. my second exam is under work. once i write that exam i report my result. but so far i am confident.

K
Kudu hgeur
9/21/2023 5:58:00 PM

nice create dewey stefen

A
Anorag
9/6/2023 9:24:00 AM

i just wrote this exam and it is still valid. the questions are exactly the same but there are about 4 or 5 questions that are answered incorrectly. so watch out for those. best of luck with your exam.

AI Tutor 👋 I’m here to help!