Exam Zafer

Exam Zafer

72 Qs

quiz-placeholder

Similar activities

S2 Fundamentals of Computing - A Study Review

S2 Fundamentals of Computing - A Study Review

KG - University

77 Qs

Week 2 Assessment

Week 2 Assessment

KG - University

73 Qs

Intro to Business - (S2) Final Exam

Intro to Business - (S2) Final Exam

KG - University

70 Qs

Thermal Energy

Thermal Energy

6th Grade

71 Qs

Salesforce AI Associate

Salesforce AI Associate

KG - University

76 Qs

Net+ ch. 4-6

Net+ ch. 4-6

12th Grade

74 Qs

Security

Security

KG - University

71 Qs

Exam Zafer

Exam Zafer

Assessment

Quiz

others

Easy

Created by

مائدة القرءان

Used 6+ times

FREE Resource

72 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 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 CHOICE QUESTION

30 sec • 1 pt

A developer is creating a Lightning web component to show a list of sales records. The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record except the commission field. How should this be enforced so that the component works for both users without showing any errors?
Use Security. acripinaccegeible to remove fields inaccessible to the current user.
Use Lightning Data Service to get the collection of sales records.
Use WITH SECURITY_ENFORCED in the SQL that fetches the data for the component.
Use Lightning Locker Service to enforce sharing rules and field-level security.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Universal Containers has a support process that allows users to request support from its engineering team using a custom object, Engineering_ Support__c Users should be able to associate multiple Engineering_support__c records to a single Opportunity record. Additionally, aggregate information about the Engineering_ Support__c records should be shown on the Opportunity record. What should a developer implement to support these requirements?
Lookup field from Opportunity to Engineering_ support__c
Master-detail field from Opportunity to Engineering_ support__c
Lookup field from Engineering_Support__c to Opportunity
Master-detail field from Engineering_ support__c to Opportunity

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer created this Apex trigger that calls MyClass.myStaticMethod: trigger myTrigger on Contact (before insert) { MyClass.myStaticMethod(trigger.new); } The developer creates a test class with a test method that calls MyClass.myStaticMethod directly, resulting in 81% overall code coverage. What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?
The deployment passes because both classes and the trigger were included in the deployment.
The deployment fails because the Apex trigger has no code coverage.
The deployment passes because the Apex code has the required >75% code coverage.
The deployment fails because no assertions were made in the test method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer has a requirement to write Apex code to update a large number of account records on a nightly basis. The system administrator needs to be able to schedule the class to run after business hours on an as-needed basis. Which class definition should be used to successfully implement this requirement?
global inherited sharing class ProcesAccountProcessor implements Database.Batchable, Schedulable
global inherited sharing class ProceegAccountProcessor implements Queueable
global inherited sharing class ProceegAccountProceessor implements Database.Batchable
global inherited sharing class ProcessAccountProcessor implements Schedulable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Salesforce Administrator used Flow Builder to create a flow named "accountOnboarding". The flow must be used inside an Aura component. Which tag should a developer use to display the flow in the component?
aura: flow
aura-flow
lightning-flow
lightning: flow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An org tracks customer orders on an Order object and the line items of an Order on the Line Item object. The Line Item object has a Master/Detail relationship to the Order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line Item based on quantity and price. What is the correct implementation?
Implement the line amount as a currency field and the order amount as a SUM formula field.
Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
Write a process on the Line Item that calculates the item amount and order amount and updates the fields on the Line Item and the Order

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?