67 - Which code in a Visualforce page and/or controller might present a security vulnerability?

67-131

Quiz
•
Other
•
Professional Development
•
Easy
Jumash Deryayev
Used 8+ times
FREE Resource
66 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
<apex: outputText value=" {!$CurrentPage.parameters,.userInput}” />
<apex: outputField value=" {!crtl.userInput}" />
<apex: outputText escape="false" value=" {!$CurrentPage.parameters.userInput}” />
<apex:outputField escape=”false" values=”{!ctrl.userInput}” />
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
68- A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.
Which two tools can they use to run a script that deploys to a sandbox?
Choose 2 answers
SFDX CLI
VSCode
Developer Console
Change Sets
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
68- A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.
Which two tools can they use to run a script that deploys to a sandbox?
Choose 2 answers
Ant Migration Tool
Change Sets
SFDX CLI
Developer Console
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
69 - A developer must create a ShippingCalculator class that cannot be instantiated and must include a
working default implementation of a calculate method, that sub-classes can override.
What is the correct implementation of the ShippingCalculator class?
public abstract class ShippingCalculator{ public virtual void calculate(){/*implementation*/}}
public abstract class ShippingCalculator{ public override calculate(){/*implementation*/}}
public abstract class ShippingCalculator{ public abstract calculate(){/*implementation*/}}
public abstract class ShippingCalculator{ public void calculate(){/*implementation*/}}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
70 - The values 'High', 'Medium', and 'Low are identified as common values for multiple picklists across different objects.
What is an approach a developer can take to streamline maintenance of the picklists and their values, while also restricting the values to the ones mentioned above?
Create the Picklist on each object and use a Global Picklist Value Set containing the values.
Create the Picklist on each object as a required field and select "Display values alphabetically, not in the order entered".
Create the Picklist on each object and select "Restrict picklist to the values defined in the value set"
Create the Picklist on each object and add a validation rule to ensure data integrity.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
71 - A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit.
The above method might be called during a trigger execution via a Lightning component.
Which technique should be implemented to avoid reaching the governor limit?
Use the System.Limits.getLimitsQueries () method to ensure the number of queries is less than 100.
Refactor the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.
Use the system.Limits.getQueries () method to ensure the number of queries is less than 100.
Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds,
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
72 - A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules.
What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Quizizz
61 questions
18th Edition complete mock 2

Quiz
•
Professional Development
70 questions
366-668e1a99978f8d4d5671b16e

Quiz
•
Professional Development
70 questions
HVAC FC 07

Quiz
•
Professional Development
68 questions
ATM

Quiz
•
Professional Development
70 questions
Chapter 11 Properties Of The Hair And Scalp

Quiz
•
Professional Development
66 questions
AI Terminology Quiz

Quiz
•
Professional Development
70 questions
Pelatihan ERP

Quiz
•
Professional Development
65 questions
Conduction System & Hemodynamics

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade