Thursday, 30 November 2017

Salesforce Certified Platform Developer1 – Winter 18 Release Exam

1. In which two ways does Lightning Data service (LDS) eliminate redundant server calls in Lightning components? choose 2 answers
A. LDS acts as a publisher hub that notifies components of data changes.
B.  LDS can be configured as a publisher hub with simple apex code.
C.  LDS identifies requests that involve the same record data and sends a single shared data request that updates all relevant components.
D. LDS allows each component within an app to make independent, but concurrent, calls to perform CRUD operations on the same record data.

2. which two statements are true regarding Lightning components javascript code validation? choose 2 answers
A. Code validation are applied only to components set to API version 41.0 and later.
B. The validation service ensures good software design and prevent bugs.
C. Code validation enforce all ESlint rules.
D. Code validation can be temporariy disabled by setting the component version to API 40.0 or earlier.

3. which content security policy (CSP) configuration is required to access the streaming API and call apex methods from within a Lightning container component?
A. CSP set to minimum.
B. CSP set to Lightning.
C. CSP set to low.
D. CSP set to custom.

4. what is the correct annotation to indicate test classes that can run in parallel?
A. @isTest(runParallel=true).
B. @isTest(isParallelrun=true).
C. @isTest(isParallel=true).
D. @isTest.

5.  In which two ways does Salesforce DX facilitate source driven development? choose 2 answers.
A. Salesforce DX provides an efficient, end to end life cycle designed for waterfall development.
B. Salesforce DX provides an integrated, end to end life cycle designed for high performance agile development.
C. Salesforce DX shifts the source of truth from the org to the version control system.
D. Salesforce DX allows agile, local test runs.

6. what are two valid scenarios for automatic recompilation of apex classes? choose 2 answers
A. All Apex classes are automatically recompiled before completing a metadata deploy.
B. All Apex classes are automatically recompiled when apex transactions are run.
C. Specific Apex classes are automatically recompiled before completing a metadata deploy.
D. All Apex classes are automatically recompiled before a package is installed.


No comments: