
Dev ilk 66 soru 9 haric
Quiz
•
Other
•
Professional Development
•
Easy
Jumash Deryayev
Used 9+ times
FREE Resource
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
- Refer to the following Apex code:
Integer x = 0;
do {
x = 1;
x++;
}while (x<1);
System.debug(x);
What is the value of x when it is written to the debug log?
0
1
2
3
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
- Management asked for opportunities to be automatically created for accounts with annual revenue greater than
$1,000,000. A developer created the following trigger on the Account object to satisfy this requirement.
for (Account a: Trigger.new) {
if (a.AnnualRevenue > 1000000) {
List<Opportunity> opplist = (SELECT Id FROM Opportunity WHERE accountId = :a. Id];
if (opplist.size() == 0) {
Opportunity oppty = new Opportunity (Name = a.name, StageName = ‘Prospecting’,
ClogeDate = system. today ().addDays (30) ) ;
insert oppty;
}
}
}
Users are able to update the account records via the UI and can see an opportunity created for high annual
revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, it
fails with System. Exception errors.
Which two actions should the developer take to fix the code segment shown above?
Choose 2 answers
Move the DML that saves opportunities outside of the for loop.
Query for existing opportunities outside of the for loop.
Use Database. query to query the opportunities.
Check if all the required fields for Opportunity are being added on creation.
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What are two use cases for executing Anonymous Apex code?
Choose 2 answers
To run a batch Apex class to update all Contacts
To schedule an Apex class to run periodically
To add unit test code coverage to an org
To delete 15,000 inactive Accounts in a single transaction after a deployment
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A software company uses the following objects and relationships:
● Case: to handle customer support issues
● Defect c: a custom object to represent known issues with the company's software
● Cage Defect c: a junction object between Case and Defect o to represent that a defect is a cause of a
customer issue
Case and Defect__c have Private organization-wide defaults.
What should be done to share a specific Case_Defect__c record with a user?
Share the parent Defect_c record
Share the parent Case and Defect__c records.
Share the Case_Defect__ c record
Share the parent Case record
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
- A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The
developer team decided that the trigger should be tested with 200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code?
Choose 2 answers
Create a static resource containing test data.
Use the @isTest (seeAllData=true) annotation in the test class
Use the @isTest (iParallel=true) annotation in the test class
Use Test.loadData to populate data in your test methods
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer is building custom search functionality that uses SOSL to search account and contact records that
match search terms provided by the end user. The feature is exposed through a Lightning web component, and
the end user is able to provide a list of terms to search.
Consider the following code snippet:
@AuraEnabled
public static Ligt<List<sObject>> searchTerms(List<String> termList) {
List‹List<sObject>> result = new List <List<sObject>> ();
for (String term : termList){
regult.addAll([FIND :term IN ALL FIELDS RETURNING Account (Name),
Contact (FirstName, LastName) ]) ;
}
return result;
}
What is the maximum number of search terms the end user can provide to successfully execute the search
without exceeding a governor limit?
20
150
200
2000
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations.
In this implementation scenario, which artifact is part of the Controller according to the MVC architecture?
HTML file
XML file
JavaScript file
Apex class
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
SFDC Admin Practice Test 1
Quiz
•
Professional Development
62 questions
MP03 UF2 Part 2
Quiz
•
Professional Development
60 questions
Đề 4
Quiz
•
Professional Development
70 questions
CHP 1 Comprehensive Medical Assisting Study Guide
Quiz
•
Professional Development
60 questions
GESTIÓN LÓGÍSTICA | MÓDULO 3
Quiz
•
Professional Development
60 questions
Gestión Logística | Módulo 2 | Sistemas Distributivos
Quiz
•
Professional Development
61 questions
TALLER-TEORIA
Quiz
•
Professional Development
69 questions
HVAC FC 01
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Other
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
