A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface. Which approach can be used to accomplish this?
Correct Answer: A
Answer A is correct. Lightning Web Components use modern web standards with Salesforce-specific modules, decorators, base components, and Lightning Data Service integration. Parent components pass data down through public properties or public methods, while children communicate upward with custom events. Apex methods imported from @salesforce/apex must be annotated correctly and wired methods must be cacheable. The other options either use the wrong platform feature, apply at the wrong layer, or ignore a key Salesforce constraint. For Platform Developer I, the important point is not just syntax; it is choosing the feature that aligns with transaction behavior, security enforcement, maintainability, and supported metadata capabilities. Reference focus: Lightning Web Components Developer Guide, Lightning Component Reference, Aura Components Developer Guide, and Visualforce Developer Guide. This distinction is important in production orgs because small design mistakes can create deployment failures, runtime exceptions, data-quality defects, or user-visible security gaps once automation is executed in bulk or from multiple entry points.
PDI Exam Question 77
A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service agent must gather many pieces of information. A developer is tasked to implement this functionality. What should the developer use to satisfy this requirement in the most efficient manner?
Correct Answer: D
Answer D is correct. The Salesforce Platform favors metadata-driven design where possible and Apex or custom UI when requirements exceed declarative capability. Correct design means selecting the lowest- maintenance platform feature that satisfies security, data integrity, scalability, and user experience requirements while remaining compatible with Salesforce's multi-tenant runtime model. The other options either use the wrong platform feature, apply at the wrong layer, or ignore a key Salesforce constraint. For Platform Developer I, the important point is not just syntax; it is choosing the feature that aligns with transaction behavior, security enforcement, maintainability, and supported metadata capabilities. Reference focus: Lightning Web Components Developer Guide, Lightning Component Reference, Aura Components Developer Guide, and Visualforce Developer Guide. This distinction is important in production orgs because small design mistakes can create deployment failures, runtime exceptions, data-quality defects, or user-visible security gaps once automation is executed in bulk or from multiple entry points. This matters on the Salesforce platform because the same logic can run from the user interface, API operations, imports, and background automation.
PDI Exam Question 78
What are two considerations for running a flow in debug mode? Choose 2 answers
Correct Answer: C,D
Answers C, D are correct. The Salesforce Platform favors metadata-driven design where possible and Apex or custom UI when requirements exceed declarative capability. Correct design means selecting the lowest- maintenance platform feature that satisfies security, data integrity, scalability, and user experience requirements while remaining compatible with Salesforce's multi-tenant runtime model. The other options either use the wrong platform feature, apply at the wrong layer, or ignore a key Salesforce constraint. For Platform Developer I, the important point is not just syntax; it is choosing the feature that aligns with transaction behavior, security enforcement, maintainability, and supported metadata capabilities. Reference focus: Salesforce Apex Developer Guide, Salesforce CLI Developer Guide, Tooling API documentation, and Salesforce Help deployment guidance. This distinction is important in production orgs because small design mistakes can create deployment failures, runtime exceptions, data-quality defects, or user-visible security gaps once automation is executed in bulk or from multiple entry points. This matters on the Salesforce platform because the same logic can run from the user interface, API operations, imports, and background automation.
PDI Exam Question 79
The Job_Application__c custom object has a field that is a master-deta relationship to the Contact object, where the Contact object is the master. As part of a feature implementation, a developer needs to retrieve a list containing Contact records where the related Account Industry is ' Technology ' , while also retrieving the Contact ' s Job_Application__c records. Based on the object ' s relationships, what is the most efficient statement to retrieve the list of Contacts?
Correct Answer: A
Answer A is the intended answer, with one syntax clarification. The requirement is to query Contact records filtered by the related Account.Industry and include each Contact's related Job_Application__c records. The parent filter should use Account.Industry because Contact has a standard parent relationship to Account. The child records must be retrieved with a parent-to-child subquery using the child relationship name, which in a real org is typically a plural custom relationship name ending in __r, not the child object API name. The provided choices are OCR-damaged, so option A is the closest because it correctly filters through Account. Industry and uses the parent Contact query pattern. The production SOQL shape would be: SELECT Id, (SELECT Id FROM Job_Applications__r) FROM Contact WHERE Account.Industry = ' Technology ' . Reference focus: Salesforce SOQL parent-to-child and child-to-parent relationship query syntax. This matters on the Salesforce platform because the same logic can run from the user interface, API operations, imports, and background automation.
PDI Exam Question 80
A developer creates a custom exception as shown below: public class ParityException extends Exception {} What are two ways the developer can fire the exception in Apex?
Correct Answer: B,C
Answers B, C are correct. The Salesforce Platform favors metadata-driven design where possible and Apex or custom UI when requirements exceed declarative capability. Correct design means selecting the lowest- maintenance platform feature that satisfies security, data integrity, scalability, and user experience requirements while remaining compatible with Salesforce's multi-tenant runtime model. The other options either use the wrong platform feature, apply at the wrong layer, or ignore a key Salesforce constraint. For Platform Developer I, the important point is not just syntax; it is choosing the feature that aligns with transaction behavior, security enforcement, maintainability, and supported metadata capabilities. Reference focus: Salesforce Apex Developer Guide, SOQL and SOSL Reference, Flow Builder Help, and Apex Reference Guide. This distinction is important in production orgs because small design mistakes can create deployment failures, runtime exceptions, data-quality defects, or user-visible security gaps once automation is executed in bulk or from multiple entry points. This matters on the Salesforce platform because the same logic can run from the user interface, API operations, imports, and background automation.