Oct-2023 Free TVB-450 Test Questions Real Practice Test Questions [Q85-Q102]

Share

Oct-2023 Free TVB-450 Test Questions Real Practice Test Questions

TVB-450 Dumps Updated Oct 22, 2023 WIith 151 Questions

NEW QUESTION # 85
Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers

  • A. $Lightning.createComponent
  • B. $Lightning.use
  • C. <apex:includeLightning/>
  • D. $Lightning.useComponent
  • E. <apex:slds/>

Answer: A,B,C


NEW QUESTION # 86
A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } | Opportunity record type, and set certain default values based on the record type before inserting the record. i, J Calculator How can the developer find the current user's default record type? ns

  • A. Use Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types, and iterate through them until [ J isDefaultRecordTypeMapping() is true. Pencil & Paper |
  • B. Use the Schema.userlnfo.Opportunity.getDefaultRecordType() method. < Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current Dal
  • C. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() | | method. ] |

Answer: A

Explanation:
user's default record type.


NEW QUESTION # 87
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 Assistance user should be able to see all field on the record except the commission field.
How should this be enforced so that the component works for both users without showing any errors?

  • A. Use security. stripInaccessible to remove fields inaccessible to the current user.
  • B. Use Lightning Data Service to get the collection of sales records.
  • C. Use Lightning Locker Service to enforce sharing rules and field-level security.
  • D. Use with SECURITY_EMFoRCED in the SOQL that fetches the data for the component.

Answer: A


NEW QUESTION # 88
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?

  • A. @InvocableMethod(Label='additional Info')
    public ContactInfo(Id contactId)
    { /*implementation*/ }
  • B. @invocableMethod(label)='Additional Info')
    public static List<ContactInfo> getInfo(List<Id> contactIds)
    { /*Implementation*/ }
  • C. @InvocableMethod(label='additional Info')
    public static ContactInfo getInfo(Id contactId)
    { /*implementation*/ }
  • D. @InvocableMethod(label='Additional Info')
    public List<ContactInfo> getInfo(List<Id> contactIds)
    { /*implementation*/ }

Answer: B


NEW QUESTION # 89
Which three web technologies can be integrated into a Visualforce page? (Choose three.)

  • A. PHP
  • B. HTML
  • C. CSS
  • D. JavaScript
  • E. Java

Answer: B,C,D


NEW QUESTION # 90
Which code should be used to update an existing Visualforce page that uses standard Visualforce components so that the page matches the look and feel of Lightning Experience?

  • A. <apex:commandButton styleClass="slds-vf-button_brand" value="Refresh the Page">
  • B. apex:actionStatus
  • C. <apex:page lightningStyleSheets="true">
  • D. <apex:page>

Answer: C


NEW QUESTION # 91
Universal Containers has created a unique process for tracking container repairs. A custom field, status__c, has been created within the container__c custom object. A developer is tasked with sending notifications to multiple external systems every time the value of the status__picklist changes.
Which two tools should the developer use to meet the business requirement and ensure low maintenance of the solution?
Choose 2 answers

  • A. Apex trigger
  • B. Platform event
  • C. Record-Triggered flow
  • D. Apex callouts

Answer: B,D


NEW QUESTION # 92
Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry:

which three statements are accurate about debug logs?
Choose 3 answers

  • A. System debug logs are retained for 24 hours.
  • B. The maximum size of a debug log is 5 MB.
  • C. Debug logs can be set for specific users, classes, and triggers.
  • D. Only the 20 most recent debug logs for a user are kept.
  • E. Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels.

Answer: A,C,D


NEW QUESTION # 93
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.

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

  • A. Move the DML that saves opportunities outside the for loop.
  • B. Use Database.query to query the opportunities.
  • C. Query for existing opportunities outside the for loop.
  • D. Check if all the required fields for Opportunity are being added on creation.

Answer: A,C


NEW QUESTION # 94
Which three data types can a SOQL query return? Choose 3 answers

  • A. sObject
  • B. List
  • C. Integer
  • D. Long

Answer: A,B,C


NEW QUESTION # 95
A developer creates a custom exception as shown below:
What are two ways the developer can fire the exception in Apex? Choose 2 answers

  • A. New ParityException( );
  • B. Throw new ParityException (parity does not match);
  • C. New ParityException (parity does not match);
  • D. Throw new parityException ( );

Answer: B,D


NEW QUESTION # 96
A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field every time an Account is created or updated.
How many times will the trigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C


NEW QUESTION # 97
What can be used to override the Account's standard Edit button for Lightning Experience7

  • A. Lightning flow
  • B. Lightning component
  • C. Lightning page
  • D. Lightning action

Answer: B


NEW QUESTION # 98
A developer of Universal Containers is tasked with implementing a new Salesforce application that must be able to by their company's Salesforce administrator.
Which three should be considered for building out the business logic layer of the application? Choose 3 answers

  • A. Invocable Actions
  • B. Scheduled Jobs
  • C. Workflows
  • D. Process Builder
  • E. validation Rules

Answer: C,D,E


NEW QUESTION # 99
Which two are phases in the Salesforce Application Event propagation framework? Choose
2 answers

  • A. Bubble
  • B. Capture
  • C. Default

Answer: B,C


NEW QUESTION # 100
A developer created these three Rollup Summary fields in the custom object, Project_ct,

The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project.
Which should the developer use to Implement the business requirement in order to minimize maintenance overhead?

  • A. Apex Trigger
  • B. Formula field
  • C. Record-triggered Flow
  • D. Process Builder

Answer: B


NEW QUESTION # 101
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 to do so. What is a possible reason that this change was not permitted?

  • A. The Account records contain Vendor roll-up summary fields.
  • B. The Account object is included on a workflow on the Vendor object.
  • C. The Vendor records have existing values in the Account object.
  • D. The Vendor object must use a Master-Detail field for reporting.

Answer: A


NEW QUESTION # 102
......

View All TVB-450 Actual Free Exam Questions Updated: https://www.lead1pass.com/Salesforce/TVB-450-practice-exam-dumps.html

Pass Authentic Salesforce TVB-450 with Free Practice Tests and Exam Dumps: https://drive.google.com/open?id=1WhJQbHr_KLKebYF2CaUmm9NvmkL3pWh6