Your organization always stresses the importance of on-time delivery and reliability. A manager has detected that your team’s progress is too slow. They feel that your team's velocity needs to be 10% higher. The organization expects you, as the Scrum Master, to make it happen. How do you respond? (Choose two.)
A. You help management understand that it typically takes a few Sprints for a team to gradually increase the velocity up to the level expected. Meanwhile you present this to the team as a challenge and a company goal, leaving it however up to them to figure out exactly how to achieve this.
B. You educate management that it is the Scrum Team's responsibility to improve their velocity. You invite management to the next Sprint Retrospective to brainstorm on how they can improve.
C. You explain how a Scrum Team uses the velocity of a Sprint primarily to forecast work for the next Sprint, not to perfectly predict future productivity. You refer management to the Product Owner for all information concerning the progress of development.
D. You inform management of organizational impediments that prevent the Scrum Team from being more productive. You enlist their help to remove these impediments.
E. You tell management that this is not your accountability in Scrum. You direct them to the Product Owner to determine whether the forecast is accurate.
Explanation:
A) emphasizes a gradual increase in velocity, which aligns with Scrum principles of continuous improvement and team autonomy.
D) involves addressing organizational impediments, a key role of the Scrum Master, as removing obstacles is critical to improving team performance.
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and C55 files. They want to ensure efficient loading and caching of the page. Which feature should be utilized to achieve this goal?
A. ActionFunction
B. PageBlockTable
C. Static resources
D. RemoteAction
A developer creates an application event that has triggered an infinite loop. What may have caused this problem?
A. The event handler calls a trigger
B. The event has multiple handlers registered in the project
C. An event is fired 'ontouchend' and is unhandled
D. The event is fired from a custom renderer
Explanation:
In Salesforce development, firing an event from a custom renderer can sometimes cause unintended behavior, such as infinite loops. This is because custom renderers directly control the rendering lifecycle of components, and triggering events in these renderers can lead to situations where the event repeatedly fires, causing an infinite loop.
A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler.
A. Add @AuraEnafcle3 to line 09.
B. Add @AuraEnabled to line 03.
C. Add @AuraEnabled to lines 11 and 12.
D. Add @AuraEnat:ei to line 01.
A dev created a class that implements the Queueable Interface as follows:
public class without sharing OrderQueueableJob implements Queueable{
public void execute(QueueableContext context){
// logic
System.enqueueJob(New OrderQueueableJob));
}
}
As part of the deployment process, the dev is asked to create a corresponding test class. Which two actions should the dev take to successfully execute the test class?
A. Implement seeAllData=True to ensure the Queueable job is able to run in bulk mode.
B. Ensure the running user of the test class has, at least, View All permissions on the Order object.
C. Enclose System.enqueuJob(new OrderQueueableJob) within Test.startTest() and Test.stopTest()
D. Implement Test. isRunningTest() to prevent chaining jobs during test execution.
How should a developer assert that a trigger with an asynchronous process has successfully run?
A. Create at test data in the test class, use System.runAs() to invoke the trigger, then perform assertions.
B. Insert records into Salesforce, use seeAllData-true, then perform assertions.
C. Create all test data, use @future In the test class, then perform assertions.
D. Create all test data in the test class, invoke Test.startTest() and Test.stopTest() and then perform assertions.
Explanation:
Test.startTest() and Test.stopTest() are used to ensure that any asynchronous processes (like @future methods, batch Apex, or queueable jobs) have been executed and completed within a test method. These methods simulate a fresh execution context and allow the developer to assert that the asynchronous process was executed successfully.
Universal Containers has an Apex trigger on Account that creates an Account Plan record when an Account is marked as a Customer. Recently a record-triggered flow was added so that whenever an Account is marked as a Customer, a ‘Customer Since’ date field is updated with today’s date. Since the addition of the flow, two Account Plan records are created whenever the Account is marked as a Customer. What might cause this to happen?
A. The flow is configured to evaluate when a record is created and every time it is edited.
B. The Apex trigger is not bulk safe and calls insert inside of a for loop.
C. The Apex trigger does not use a static variable to ensure it only fires once.
D. The flow is configured to use an ‘Update Records’ element.
Explanation:
In Salesforce, both a trigger and a flow could be updating the same record, causing the trigger to run multiple times. If the Apex trigger doesn't use a static variable to prevent multiple executions in a single transaction, it can result in creating duplicate records. The static variable ensures that the trigger only fires once, even if the record is updated multiple times within the same transaction.
There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once. What can a developer do to help alleviate such issues?
A. Use the transient keyword in the Apex code when querying the Account records
B. Use JavaScript remoting to query the accounts
C. Use the standard Account List controller and implement pagination
D. Upload a third-party data table library as a static resource
A developer is building a Lightning web component that searches for Contacts and must communicate the search results to other Lightning web components when the search completes. What should the developer do to implement the communication?
A. Publish an event on an event channel.
B. Fire an application event.
C. Publish a message on a message channel.
D. Fire a custom component event.
A developer is debugging an Apex-based order creation process that has a requirement to have three savepoints, SP1, SP2, and 5P3 {created in order), before the final execution of the process. During the final execution process, the developer has a routine to roll back to SP1 for a given condition. Once the condition is fixed, the code then calls 2 roll back to SP3 to continue with final execution. However, when the roll back to SP3 is called, a Funtime error occurs. Why does the developer receive a runtime error?
A. SP3 became invalid when SP1 was rolled back.
B. The developer has too many DML statements between the savepoints.
C. The developer used too many savepoints in one trigger session.
D. The developer should have called SF2 before calling SP3.
Page 3 out of 9 Pages |
Previous |