wtf is D? C is the right answer
A developer is creating a page in App Builder that will be used in the Salesforce mobile app.
Which two practices should the developer follow to ensure the page operates with optimal
performance?
Choose 2 answers
B, D
Explanation:
Consider the following code snippet:
The Apex method is executed in an environment with a large data volume count for Accounts, and
the query Is performing poorly.
Which technique should the developer Implement to ensure the query performs optimally, while
preserving the entire result set?
D
wtf is D? C is the right answer
yea, I think you are correct
https://salesforce.stackexchange.com/questions/239868/database-query-locator-vs-simple-query
A company uses Salesforce to sell products to customers. They also have an external product
information management (PIM) system that is the system of record for products.
A developer received these requirements:
Whenever a product is created or updated in the PIM, a product must be created or updated as a
Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically
by Salesforce.
The PricebookEntry should be created In a Pricebook2 that is specified In a custom setting.
What should the developer use to satisfy these requirements?
A
A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that
aggregates data from all of these contact records. This calculation needs to run once a day after
business hours.
Which two steps should a developer take to accomplish this?
Choose 2 answers
B, D
A developer created an Opportunity trigger that updates the account rating when an associated
opportunity is considered high value. Current criteria for an opportunity to be considered high value
is an amount greater than or equal to SI,000,000. However, this criteria value can change over time.
There is a new requirement to also display high value opportunities In a Lightning web component.
Which two actions should the developer take to prevent the business logic that obtains the high
value opportunities from being repeated in more than one place?
Choose 2 answers
A, D
Universal Containers requested the addition of a third-party Map widget to an existing Lightning web
component.
Which two actions should the developer take to implement this requirement?
Choose 2 answers
C, D
Consider the following code snippet:
Which two steps should the developer take to add flexibility to change the endpolnt and credentials
without needing to modify code?
Choose 2 answers
A, C
A developer wrote the following method to find all the test accounts in the org:
What should be used to fix this falling test?
B
answer is b
A developer wishes to improve runtime performance of Apex calls by caching results on the client.
What is the most efficient way to Implement this?
C
A developer is creating a Lightning web component that displays a list of records in a lightning-
datatable. After saving a new record to the database, the list is not updating.
What should the developer change in the code above for this to happen?
D
Which two best practices should the developer Implement to optimize this code?
Choose 2 answers
B, D
It is missing the code snippet.
A developer wrote an Apex method that makes an HTTP callout to an external system to get
specialized data when a button is clicked from a custom Lightning web component on the Account
record page.
Recently, users have complained that it takes longer than desired for the data to appear on the page
after clicking the button.
What should the developer use to troubleshoot this issue?
C
Right answer is A Lightning Inspector
A business currently has a process to manually upload orders from its external Order Management
System (OMS) into Salesforce.
This is a labor intensive process since accounts must be exported out of Salesforce to get the IDs. The
upload file must be updated with the correct account IDs to relate the orders to the corresponding
accounts.
Which two recommendations should make this process more efficient?
Choose 2 answers
B, C
Consider the following code snippet:
Choose 2 answers
A, D
Users upload .csv files in an external system to create account and contact records in Salesforce. Up
to 200 records can be created at a time. The users need to wait for a response from Salesforce in the
external system, but the data does not need to synchronize between the two systems.
Based on these requirements, which method should a developer use to create the records in
Salesforce?
D
CD https://help.salesforce.com/s/articleView?id=sf.lightning_page_performance.htm&type=5
BD
If a page has more than 5 related lists or more than 25 fields in the record detail, users can encounter performance issues when viewing the page in the Salesforce mobile app.
In the Performance Analysis for App Builder tool:
Components that are restricted to the desktop form factor via a visibility rule aren’t included in the phone form factor performance assessment.
Analysis of page performance on a phone is available only on pages whose template supports the phone form factor.
Components aren't the only factors influencing page load time, so the numbers in the component impact chart don't add up to 100% of the predicted page load time.
Analysis of pages for the desktop form factor is measured in seconds. For the phone form factor, the page is scored based on the components that are visible when the page loads on a phone.
User metrics are org-specific or page-specific data. Previously activated pages display metrics from visits to that page. New pages display metrics from visits