Application Events follow the traditional publish-subscribe model. Which method is used to fire an event?
A. Fire()
B. Emit()
C. RegisterEvent()
D. FireEvent()
A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles. Which tool should they use to deploy to the sandbox?
A. Change Sets
B. VSCode
C. Ant Migration Tool
D. Developer Console
If apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which statement are true regarding governor limits? Choose 2 answers
A. The Apex governor limits might be higher due to the asynchronous nature of the transaction.(Missed)
B. The apex governor limits are reset for each iteration of the execute() mrthod.
C. The Apex governor limits are relaxed while calling the costructor of the Apex class.
D. The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction,
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?
A.
B. Custom controller
C. RecordSetVar page attribute
D. Controller extension
A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?
A. ApexPages.currentPage() .getParameters() .get('url_param')
B. ApexPages.currentPage() .getParameters() .get('url_param') .escapeHtml4()
C. String.ValueOf(ApexPages.currentPage() .getParameters() .get('url_param'))
D. String.escapeSingleQuotes(ApexPages.currentPage() .getParameters(). get('url_param'))
A developer considers the following snippet of code: Based on this code, what is the value of x?
A. 2
B. 1
C. 3
D. 4
A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors.
Why did the test method fail in the sandbox and pass in the Developer Console?
A. The test method has a syntax error in the code.
B. The test method relies on existing data in the sandbox.
C. The test method is calling an @future method.
D. The test method does not use System.runAs to execute as a specific user.
Universal Containers (UC) decided it will not to send emails to support personnel directly from Salesforce in the event that an unhandled exception occurs. Instead, UC wants an external system be notified of the error. What is the appropriate publish/subscribe logic to meet these requirements?
A. Publish the error event using the addError() method and have the external system subscribe to the event using CometD.
B. Publish the error event using the Eventbus.publish() method and have the external system subscribe to the event using CometD.
C. Have the external system subscribe to the BatchApexError event, no publishing is necessary.
D. Publish the error event using the addError() method and write a trigger to subscribe to the event and notify the external system.
A Licensed_Professional_c custom object exists in the system with two Master-Detail fields for the following objects: Certification_c and Contact.
Users with the “Certification Representative” role can access the Certification records they own and view the related Licensed Professionals records, however users with the “Sales Representative” role report they cannot view any Licensed
Professional records even though they own the associated Contact record.
What are two likely causes of users in the “Sales Representative” role not being able to access the Licensed Professional records? (Choose two.)
A. The organization's sharing rules for Licensed_Professional_c have not finished their recalculation process.
B. The organization recently modified the Sales representative role to restrict Read/Write access to Licensed_Professional_c
C. The organization has a private sharing model for Certification_c, and Contact is the primary relationship in the Licensed_Professional_c object
D. The organization has a private sharing model for Certification_c, and Certification_c is the primary relationship in the Licensed_Professional_c object.
A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use data Loader instead of Data Import Wizard?
A. Data Loader runs from the developer's browser.
B. Data Import Wizard does not support Opportunities.
C. Data Loader automatically relates Opportunities to Accounts.
D. Data Import Wizard can not import all 500 records.
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 PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.