Certified Platform Developer II
Certified Platform Developer II
Certified Platform Developer II
Study Guide
Spring ‘16
STUDY GUIDE 0
Salesforce Certified Developer II– Study Guide
Contents
SECTION 1. PURPOSE OF THIS STUDY GUIDE..............................................................................................................................................1
SECTION 2. ABOUT THE SALESFORCE CERTIFIED PLATFORM DEVELOPER II PROGRAM....................................................................1
SECTION 3. AUDIENCE DESCRIPTION: SALESFORCE CERTIFIED PLATFORM DEVELOPER II.................................................................1
SECTION 4. ABOUT THE EXAM ......................................................................................................................................................................2
SECTION 5. RECOMMENDED TRAINING AND REFERENCES....................................................................................................................2
SECTION 6. EXAM OUTLINE ...........................................................................................................................................................................3
SECTION 7. SAMPLE EXAM QUESTIONS......................................................................................................................................................4
SECTION 8. ANSWERS TO SAMPLE EXAM QUESTIONS ............................................................................................................................6
SECTION 9. MAINTAINING A CERTIFICATION..............................................................................................................................................6
Understands the principles and best practices of Salesforce data modeling, interface design, code
development, and testing, and can apply these principles in real-world development environments.
Is capable of defining appropriate solutions to meet specific business challenges/process
requirements to extend/customize the platform by applying their knowledge of declarative and
programmatic features of the Force.com platform.
Is competent developing Apex code that will scale to large data sets; has a good understanding of
platform behaviors, limits, and performance considerations.
Can build custom user interfaces to display and interact with Salesforce data using the Lightning
component framework, advanced Visualforce, and moderate JavaScript.
Is competent tuning Visualforce pages and understands performance implications of the controller
design.
Understands and applies best practices for general web and Salesforce-specific security concerns.
Can design and implement complex sharing models using declarative and programmatic methods.
Can design and implement a test plan that ensures adequate quality (e.g., code coverage,
application behaviors, scalability, environment independence, security) across application
components.
Can deploy custom applications, has a broad understanding of the Force.com development
lifecycle, and understands all deployment tools and knows when to apply each tool.
Understands and uses Apex SOAP and REST web services and how to call out from Apex using
SOAP and REST.
Understands and uses asynchronous programming – batchable, schedulable, @future, etc.
Understands and applies appropriate techniques for error and exception handling in various
programmatic contexts.
Has invested time in studying the resources listed in this Study Guide and the additional required
study materials provided by Salesforce.
A candidate for this exam is not expected to be able to administer any standard Salesforce
applications, design a technical architecture solution that spans multiple platforms and includes
integration and authentication across systems, or develop and publish managed products on the
App Exchange that require a security review.
Delivery options: Proctored exam delivered onsite at a testing center or in an online proctored
environment
Results: Provided immediately after exam submission as on-screen text and by email
Salesforce Fundamentals 5%
Describe the capabilities of base-system objects such as sharing objects, history objects, metadata
objects, multi-currency, and Chatter objects.
Describe the different capabilities of and use cases for the various Salesforce development
platforms (Heroku, Fuel, App Cloud).
Data Modeling and Management 7%
Describe how to design code that accommodates multi-language, multi-currency, multi-locale
considerations.
Describe the implications of compound data types in Apex programming.
Describe the use cases for and benefits of external IDs.
Identify use cases for different types of custom settings, and describe how to implement solutions
for those use cases.
Logic and Process Automation 33%
Given a scenario, describe the implications of the order of execution of a record save.
Describe the interactions between Visualforce/Apex with Flow/Lightning Process Builder.
Given a scenario, identify the optimal programmatic or declarative solution.
Given a scenario, debug unexpected behavior due to save execution order.
Describe the Apex features available for error handling and maintaining transactional integrity.
Identify potential issues with inefficient code and mitigation techniques to avoid exceeding governor
limits.
Describe the data return types for SOQL and SOSL queries and their impact on variable
assignment.
Describe the options, best practices, and use cases for asynchronous execution.
Given a scenario, identify the appropriate dynamic Apex feature.
Given a scenario, describe when and how to use Apex managed sharing.
1. A developer needs to create a service that will process an email sent to it and create an account and
contact using the contents of the email as data for the records.
How might a developer accomplish this requirement?
Choose 1 answer.
A. Use the Apex Inbound Email Handler.
B. Use the Fuel API with Email Data Extensions.
C. Use Heroku Data Clips to Process Email.
D. Use Auto-launched Flow and Process Builder.
3. An integration user makes a successful login() call via the SOAP API.
What can be used in the SOAP header to provide server authorization for subsequent API requests?
Choose 1 answer.
A. Named Credentials
B. Session ID
C. OAuth access token
D. Security token
4. A customer has a single Visualforce page that allows each user to input up to 1500 sales forecasts and
instantly view pivoted forecast calculations. Users are complaining that the page is loading slowly, and
they are seeing error messages regarding heap and view state limits.
What is recommended to optimize page performance?
Choose 3 answers.
A. Segregate calculation functionality from input functionality.
B. Specify the list of sales forecasts as transient.
C. Implement pagination and reduce records per page.
D. Create formula fields to compute pivoted forecast calculations.
E. Use JavaScript Remoting instead of controller actions.
5. A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs
to insert some test data as a part of the unit tests setup.
How should the developer enable this functionality?
Choose 3 answers.
A. Surround the callout with Test.startTest(), Test.stopTest().
B. Surround the data insertion with Test.startTest(), Test.stopTest().
C. Implement the WebServiceMock interface.
D. Update code to call Test.setMock().
E. Implement the HttpCalloutMock interface.