What are two features of Heroku Connect? Choose 2 answers
A. Displaying data from an external data store via External Objects.
B. Real Time Sync between Salesforce and Postgres
C. Bidirectional syncs, allowing data to be written into Salesforce
D. Near Real Time Sync between Heroku Postgres and Salesforce
Which collection type provides unique key/value pairings of data?
A. Map
B. List
C. Array
D. Set
A developer created a helper class with a method that can be called from Visualforce pages, web services, triggers, and of even anonymous code. When the method is called from a trigger, the developer needs to execute logic that should not be executed If the method Is called from anywhere else. How can the developer determine if the code Is executed in a trigger context?
A. Check if System.executionContext =='Trigger'.
B. Use the executeOnTrigger annotation on the method definition.
C. Check if Trigger.isExecuting ==true
D. Check if Trigger.newMap !=null.
What are three ways for a developer to execute tests in an org? Choose 3.
A. Bulk API
B. ToolingAPI
C. Metadata API
D. Setup Menu
E. SalesforceDX
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List
What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers
A. Use variable binding and replace the dynamic query with a static SOQL.
B. Use the escapeSingleQuote method to sanitize the parameter before its use.
C. Use a regular expression expression on the parameter to remove special characters.
D. Use the @Readonly annotation and the with sharing keyword on the class.
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.
What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?
A. Use the schema describe calls to determine if the logged-in user has access to the Account object.
B. Use the without sharing keyword on the class declaration.
C. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.
D. Use the with sharing keyword on the class declaration.
Which three web technologies can be integrated into a Visualforce page? Choose 3 answares
A. HTML
B. Java
C. PHP
D. CSS
E. JavaScript
A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?
A. Declare maxattempts as a member variable on the trigger definition.
B. Declare maxattempts as a private static variable on a helper class
C. Declare maxattempts as a constant using the static and final keywords
D. Declare maxattempts as a variable on a helper class
A developer must create a DrawList class that provides capabilities defined in the Sortableand Drawable interfaces.
Which is the correct implementation?
A. Option A
B. Option B
C. Option C
D. Option D
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
A. List
B. List> searchList = (FIND "*ACME*" IN ALL FIELDS RETURNING Contact, Lead);
C. Map
D. List> searchList = (SELECT Name, ID FROM Contact, Lead WHERE Name like '%ACME%');
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CRT-450 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.