Platform Developer ll - My Deck Flashcards
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.
A. Use the Apex Inbound Email Handler.
How can Apex be used with Visual Workflow?
Choose 1 answer.
A. To set the version of a Flow being run.
B. To start a Flow automatically.
C. To add custom styling to a Flow.
D. To control access to a Flow.
B. To start a Flow automatically.
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
B. Session ID
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.
A. Segregate calculation functionality from input functionality.
C. Implement pagination and reduce records per page.
E. Use JavaScript Remoting instead of controller actions.
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.
A. Surround the callout with Test.startTest(), Test.stopTest().
C. Implement the WebServiceMock interface.
D. Update code to call Test.setMock().
What are the main differences between a Developer and a Developer Pro Sandbox?
Choose 2 answers.
A. Size - 200 MB for a Developer Sandbox, 1 GB for a Developer Pro Sandbox.
B. Refresh Interval - 1 day for a Developer Sandbox, 5 days for a Developer Pro Sandbox.
C. Templates and Sampling - No for a Developer Sandbox, yes for a Developer Pro.
D. Bundled Developer Sandboxes - N/A for a Developer Sandbox, 5 for a Developer Pro Sandbox
A. Size - 200 MB for a Developer Sandbox, 1 GB for a Developer Pro Sandbox.
D. Bundled Developer Sandboxes - N/A for a Developer Sandbox, 5 for a Developer Pro Sandbox
Which of the following statements are true?
Choose 2 answers.
A. The refresh interval for a Partial Copy Sandbox is 5 days and the refresh interval for a Full Copy Sandbox is 29 days.
B. A Full Sandbox supports both Templates and Sampling.
C. A Developer Pro Sandbox copies data.
D. A Full Sandbox has 15 Bundled Developer Sandboxes.
A. The refresh interval for a Partial Copy Sandbox is 5 days and the refresh interval for a Full Copy Sandbox is 29 days.
D. A Full Sandbox has 15 Bundled Developer Sandboxes.
True/False: Sandbox Templates are only available in Partial Copy and Full Sandboxes.
True
It is recommended to load a small set of representative data into Developer and Developer Pro Sandboxes for testing. Which tools can be used for this purpose? Choose 2 ansers. A. Sandbox template editor. B. Data Sampling C. Data Loader D. Force.com Bulk API
C. Data Loader
D. Force.com Bulk API
Which of the following statements are true when refreshing a Sandbox?
Choose 3 answers.
A. All licenses are copied from Production.
B. Email delivery defaults to off.
C. Unit tests fail when Messaging.sendEmail throws exceptions.
D. All configuration and customization done in the Sandbox is still there.
A. All licenses are copied from Production.
B. Email delivery defaults to off.
C. Unit tests fail when Messaging.sendEmail throws exceptions.
True/False: All things configured or customized in Salesforce are available through the Metadata API as XML files.
False.
- There are unsupported metadata types that will need to be done manually in each org.
Which of the following can be tracked through the Setup Audit Trail?
Choose 3 answers.
A. Which Fields where created in the last 90 days.
B. Who deleted a certain class.
C. How many licenses have been freed up over the last 90 days.
D. The names of the Approval Processes created in the last 6 months.
B. Who deleted a certain class.
C. How many licenses have been freed up over the last 90 days.
D. The names of the Approval Processes created in the last 6 months.
True/False: If you migrate changes that have newer components to an organization that hasn’t been upgraded to support them, the deployment fails.
True.
Change Sets are best used for:
Choose 2 answers.
A. Straight Sandbox to Production deployments.
B. Repetitive Deployments using the same parameters.
C. Large deployments with a lot of setup changes.
D. Change management without using a local file system.
A. Straight Sandbox to Production deployments
D. Change management without using a local file system.
Which of the following statements are true about Change Sets?
Choose 3 answers.
A. Metadata can only move between the Sandboxes and Production.
B. Components can be deployed with a Change Set, but not deleted.
C. Because Change Sets are cloud-based, they’re not ideal when used with a source control system.
D. Change Sets are the preferred solution for Deployments.
A. Metadata can only move between the Sandboxes and Production.
B. Components can be deployed with a Change Set, but not deleted.
C. Because Change Sets are cloud-based, they’re not ideal when used with a source control system.
True/False: Quick Deploy can only be used for Metadata API components.
False.
Quick deployments are available when which of the following requirements are met?
Choose 3 answers.
A. The components have been validated successfully for the target environment within the last four days (96 hours). As part of the validation, Apex tests in the target org have passed.
B. The components have been validated successfully for the target environment within the last day (24 hours). As part of the validation, Apex tests in the target org have passed.
C. If all tests in the org or all local tests are run, overall code coverage is at least 75%, and Apex triggers have some coverage.
D. If specific tests are run with the Run specified tests test level, each class and trigger that was deployed is covered by at least 75% individually.
A. The components have been validated successfully for the target environment within the last four days (96 hours). As part of the validation, Apex tests in the target org have passed. C. If all tests in the org or all local tests are run, overall code coverage is at least 75%, and Apex triggers have some coverage. D. If specific tests are run with the Run specified tests test level, each class and trigger that was deployed is covered by at least 75% individually.
Link the following Types of Asynchronous Apex:
1. Future Methods
2. Batch Apex
3. Queueable Apex
4. Scheduled Apex
To its definition:
A. Run large jobs that would exceed normal processing limits.
B. Schedule Apex to run at a specific time.
C. Run in their own thread, and do not start until resources are available.
D. Similar to Future Apex, but provide additional job chaining and allow more complex data types to be used.
- Future Methods - C. Run in their own thread, and do not start until resources are available.
- Batch Apex - A. Run large jobs that would exceed normal processing limits.
- Queueable Apex - D. Similar to Future Apex, but provide additional job chaining and allow more complex data types to be used.
- Scheduled Apex - B. Schedule Apex to run at a specific time.
Link the following Types of Asynchronous Apex:
1. Future Methods
2. Batch Apex
3. Queueable Apex
4. Scheduled Apex
To its Common Scenario:
A. Daily or weekly tasks.
B. Performing sequential processing operations with external Web services.
C. Web service callout.
D. Data cleansing or achieving of records.
- Future Methods - C. Web service callout.
- Batch Apex - D. Data cleansing or achieving of records.
- Queueable Apex - B. Performing sequential processing operations with external Web services.
- Scheduled Apex - A. Daily or weekly tasks.
True/False: The number of SOQL queries allowed under the governor limits are tripled for asynchronous Apex from 100 to 300.
False.
- They are doubled.
True/False: Governor limits for asynchronous calls are independent of the limits in the synchronous request that queued the asynchronous request initially.
True.
Which of the following statements are True for Future Methods?
Choose 3 answers.
A. Future methods are commonly used for making callouts to external webservices.
B. When making a callout in a Trigger it is unnecessary to use a Future or Queueable method.
C. Future Methods must be static void methods.
D. The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types. Future methods can’t take standard or custom objects as arguments.
A. Future methods are commonly used for making callouts to external webservices.
C. Future Methods must be static void methods.
D. The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types. Future methods can’t take standard or custom objects as arguments.