Skip to main content

Salesforce Certified Platform Developer I - Winter '18 Release Exam

1 of 6. In which two ways does Lightning Data Service (LDS) eliminate redundant server calls in Lightning Components?

Choose 2 answers
 
A.  LDS allows each component within an app to make independent, but concurrent, calls to perform CRUD operations on the same record data.
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 acts as a publisher hub that notifies components of data changes.

Answer : A,C


2 of 6. In which two ways does Salesforce DX facilitate source-driven development?
  Choose 2 answers
 
A.  Salesforce DX provides an integrated, end-to-end life cycle designed for high-performance agile development.
B.  Salesforce DX provides an efficient, end-to-end life cycle designed for waterfall 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.

Answer : A,C


3 of 6. 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 Lightning
B.  CSP set to custom
C.  CSP set to minimum

D.  CSP set to low

Answer :  D

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

D.  @isTest(isParallelrun=true)

Answer : A

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



Answer B,D

6 of 6. Which two statements are true regarding Lightning component JavaScript code validation?
  Choose 2 answers
  
A.  Code validations can be temporariy disabled by setting the component version to API 40.0 or earlier.
B.  Code validations enforce all ESlint rules.
C.  Code validations are applied only to components set to API version 41.0 and later.
D.  The validation service ensures good software design and prevent bugs.
 Mark this item for later review.


 Answer: A,C


Comments

Popular posts from this blog

FAQ's Salesforce Lightning Platform Query Optimizer

This article comprises the FAQs related to salesforce internal platform Query Optimizer.and provides valuable information that will help understand how to improve the performance of SOQL queries. For more information, you may also check this Dreamforce Session . 1. Query Optimizer Q: Does Salesforce have its own SQL optimization logic instead of Oracle's built-in? A: Force.com is a multi-tenant platform. To consider multitenant statistics, the platform has its own SOQL query optimizer that determines optimal SQL to satisfy a specific tenant's request. Q: How frequently generated are the statistics used by the query optimizer? A: Statistics are gathered weekly. Where statistics are not calculated, the optimizer also performs dynamic pre-queries, whose results are cached for 1 hour Q: Is there any way to flush the cache when doing your performance testing so your results are not cached biased? A: Unfortunately not. Queries with selective filters will perform mor...

NoSQL Database (20 Best Free Open Source NoSQL Databses

  NoSQL databases are becoming popular day by day. I have come up with the list of best, free and open source NoSQL databases. MongoDB tops the list of Open Source NoSQL databases. This list of free and open source databases comprises of   MongoDB, Cassandra, CouchDB, Hypertable, Redis, Riak, Neo4j, HBASE, Couchbase, MemcacheDB, RevenDB and Voldemort.   These free and open source NoSQL databases are really highly scale-able, flexible and good for big data storage and processing. These open source NoSQL databases are far ahead in terms of performance as compared to traditional relational databases. However, these may not be always the best choice for you. Most of common applications can still be developed using traditional relational databases. NoSQL databases are still not the best option for a mission critical transaction needs. I have listed down a small description of all these best free and oper source NoSQL databases. Lets have a look.. 1. MongoDB MongoDB ...

Javascript global variables

Question :  is there any difference between declaring a variable var a = 0 ; //1 and this way a = 0 ; //2 or window . a = 0 ; //3 in global scope? Soloution:      Yes, there are two differences, though in practical terms they're not usually big ones.  three statements explained var a = 0 ; ...creates a variable on the  variable object  for the global execution context, which is the global object, which on browsers is aliased as  window  (and is a DOM window object rather than just a generic object as it would be on non-browser implementations). The symbol  window  is, itself, actually a property of the global (window) object that it uses to point to itself. The upshot of all that is: It creates a property on  window  that you cannot delete. It's also defined before the first line of code runs (see "When  var  happens" below). Note that on IE8 and earlier, the property created on  ...