Which annotation exposes an Apex class as a RESTful web service?
Which annotation exposes an Apex class as a RESTful web service?A . ©AuraEnabledB . ©RestResourceC . ©Remote ActionD . ©HttplnvocableView AnswerAnswer: A
Which three web technologies can be integrated into a Visualforce page? (Choose three.)
Which three web technologies can be integrated into a Visualforce page? (Choose three.)A . JavaScriptB . CSSC . JavaD . PHPE . HTMLView AnswerAnswer: A,B,E
Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?
Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page? A) B) C) D) A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: A
Which SOQL query will get the record for the Viridian City gym and it's trainers?
A custom object Trainer_c has a lookup field to another custom object Gym___c. Which SOQL query will get the record for the Viridian City gym and it's trainers?A . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym'B . SELECT Id, (SELECT Id FROM Trainer_c)...
How can the developer make sure that validation rule violations are displayed?
A developer has a VF page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?A . Add custom controller attributes to display the message.B . Include <apex:messages> on...
An org has two custom objects:
An org has two custom objects: * Plan_c, that has a master-detail relationship to the Account object. * Plan_item_c, that has a master-detail relationship to the plan_C object. What should a developer use to create a Visualforce section in the Account page layout that displays all of the plan.. Account...
A developer needs to confirm that a Contact trigger works correctly without changing the organization's data. what should the developer do to test the Contact trigger?
A developer needs to confirm that a Contact trigger works correctly without changing the organization's data. what should the developer do to test the Contact trigger?A . Use the New button on the Salesforce Contacts Tab to create a new Contact record.B . Use the Open execute Anonymous feature on...
What two things should be done to create the test data within the unit test with the least amount of code?
A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 account records with unique names. What two things should be done to create the test data within the unit...
Which three statements are true regarding trace flags? (Choose three.)
Which three statements are true regarding trace flags? (Choose three.)A . Setting trace flags automatically cause debug logs to be generated.B . Logging levels override trace flags.C . Trace flags override logging levels.D . If active trace flags are not set, Apex tests execute with default logging levels.E . Trace...
Which class definition should be used to successfully implement this requirement?
A developer has requirement to write Apex code to update a large number of account records on a nightly basis. The system administrator needs to be able to schedule the class to run after business hours on an as-needed basis. Which class definition should be used to successfully implement this...