Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers
A. Upload the SVG as a static resource.
B. Import the static resource and provide a getter for it in JavaScript.
C. Reference the getter in the HTML template.
D. Reference the import in the HTML template.
E. Import the SVG as a content asset file.
A developer created this Apex trigger that calls MyClass.myStaticMethod:
trigger myTrigger on Contact(before insert)
{ MyClass.myStaticMethod(trigger.new, trigger.oldMap); }
The developer creates a test class with a test method that calls MyClass.myStaticMethod, 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?
A. The deployment fails because the Apex trigger has no code coverage.
B. The deployment fails because no assertions were made in the test method.
C. The deployment passes because the Apex code has required (>75%) code coverage.
D. The deployment passes because both classes and the trigger were included in the deployment.
A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?
A. ApexPages.currentPage() .getParameters() .get('url_param')
B. ApexPages.currentPage() .getParameters() .get('url_param') .escapeHtml4()
C. String.ValueOf(ApexPages.currentPage() .getParameters() .get('url_param'))
D. String.escapeSingleQuotes(ApexPages.currentPage() .getParameters(). get('url_param'))
Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a Master-Detail relationship with the standard Account object. Based on some internal discussion, the UC administrator tried to change the Master-Detail relationship to a Lookup relationship but was not able todo so. What is apossible reason that this change was not permitted?
A. The Account records contain Vendor roll-up summary fields.
B. The Vendor object must use a Master-Detail field for reporting.
C. The Vendor records have existing values in the Account object.
D. The Account object is included on a workflow on the Vendor object.
Which tag should a developer include when styling from external CSS is required in a Visualforce page?
A. Apex : includeStyle
B. Apex : require
C. Apex : includeScript
D. Apex : stylesheet
Which control statement should a developer use to ensure that a loop body executes at least once?
A. For(variable : list_or_set){}
B. While (condition){}
C. For(init_stmt;exit_cond;increment){}
D. Do {} while (cond)
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
A. Performance Tree tab under Stack Tree panel
B. Execution Tree tab under Stack Tree panel
C. Timeline tab under Execution Overview panel
D. Save Order tab under Execution Overview panel
Which two number expressions evaluate correctly? (Choose two.)
A. Double d = 3.14159;
B. Integer I = 3.14159;
C. Decimal d = 3.14159;
D. Long l = 3.14159;
A developer Is Integrating with a legacy on-premise SQL database.
What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?
A. Lookup field
B. External ID field
C. Formula field
D. External Object
What should a developer use to script the deployment and unit test execution as part of continuous integration?
A. Developer Console
B. Execute Anonymous
C. Salesforce CLI
D. VS Code