Salesforce Platform Developer 1 Practice Exam Latest Version/ Salesforce Developer, Exams of Company Secretarial Practice

Salesforce Platform Developer 1 Practice Exam Latest Version/ Salesforce Developer Certification Updated 2023-2024 with All Q&A

Typology: Exams

2022/2023

Available from 07/21/2023

john-wachira
john-wachira 🇺🇸

3.8

(70)

2.2K documents

1 / 17

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Salesforce Platform Developer 1 Practice Exam Latest
Version/ Salesforce Developer Certification Updated
2023-2024 with All Q&A
What is the name fields? --------- Correct Answer --------- All records need names so you
can distinguish between them. You can use text names or auto-numbered names that
automatically increment every time you create a record.
Fields you create on standard or custom objects are called what? --------- Correct
Answer --------- custom fields
The System Administrator profile includes which two special permission that override all
other sharing settings? --------- Correct Answer --------- View All Data
Modify All Data
What is the easiest way to create a profile? --------- Correct Answer --------- clone an
existing profile that's similar to the one you want to create, and then modify it.
What does Auditing provide? --------- Correct Answer --------- important information for
diagnosing potential security issues or dealing with real ones
You can turn on auditing to automatically track changes in the values of what? ---------
Correct Answer --------- individual fields.
Although field-level auditing is available for all custom objects, only some standard
objects allow it.
For auditing purposes - all objects include fields to store what? --------- Correct Answer -
-------- the name of the user who created the record and who last modified the record
You can review a list of successful and failed login attempts for the past _____ months.
--------- Correct Answer --------- six
What is Salesforce flow? --------- Correct Answer --------- A product that includes two
point-and-click automation tools:
Flow Builder, which lets you build flows, and Process Builder, which lets you edit
existing processes.
Why/when should you use Flow Builder? --------- Correct Answer --------- Why - To
automate a guided visual experience.
When - When you need to create a new automated process
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Salesforce Platform Developer 1 Practice Exam Latest Version/ Salesforce Developer and more Exams Company Secretarial Practice in PDF only on Docsity!

Salesforce Platform Developer 1 Practice Exam Latest

Version/ Salesforce Developer Certification Updated

2023 - 2024 with All Q&A

What is the name fields? --------- Correct Answer --------- All records need names so you can distinguish between them. You can use text names or auto-numbered names that automatically increment every time you create a record. Fields you create on standard or custom objects are called what? --------- Correct Answer --------- custom fields The System Administrator profile includes which two special permission that override all other sharing settings? --------- Correct Answer --------- View All Data Modify All Data What is the easiest way to create a profile? --------- Correct Answer --------- clone an existing profile that's similar to the one you want to create, and then modify it. What does Auditing provide? --------- Correct Answer --------- important information for diagnosing potential security issues or dealing with real ones You can turn on auditing to automatically track changes in the values of what? --------- Correct Answer --------- individual fields. Although field-level auditing is available for all custom objects, only some standard objects allow it. For auditing purposes - all objects include fields to store what? --------- Correct Answer - -------- the name of the user who created the record and who last modified the record You can review a list of successful and failed login attempts for the past _____ months. --------- Correct Answer --------- six What is Salesforce flow? --------- Correct Answer --------- A product that includes two point-and-click automation tools: Flow Builder, which lets you build flows, and Process Builder, which lets you edit existing processes. Why/when should you use Flow Builder? --------- Correct Answer --------- Why - To automate a guided visual experience. When - When you need to create a new automated process

Why/when should you use Process Builder? --------- Correct Answer --------- Why - For behind-the-scenes automation needs When - you're already familiar with using it and you need to edit an existing process Every process builder process contains what? --------- Correct Answer --------- a trigger, at least one criteria node, and at least one action. What does the process builder trigger identify? --------- Correct Answer --------- when the process should run. Trigger/process can be started on any of which events? --------- Correct Answer --------- Record Change (most common type) - a record is created or edited Invocable - it's called by another process Platform Event - a platform event message is received While a process gets one ______________, you can add as many _________________ as your heart desires. --------- Correct Answer --------- trigger criteria nodes What does an approval process automate? --------- Correct Answer --------- how Salesforce records are approved in your org In an approval process, what do you specify? --------- Correct Answer --------- The steps necessary for a record to be approved and who approves it at each step. The actions to take based on what happens during the approval process. What is included with every Salesforce license? --------- Correct Answer --------- The mobile app What are some beneficial features of the Salesforce mobile app? --------- Correct Answer --------- - plug-and-play - users just download it and it works out of the box with no setup required.

  • cross platform, it runs on Android and iOS operating systems
  • has offline capabilities
  • works seamlessly with the desktop version of Lightning Experience, so users can switch between the two without missing a beat How is it possible that the Salesforce mobile app works instantly, right out of the box? -- ------- Correct Answer --------- Your metadata.

How do you get to Page Layouts? --------- Correct Answer --------- From Setup, click Object Manager. Click an object and then click Page Layouts. The page layout editor has two basic parts: a ______________ at the top and the record's ________________ underneath. What can it be thought of as? --------- Correct Answer --------- palette, page layout You can think of the upper part as the buffet table and the lower part as the plate of food you're assembling. What is the palette in the page layout editor? --------- Correct Answer --------- It contains the basic elements—such as fields, actions, buttons, links, and related lists—that you can add and arrange on your page. What are the three primary types of custom buttons and links that you can create? ------- -- Correct Answer --------- List button Detail page link Detail page button Where do list buttons appear? --------- Correct Answer --------- on a related list on an object record page. Where do detail page links appear? --------- Correct Answer --------- in the Links section of the record details on an object record page. Where do detail page buttons appear? --------- Correct Answer --------- in the action menu in the highlights panel of a record page Where can custom links connect users to? --------- Correct Answer --------- an external URL, such as www.google.com a Visualforce page or your company's intranet Where can custom buttons connect users to? --------- Correct Answer --------- external applications, such as web pages, and launch custom links Which fields are standard on every object in Salesforce? --------- Correct Answer --------- Identity, system, and name What is the Identity field and where can you find it? --------- Correct Answer --------- A 15- character, case-sensitive field that's automatically generated for every record. You can find a record's ID in its URL. What are system fields? --------- Correct Answer --------- Read-only fields that provide information about a record from the system, like when the record was created or when it was last changed.

You can easily import external data into Salesforce. Supported data sources include any program that can save data what format? --------- Correct Answer --------- comma delimited text format (.csv). What are the two main methods for importing data that Salesforce offers? --------- Correct Answer --------- Data Import Wizard and Data Loader What is the Data Import Wizard? --------- Correct Answer --------- it lets you import data in common standard objects (such as contacts, leads, accounts) as well as custom objects provides a simple interface to specify the configuration parameters, data sources, and field mappings that map the field names in your import file with the field names in Salesforce The Data Import Wizard can import up to how many records at a time? --------- Correct Answer --------- 50, What is Data Loader? --------- Correct Answer --------- Data Loader is a client application for the bulk import or export of data Can be operated through the user interface or the command line. With command line, you need to specify data sources, field mappings, and other parameters via configuration files. Makes it possible to automate the import process, using API calls. The Data Loader can import up to how many records at a time? --------- Correct Answer --------- five million Which data import method is ideal for when you want to schedule regular data loads, such as nightly imports? --------- Correct Answer --------- Data Loader What is Setup? --------- Correct Answer --------- your one-stop-shop for customizing, configuring, and supporting your org Where can you get to Setup? --------- Correct Answer --------- from any page in your Salesforce org. From the gear menu at the top of the screen What are the are three main categories in the Setup menu? --------- Correct Answer ----- ---- Administration, Platform Tools, and Settings. What is the Administration category in Setup for? --------- Correct Answer --------- It is where you manage your users and data. You can do things like add users, change permissions, import and export data, and create email templates.

Record-level access can be managed in what four ways? --------- Correct Answer --------

  • Organization-wide defaults Role hierarchies Sharing rules Manual sharing You can set org-wide defaults to which four settings? --------- Correct Answer --------- Private Public Read Only Public Read/Write Controlled by Parent What does the Controlled by Parent security level mean? --------- Correct Answer --------- A user can view, edit, or delete a record if she can perform that same action on the record it belongs to. What does the Role Hierarchy security setting do? --------- Correct Answer --------- gives access for users higher in the hierarchy to all records owned by users below them in the hierarchy (ensure managers have access to the same records as their subordinates). What does the Organization-wide default security setting do? --------- Correct Answer --- ------ specify the default level of access users have to each others' records. You use org-wide sharing settings to lock down your data to the most restrictive level, and then use the other record-level security and sharing tools to selectively give access to other users. What is the Sharing Rules security setting? --------- Correct Answer --------- automatic exceptions to organization-wide defaults for particular groups of users, so they can get to records they don't own or can't normally see What is the Manual Sharing security setting and when is it useful? --------- Correct Answer --------- allows owners of particular records to share them with other users. Can be useful in some situations, such as when a recruiter going on vacation needs to temporarily assign ownership of a job application to someone else. What is a profile? --------- Correct Answer --------- a collection of settings and permissions that determines what users can see in the user interface, and what they can do Each user is assigned one _______________________. Users can be assigned one or more _______________________ --------- Correct Answer --------- profile permission sets

What do permission sets do? --------- Correct Answer --------- grant additional permissions and access settings to a user What are some key features of Quick Actions? --------- Correct Answer --------- you can create custom actions tailored to your own needs you can limit the fields to just the ones mobile users need you can prepopulate fields to save mobile users some time What are the two types of actions? --------- Correct Answer --------- global - let users create records, but the new record has no relationship with other records object-specific - let users create or update records in the context of a particular object Why are global actions called global actions, and what are they for? --------- Correct Answer --------- bc they can be put anywhere actions are supported—on record detail pages, but also places like the feed or Chatter groups. For quick things that users can follow up with later. What do compact layouts control? --------- Correct Answer --------- which fields appear in the header For each object, you can assign up to _______ fields in the compact layout --------- Correct Answer --------- 10 Is creating and customizing compact layouts for all your objects required? --------- Correct Answer --------- No because system defaults are provided out of the box However, it is recommended to use them to help your mobile users get the information they need quickly in the records header. Like other object-oriented programming languages, what are some of the language constructs that Apex supports? --------- Correct Answer --------- Classes, interfaces, and collections (including arrays). Expressions, variables, and constants. Conditional statements (if-then-else) and control flow statements (for loops and while loops). Apex is a programming language that uses _____________-like syntax --------- Correct Answer --------- Java

What does the merge statement do? --------- Correct Answer --------- merges up to three records of the same sObject type into one of the records, deleting the others, and re- parenting any related records. Are records deleted with the delete statement permanently deleted? --------- Correct Answer --------- No, not immediately. They're placed in the Recycle Bin for 15 days from where they can be restored. Apex Database methods have which optional parameter? --------- Correct Answer --------

  • allOrNone which allows you to specify whether the operation should partially succeed. By default this is set to true Apex triggers enable you to do what? --------- Correct Answer --------- perform custom actions before or after events to records in Salesforce, such as insertions, updates, or deletions What is the syntax of a trigger definition? --------- Correct Answer --------- It starts with the trigger keyword, is then followed by the name of the trigger, then the Salesforce object that the trigger is associated with, and the conditions under which it fires trigger TriggerName on ObjectName (trigger_events) { code_block } What are the trigger events you can specify? --------- Correct Answer --------- before insert before update before delete after insert after update after delete after undelete When are before and after triggers used? --------- Correct Answer --------- Before triggers
  • used to update or validate record values before they're saved to the database After triggers - used to access field values that are set by the system. The records that fire the after trigger are read-only What are Trigger.New and Trigger.Old? --------- Correct Answer --------- Trigger.New contains all the records that were inserted in insert or update triggers. Trigger.Old provides the old version of sObjects before they were updated in update triggers, or a list of deleted sObjects in delete triggers

Before you can deploy your code or package it for the Lightning Platform AppExchange, what has to be test covered? --------- Correct Answer --------- at least 75% of Apex code must be covered by tests, and all those tests must pass. Also, each trigger must have some coverage. What is the syntax of a test method? --------- Correct Answer --------- It is defined using the isTest annotation: @isTest static void testName() { // code_block } Does a test method need an access modifier? --------- Correct Answer --------- No, declaring a test method as public or private doesn't make a difference as the testing framework is always able to access test methods Test methods must be defined in test classes, which are classes annotated with what? - -------- Correct Answer --------- @isTest Test classes can be either ______ or ______ --------- Correct Answer --------- public private What is true about Salesforce records that are created in test methods? --------- Correct Answer --------- They aren't committed to the database. They're rolled back when the test finishes execution. This rollback behavior is handy for testing because you don't have to clean up your test data after the test executes. What is the TestDataFactory class? --------- Correct Answer --------- a special type of class that is annotated with @isTest and can be accessed only from a running test Test utility classes contain methods that can be called by test methods to perform tasks, such as setting up test data. Test utility classes are excluded from the org's code size limit. How do you include SOQL queries within your Apex code? --------- Correct Answer ------ --- wrap the SOQL statement within square brackets and assign the return value to an array of sObjects What does this Apex SOQL code do?

How can SOQL statements in Apex reference local Apex code variables and expressions? --------- Correct Answer --------- If they are preceded by a colon : String targetDepartment = 'Wingo'; Contact[] techContacts =[SELECT FirstName,LastName FROM Contact WHERE Department=:targetDepartment]; The use of a local variable within a SOQL statement is called what? --------- Correct Answer --------- a bind What is SOSL? --------- Correct Answer --------- Salesforce Object Search Language - a Salesforce search language that is used to perform text searches in records How is SOQL unlike SOSL? --------- Correct Answer --------- SOQL can only query one standard or custom object at a time while a single SOSL query can search all objects What is the syntax of a basic SOSL query? --------- Correct Answer --------- FIND 'SearchQuery' [IN SearchGroup] [RETURNING ObjectsAndFields] SearchQuery is the text to search for (is case-insensitive) SearchGroup is optional The WHERE, ORDER BY, and LIMIT keywords work here as well Example: [FIND 'SFDC' IN ALL FIELDS RETURNING Account(Name), Contact(FirstName,LastName)]; SearchGroup can take which of the following values and which is the default? --------- Correct Answer --------- ALL FIELDS (default) NAME FIELDS EMAIL FIELDS PHONE FIELDS SIDEBAR FIELDS What is Visualforce? --------- Correct Answer --------- a web development framework that enables developers to build custom user interfaces for mobile and desktop apps that can be hosted on the Lightning Platform What language is Visualforce like? --------- Correct Answer --------- it uses a tag-based markup language similar to HTML Visualforce markup can be freely mixed with what? --------- Correct Answer --------- HTML markup, CSS styles, and JavaScript libraries, giving you flexibility in how you implement your app's user interface.

How do you get to Salesforce browser JS console and what does this do when you enter it in there? $A.get("e.force:navigateToURL").setParams( {"url": "/apex/visualforcepageName"}).fire(); --------- Correct Answer --------- You can open your browser's JavaScript console with CTRL+SHIFT+J and this code allows you to see your Visualforce page in the context of Lightning Experience What does a standard Apex page include? --------- Correct Answer --------- some Salesforce style sheets, which let you match Salesforce choices for fonts, size, and so on To suppress this, add standardStylesheets="false" to remove the styles What is a Visualforce expression? --------- Correct Answer --------- any set of literal values, variables, sub-expressions, or operators that can be resolved to a single value. What is the expression syntax in Visualforce? --------- Correct Answer --------- {! expression } Anything inside the {! } delimiters is evaluated and dynamically replaced when the page is rendered or when the value is used. Are Visualforce expressions case-sensitive? --------- Correct Answer --------- No, and spaces within the {! ... } are ignored. So these expressions all produce the same value: {! $User.FirstName} {!$USER.FIRSTNAME} {! $user.firstname } Does Visualforce supports formulas in expressions? --------- Correct Answer --------- Yes, for example, the & character is the formula language operator that concatenates strings: {! $User.FirstName & ' ' & $User.LastName } What is the IF() expression in Visualforce? --------- Correct Answer --------- a conditional formula expression that takes three arguments: The first is a Boolean: something that is either true or false The second is the value that will be returned if the first parameter is true The third is the value that will be returned if the first parameter is false

FINE

FINER

FINEST

Logging levels are _____________________ --------- Correct Answer --------- cumulative For instance, if the log level is INFO for an event, log information at the ERROR and WARN levels is also included. How can you can log levels? --------- Correct Answer --------- By selecting Debug | Change Log Levels, then on the General Trace Settings for You tab - click Add/Change. In the Change DebugLevel window and choose the log level for each category How can you view raw logs? --------- Correct Answer --------- Select File | Open Raw Log The timestamp in a raw log shows the time elapsed in nanoseconds (in parentheses) since the start of the event What are log panels? --------- Correct Answer --------- They change the structure of the log to give other helpful information about the context for the code being executed Which panels are available in the Log Inspector? --------- Correct Answer --------- Stack Tree Execution Stack Execution Log Source Source List Variables Execution Overview What is the stack tree in the log inspector? --------- Correct Answer --------- Displays log entries within the hierarchy of their objects and their execution using a top-down tree view For instance, if one class calls a second class, the second class is shown as the child of the first. What is the execution stack in the log inspector? --------- Correct Answer --------- Displays a bottom-up view of the selected item. It displays the log entry, followed by the operation that called it. What is the execution log in the log inspector? --------- Correct Answer --------- Displays every action that occurred during the execution of your code. What is the source in the log inspector? --------- Correct Answer --------- Displays the contents of the source file, indicating the line of code being run when the selected log entry was generated.

What is the source list in the log inspector? --------- Correct Answer --------- Displays the context of the code being executed when the event was logged For example, if you select the log entry generated when the faulty email address value was entered, the Source List shows execute_anonymous_apex. What are variables in the log inspector? --------- Correct Answer --------- Displays the variables and their assigned values that were in scope when the code that generated the selected log entry was run. What is execution overview in the log inspector? --------- Correct Answer --------- Displays statistics for the code being executed, including the execution time and heap size. What do checkpoints show you? --------- Correct Answer --------- snapshots of what's happening in your Apex code at particular points during execution. How many checkpoints can you set in your Apex code? --------- Correct Answer --------- five Are checkpoints available for Visualforce markup? --------- Correct Answer --------- No After you run the Apex code successfully, how do you view your checkpoint results? ---- ----- Correct Answer --------- open your debug log and click the Checkpoints tab can double-click a checkpoint in the Checkpoints table to see the captured results What does the Checkpoints table display? --------- Correct Answer --------- the namespace, class, and line number of each checkpoint It also shows you the date and time when each checkpoint was created. What two tabs does the Checkpoint Inspector have? --------- Correct Answer --------- Heap and Symbols What is the heap in the checkpoint inspector? --------- Correct Answer --------- Displays all objects present in memory at the line of code where your checkpoint was executed. What are symbols in the checkpoint inspector? --------- Correct Answer --------- Displays all symbols in memory in tree view.