option
Questions
ayuda
daypo
search.php
ERASED TEST, YOU MAY BE INTERESTED ON Questões que estou errando + Similar questions I part II
COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Questões que estou errando + Similar questions I part II

Description:
Questões que estou errando + Similar questions I part II

Author:
AVATAR
luroberto@mail.com
Other tests from this author

Creation Date:
08/01/2024

Category: Others

Number of questions: 45
Share the Test:
New CommentNuevo Comentario
No comments about this test.
Content:
Refer to the code snippet below: import fetchOpps from ‘@salesforce/apex/OpportunitySearch.fetchOpportunities’ : @wire (fetchOpps) opportunities; When a Lightning web component is rendered, a list of apportunities that match certain criteria shopuld beretrievved from the database and displayed to the end user. Which three Considerations must the developerimplement to make the method available within the Lightning web component? Choose 3 answer The method must be annotated with the AuraEnabled annolation The method must be annotaled with true Invocablemethod annolation The method cannot mutate the result set retrieved from the database. The method must specify the (cacheable-true) attribute The method must specify the (continuation-true) attribute.
Refer to the following code snippet for an environment that has more than 200 Accounts belonging to theTechnology' industry: for (Account thisAccount : [Select Id, Industry FROM Account LIMIT 250] ) { if (thisAccount.Industry == ‘Technology’ ) { thisAccount.Is_Tech__c = true; } update thisAccount; } which three statements are accurate about debug logs? Choose 3 answers Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG,INFO, WARN, and ERROR levels. The maximum size of a debug log is 5 MB Debug logs can be set for specific users, classes, and triggers System debug logs are retained for 24 hours. Only the 20 most recent debug logs for a user are kept.
A developer needs to have records with specific field values in order to test a new Apex class. What shouldthe developer do to ensure the data is available to the test? Use Test.Loaddata () and reference a CSV file Use Test.Loaddata () and reference a static resource Use Anonymous Apex to create the required data. Use SOQL to query the org for the required data.
Universal Containers stores Orders and Line Items in Salesforce. For security reason, financial representatives are allowed to see information on the Order such as orderamount, but they are not allowed to see the Line items on the Order. Which type of relationship should beused? Master Detail Indirect lookup Lookup Direct Lookup.
A large corporation stones Orders and Line Items In Salesforce for different lines of business. Users are a..see Orders across the entire organization, but, for security purposes, should only be able to see the Line IfOrders in their line of business. Which type of relationship should be used between Line Items and Orders? Direct Lookup Master-Detail Lookup Indirect Lookup.
The Account object in an organization has a master detail relationship to a child object called Branch. Thefollowing automations exist: * Rollup summary fields * Custom validation rules * Duplicate rules A developercreated a trigger on the Account object. What two things should the developer consider while testing thetrigger code? Choose 2 answers Duplicate rules are executed once all DML operations commit to the database. The validation rules will cause the trigger to fire again. Rollup summary fields can cause the parent record to go through Save The trigger may fire multiple times during a transaction.
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 the developer do to ensure a successful deployment? Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components. Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior todeployment. Ensure the deployment is validated by a System Admin user on Production. Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
A developer must build application that tracks which Accounts have purchase specific pieces of equalproducts. Each Account could purchase many pieces of equipment. How should the developer track that anAccount has purchased a piece of equipment. Use the Asset object. Use a Custom object. Use a Master-Detail on Product to Account Use a Lookup on Account to product.
What is the maximum number of SOQL queries used by the following code? List aList = [SELECT Id FROM Account LIMIT 5]; for (Account a : aList) { List cList = [SELECT Id FROMContact WHERE AccountId = :a.Id); } 2 6 5 1.
Which two statements accurately represent the MVC framework implementation in Salesforce? Choose 2 answers Standard and Custom objects used in the app schema represent the View (V) part of the MVCframework Lightning component HTML files represent the Model (M) part of the MVC framework. Triggers that create records represent the Model (M) part of the MVC framework. Validation rules enforce business rules and represent the Controller (C) part of the MVC framework.
Universal Containers wants to back up all of the data and attachments in its Salesforce org once month.Which approach should a developer use to meet this requirement? Create a Schedulable Apex class. Define a Data Export scheduled job. Use the Data Loader command line. Schedule a report.
What writing an Apex class, a developer warts to make sure that all functionality being developed Is handledas specified by the requirements. Which approach should the developer use to be sure that the Apex class isworking according to specification? Include a savepoint and Database,rollback. Run the code in an Execute Anonymous block n the Deceloper Consider. Create a test class to execute the business logic and run the test in the Developer Console Include a try/catch block to the Apex class.
A recursive transaction is limited by a DML statement creating records for these two objects: 1. Accounts 2. Contacts The Account trigger hits a stack depth of 16. Which statement is true regarding the outcome of the transaction? The transaction fails only if the Contact trigger stack depth is greater or equal to 16 The transaction succeeds as long as the Contact trigger stack depth is less than 16 The transaction fails and all the changes are rolled back The transaction succeeds and all the changes are committed to the database.
A developer created a new trigger that inserts a Task when a new Lead is created. After deploying toproduction, an outside integration chat reads task records is periodically reporting errors. Which changeshould the developer make to ensure the integration is not affected with minimal impact to business logic? Remove the Apex class from the integration user's profile. Use a try-catch block after the insert statement. Deactivate the trigger before the integration runs. Use the Database method with all or None set to false.
What are three capabilities of the tag when loading JavaScript resources in Aura components? Choose 3answers One-time loading for duplicate scripts Specifying loading order Loading scripts In parallel Loading externally hosted scripts Loading files from Documents.
Which two types of process automation can be used to calculate the shipping cost for an Order when the Order is placed and apply a percentage of the shipping cost of some of the related Order Products? Choose 2 answers Flow Builder Process Builder Workflow Rule Approval Process.
Which two process automations can be used on their own to send Salesforce Outbound Message? Choose 2 answers Flow Builder Process Builder Workflow Rule Strategy Builder.
Which process automation should be used to post a message to Chatter without using Apex code? Flow Builder Entitlement Process Strategy Builder Outbound Message.
Which process automation should be used to send an outbound message without using Apex code? Flow Builder Process Builder Workflow Rule Approval Process.
A developer needs to implement the functionality for a service agent to gather multiple pieces of informationfrom a customer in order to send a replacement credit card. Which automation tool meets these requirements? Flow Builder Process Bulder Approval Process Lightning Component.
A credit card company needs to Implement the functionality for a service agent to process damaged creditcards. When the customers call In, the service agent must gather many pieces of information Is tasked toImplement this functionality. What should the developer use to satisfy this requirement In the most efficient manner? Flow Builder Approval Process Apex Trigger Lightning Component.
A company wants to implement a new call center process for handling customer service calls. It requiresservice reps to ask for the caller’s account number before proceeding with the rest of their call script.Following best practices, what is the optimal approach to satisfy this requiremnt Flow Builder Apex trigger Approvals Einstein Next Best Action.
Universal Hiring is using Salesforce to capture job applications. A salesforce administrator created two customobjects; Job c acting as the master object, Job application.__: acting as the detail. What is the recommendedtool a developer should use to meet the business requirement? Record-triggered flow Apex trigger Formula field Process Builder.
Which declarative process automation feature supports iterating over multiple records? Flows Workflow rules Approval Process Validation Rules.
As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted. Which automation tool should beused to meet this business requirement? Record-Triggered Flow Workflow Rules Process Builder Scheduled job.
Managers at Universal Containers want to ensure that only decommissioned containers are able to bedeleted in the system. To meet the business requirement a Salesforce developer adds ^Decommissioned' asa picklist value for the Status__: custom field within the Contact__c object. Which tool should the developeruse to enforce only Container records with a status of 'Decommissioned' can be deleted? After record-triggered flow Before record-triggered flow Validation rule Apex trigger.
Universal Container wants Opportunities to no longer be editable when reaching the Closed/Won stage. How should a developer accomplish this? Use flow Builder Use a validation rule. Use the Process Automation setting Mark fields as read-only on the page layout.
The sales management team at Universal Container requires that the Lead Source field of the Lead record bepopulated when a.. converted. What should be done to ensure that a user populates the Lead Source field prior to converting a Lead? Use a validation rule. Create an after trigger on Lead Use a formula field. Use Lead Conversation field mapping.
The sales management team at Universal Containers requires that the Lead Source field of the Lead record be populated when a Lead is converted. What should be used to ensure that a user populates the Lead Source field prior to converting a Lead? workflow Rule Process Builder Validation Rule Formula Field.
Universal Containers has implemented an order management application. Each Order can have one or moreOrder Line items. The Order Line object is related to the Order via a master-detail relationship. For eachOrder Line item, the total price is calculated by multiplying the Order Line item price with the quantity ordered. What is the best practice to get the sum of all Order Line item totals on the Order record? Apex trigger Formula field Roll-up summary field Quick action.
Universal Container use a simple order Management app. On the Order Lines, the order line total iscalculated by multiplying the item price with the quantity ordered. There is a Master-Detail relationshipbetween the Order and the Order Lines object. What is the practice to get the sum of all order line totals onthe order header? Apex Trigger Process Builder Roll-Up Summary Field Declarative Roll-Up Summaries App.
A developer has a requirement to create an Order When an Opportunity reaches a 'Closed-Won' status. Which tool should be used to implement this requirement? Lightning Component Apex trigger Process Builder Lightning.
Universal Containers (UC) is developing a process for their sales teams that requires all sales reps to gothrough a set of scripted steps with each new customer they create. In the first steps of collecting information,UC’s ERP system must be checked via as a REST endpoint to see if the customerexists. If the customerexists, the data must be presented to the sales rep in Salesforce. Which two should a developer implement to satisfy the requirements? Choose2 answer Flow Future method Invocable method Trigger.
Universal Container* decides to use purely declarative development to build out a new Salesforce application. Which two options can be used to build out the business logic layer for this application? Choose 2 answer Record-Triggered flow Validation Rules Batch Jobs Remote Actions.
A developer at Universal Containers is taked with implementing a new Salesforce application that bwill bemaintained completely by their company’s Salesforce administrator. Which two options should be consideredfor buildig out the business logic layerof the application? Chosse 2 answer Record-Triggered flows Validation Rules Unvocable Moorche Actions Scheduled.
Universal Container uses Service Cloud with a custom field, stage_c, on the Case object. Management wantsto send a follow-up email reminder 6 hours after the stage_c field is set to ''; Waiting on customer'' The ....Administrator wants to ensure the solution used is bulk safe. Which two automation tools should a developerrecommend to meet these business requirements? Choose 2 answers Record_Triggered Flow Scheduled Flow Einstein Next Best Action Process Builder.
Universal Containers has created a unique process for tracking container repairs. A custom field, status__c,has been created within the container__c custom object. A developer is tasked with sending notifications tomultiple external systems every time the value of the status__picklist changes. Which two tools should the developer use to meet the business requirement and ensure low maintenance ofthe solution? Choose 2 answers Record-Triggered flow Platform event Apex callouts Apex trigger.
Universal Containers wants Opportunities to no longer be editable when it reaches the Closed/Won stage. Which two strategies can a developer use to accomplish this? Choose 2 answers Use a trigger. Use a validation rule. Use an after-save flow. Use the Process Automation settings.
When a user edits the postal Code on an Account, a custom Account text field named. Timezone‘ must beupdated based on the values in a PostalCodeToTimezone_c custom ogject. Which two automationtools canbe used to implement this feature? Choose 2 answers Fast field Updates record-triggered flow Account trigger Quick actions Approval process.
Universal Containers decides to use purely declarative development to build out a new Salesforce application. Which three options can be used to build out the business logic layer for this application? Choose 3 answers Process builder Flow Builder Validation Rules Triggers Apex Class.
Which three process automations can immediately send an email notification to the owner of an Opportunitywhen its Amount is changed to be greater than $10,000? Choose 3 answers Process Builder Workflow Rule Approval Process Escalation Rule Flow Builder.
Which three operations affect the number of times a trigger can fire? Choose 3 answers Process Flows Workflow Rules Roll-Up Summary fields Email messages Criteria-based Sharing calculations.
Universal Containers decides to use exclusively declarative development to build out a new Salesforceapplication. Which three options should be used to build out the database layer for the application? Choose 3 answers Relationships Roll-Up Summaries Custom Objects and Fields Triggers Process Builder.
A developer of Universal Containers is tasked with implementing a new Salesforce application that must beable to by their company's Salesforce administrator. Which three should be considered for building out the business logic layer of the application? Choose 3 answers Process Builder Workflows validation Rules Invocable Actions Scheduled Jobs.
The Salesforce Administrator created a custom picklist field, Account_status_c, on the a Account object. This picklist has possible values of Inactive'' and Active? As part of a new business process, management wants to ensure an opportunity record is created only for Accounts marked as 'Active'. A developer is asked to implement this business requirement. Which two automation tools should be used to fulfill the business need? Choose 2 answers Salesforce Flow Process Builder Approval Process Workflow Rules .
Report abuse