What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answersA . View the apex status PageB . View the apex flex QueueC . View the apex Jobs pageD . Query the AsyncApexJobe objectView AnswerAnswer: B, D

September 14, 2024No CommentsREAD MORE +

Which two actions should the developer take to fix the code segment shown above?

Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1,000,000. A developer created the following trigger on the Account object to satisfy this requirement. Users are able to update the account records via the UI and can see an opportunity created for high annual...

September 14, 2024No CommentsREAD MORE +

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)...

September 13, 2024No CommentsREAD MORE +

What are two ways the developer can update the method to prevent a SOQL injection attack?

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<Contact> performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two...

September 12, 2024No CommentsREAD MORE +

Which three options should be used to build out the database layer for the application?

Universal Containers decides to use exclusively declarative development to build out a new Salesforce application. Which three options should be used to build out the database layer for the application? Choose 3 answersA . Roll-Up SummariesB . TriggersC . RelationshipsD . FlowE . Custom Objects and FieldsView AnswerAnswer: A, C,...

September 12, 2024No CommentsREAD MORE +

Which technique should the developer implement to streamline the data upload?

A primaryid_c custom field exists on the candidate_c custom object. The filed is used to store each candidate's id number and is marked as Unique in the schema definition. As part of a data enrichment process. Universal Containers has a CSV file that contains updated data for all candidates in...

September 12, 2024No CommentsREAD MORE +

Which Apex technique should the developer use?

A developer wants to mark each Account in a List<Account> as either or Inactive based on the LastModified field value being more than 90 days. Which Apex technique should the developer use?A . A for loop, with a switch statement insideB . A Switch statement, with a for loop insideC...

September 12, 2024No CommentsREAD MORE +

Which component should be added to the Visualforce page to display the message?

A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex: pageMessages />B . <apex: pageMessage severity=”info’’/>C . <Apex: facet name=’’ message’’/>D . <Apex: message for=’’ info’’/>View AnswerAnswer: A

September 11, 2024No CommentsREAD MORE +

Which three operations affect the number of times a trigger can fire? Choose 3 answers

Which three operations affect the number of times a trigger can fire? Choose 3 answersA . Process FlowsB . Workflow RulesC . Criteria-based Sharing calculationsD . Email messagesE . Roll-Up Summary fieldsView AnswerAnswer: A, B, E

September 10, 2024No CommentsREAD MORE +

Which two actions will prevent the duplicate order records from being created in Salesforce?

A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order....

September 10, 2024No CommentsREAD MORE +