Font size
WorksheetsSalesforce Daily Quiz
Total questions: 24
Worksheet time: 23mins
What is the purpose of the “public” and “private” access modifiers in Apex?
(Choose any two answers)
“public” means that the variable or method can be accessed from outside the class.
private” means that the variable or method can only be accessed within the class itself.
“public” means that the variable or method can be only be accessed within the class itself.
“private” means that the variable or method can be accessed from outside the class.
“public” means that the variable or method can be accessed from both outside and inside the class.
a...b...c...d
abcd...
...abcd
throws compile error
Which directive can be used to spread properties to a child component in LWC?
lwc : dom
lwc :slot-data
lwc : spread
lwc : slot-bind
What will be output?
object is User
throws System.Sobject
Exception
object is Case
throws System.String
Exception
What will be the output?
Value1
Value2
undefined
null
Which of the following Apex annotation is used to provide information to third party tools?
@NamespaceAccessible
@SuppressWarnings
@InvocableMethod
@RemoteAction
Which of the following configuration variable can be used with the 'sfdx config:set'
CLI command to set default dev hub?
defaultdevhubusername
defaultdevhub
defaultusername
target-dev-hub
None of this
10
[30, 40, 50]
10
30
unexpected token
'...'
Unexpected indentifire 'a'
10
[10, 20, 30, 40,50]
Which of the following is not a valid Salesforce CLI command?
sfdx org:list
sfdx org:open
sfdx org:refresh
sfdx org:status
What does the Flow element Core Action do?
Perform an Action in Apex
Perform an Action outside of the flow
Perform an Action inside of the flow
Get records that meet filter conditions
What is the maximum number of scheduled jobs you can have at one time?
50
1000
150
100
No Limit
What happenes when a flow that doesn't have an active version
is added to the outbound changes set while deploying changes to Salesforce?
The deployment fails
The latest inactive version is used
The first version is used
The flow is ignored
which of the following are respected while delivering
change data capture events?
Sharing Setting
Field-Level Security
Both Sharing Setting & Field-Level Security
None of this
What type of variable can be used to store information that is shared across
instances of a class?
Instance Variable
Static Variable
Local Variable
Both
Instance Variable & Static Variable
The maximum cumulative timeout for callouts by a single Apex transaction is-
10 seconds
30 seconds
60 seconds
120 seconds
Which lightning web components are supported by lightning web security ?
Lwc
Aura
Both Lwc & Aura
None of this
The maximum number of levels of that can be specified in a child-to-parent relationship in a SOQL query is
3
5
6
8
Which method can be used in Apex to remove the fields that the current user
can not access before DML operations to avoid exception?
SObject.isSet
Security.
stripInaccessible
SObject.clear
System.
DMLException.getDmlFieldNAmes
Which annotation used in Apex class level controls whether instances of the class can be serialized or deserialized ?
@InvocableVariable
@NamespaceAccessible
@JsonAccess
@RemoteAction
What is the HTTP response code for sucessfully
creating a record using REST API?
200
201
203
204
The maximum offset allowed in a SOQL query is
1000
2000
10000
20000
What is the correct order of invocation of the following LWC life cycle hooks?
1.connectedCallback on Parent
2.RenderedCallback on child.
3.connectedCallback on child
4.RenderedCallback on Parent
1,2,3,4
3,4,2,1
1,3,2,4
2,3,4,1
Skinny tables in Salesforce improve the performance of---?
Read-Only
operations
Read and Write
operations
Write-Only
operations
Undelete Operations
To denote types of articles ,
Classic knowledge uses ___ and Lightning knowledge uses __
Standard Record types and Articles Record Types
Articles Record Types and
Standard Record types
Standard Record types Only
Articles Record Types Only
