Which two characteristics are true for Lightning Web Component custom events? (Choose 2 answers)
A. Data may be passed In the payload of a custom event using a wire decorated properties.
B. By default a custom event only propagates to its immediate container and to its immediate child component.
C. By default a custom event only propagates to it's immediate container.
D. Data may be passed in the payload of a custom event using a property called detail.
Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment. What is the recommended process for deploying the code and configurations to Production?
A. Use a change set to deploy the Apex code and Lightning Components.
B. Use the Force.com IDE to deploy the Apex code and Lightning Components.
C. Use the Ant Migration Tool to deploy the Apex code and Lightning Components.
D. Use Salesforce CLI to deploy the Apex code and Lightning Components.
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?
A. @RemoteAction
B. @AureEnabled
C. @AureEnabled (cacheable=true)
D. @RemoteAction(|cacheable=true)
A custom picklist field, Food_Preference c, exist on a custom object. The picklist contains the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record is saved?
A. Set "Use the first value in the list as the default value" as True.
B. Set a validation rule to enforce a value is selected.
C. Mark the field as Required on the field definition.
D. Mark the field as Required on the object's page layout.
Universal Container is building a recruiting app with an Applicant object that stores information about an individual person that represents a job. Each application may apply for more than one job. What should a developer implement to represent that an applicant has applied for a job?
A. Master-detail field from Applicant to Job
B. Formula field on Applicant that references Job
C. Junction object between Applicant and Job
D. Lookup field from Applicant to Job
Page 1 out of 48 Pages |