What can used to delete components from production?

What can used to delete components from production?A . A change set deployment with the delete option checkedB . An ant migration tool deployment with destructivechanges xml file and the components to delete in the package .xml fileC . A change set deployment with a destructivechanges XML fileD . An...

March 16, 2022 No Comments READ MORE +

Which code displays the content of Visualforce page as PDF?

Which code displays the content of Visualforce page as PDF?A . <apex:page renderAs=”pdf”>B . <apex:page readeras’’ application/pdf’’>C . <apex:page readerAs= ‘’application/pdf’’>D . <apex:page contentype ‘’ application/pdf’’)View AnswerAnswer: A

March 16, 2022 No Comments READ MORE +

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

March 16, 2022 No Comments READ MORE +

What should a developer use to satisfy this requirement?

Cloud kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are retrieved from an external order management system in real...

March 16, 2022 No Comments READ MORE +

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

March 16, 2022 No Comments READ MORE +

What should the developer do to ensure a successful deployment?

Given the following trigger implementation: trigger leadTrigger on Lead (before update){ final ID BUSINESS_RECORDTYPEID = '012500000009Qad'; for(Lead thisLead : Trigger.new){ if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){ thisLead.RecordTypeId = BUSINESS_RECORDTYPEID; } } } The developer receives deployment errors every time a deployment is attempted from Sandbox to Production. What should...

March 15, 2022 No Comments READ MORE +

In the following example, which sharing context will myMethod execute when it is invoked?

In the following example, which sharing context will myMethod execute when it is invoked?A . Sharing rules will be inherited from the calling context.B . Sharing rules Ail be enforced by the instantiating classC . Sharing rules Ml be enforced for the running user.D . Sharing rules will not be...

March 15, 2022 No Comments READ 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...

March 15, 2022 No Comments READ MORE +

What is the correct way for the developer to declare a class that can be used as an exception?

A developer is tasked with performing a complex validation using Apex as part of advanced business logic. certain criteria are met for a PurchaseOrder, the developer must throw a custom exception. What is the correct way for the developer to declare a class that can be used as an exception?A...

March 15, 2022 No Comments READ MORE +

Which tool is best suited?

A Salesforce developer wants to review their code changes immediately and does not want to install anything on their computer or on the org. Which tool is best suited?A . Developer ConsoleB . Salesforce Extension for VSCodeC . Setup MenuD . Third-party apps from App ExchangeView AnswerAnswer: A

March 15, 2022 No Comments READ MORE +