Debug

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which of the following statements are true in regards to a Partial Copy and Full Copy Sandbox? Choose 2 answers.

A. A Full copy sandbox supports templates C. A Partial copy sandbox can store less data than a full copy sandbox

The developers of Cosmic Enterprises use sandbox environments for development, integration, and testing. A developer often needs to migrate metadata components from one sandbox to another when multiple developers are working on the same project. The lead developer of the organization would like to simplify the customization of individual sandboxes and reduce the amount of time spent by developers on migrating metadata components. Which option is available for this use case? Choose 2 answers.

A. A sandbox can be cloned to ensure that the same metadata components are available for other developers. B. While creating a sandbox, an option to use an existing sandbox can be selected.

A developer is exploring the capabilities of Tooling API while working on the development of an app. Which of the following are the typical use cases of Tooling API? Choose 3 answers.

A. Accessing code coverage test results for an Apex class B. Committing changes to a Salesforce org C. Using ApexLog to access a debug log

What are the recommended tools for deploying metadata from one environment to another? Choose 3 answers.

A. Ant Migration Tool B. Visual Studio Code C. Change Sets

An administrator is trying to send emails to certain users from a sandbox using a workflow email alert, but he has found that emails are not being received. What action should he take? Choose 3 answers.

A. Check the email addresses D. Check the Email Logs E. Check Email Deliverability setting

What are valid considerations when deciding whether to use change sets or the Force.com Ant Migration Tool? Choose 2 answers.

A. Deployments can be scripted and scheduled with the Force.com Ant Migration Tool D. Change sets are cloud based and do not require files to be brought to a local file system

A developer can view and download Debug Logs using which of the following? Choose 2 answers.

A. Developer Console C. Setup Debug Logs

Before deploying to production, what is true? Choose 3 answers.

A. Development must be done in a developer edition or sandbox B. It is a best practice to test in a dedicated testing environment with large sets of data D. APEX Code must have sufficient code coverage

What are capabilities of the developer console? Choose 3 answers.

A. Edit a Visualforce page B. View Debug Logs D. Execute Anonymous Apex code blocks

Which of the following are capabilities of Visual Studio Code? Choose 3 answers.

A. Executing SOQL queries B. Deploying metadata components from one org to another D. Running Apex Tests

What information can the log inspector contain? Choose 3 answers.

A. Execution Overview B. Source D. Stack Tree

Which of the following components are not available to deploy using the Metadata API? Choose 2 answers.

A. Fiscal Year B. Currency Exchange Rates

A developer working for Cosmic Solutions would like to use the Ant Migration Tool to propagate the deletion of a custom object from a developer pro sandbox to the production org used by the company. Which of the following would be necessary to specify in the format of the destructiveChanges.xml file used for this requirement? Choose 2 answers.

A. Name of the metadata component type C. Name of the metadata component member

A developer would like to test his code with a sample of live data every week. Which type of sandbox should he use? Choose 1 answer.

A. Partial Copy Sandbox

Sending and receiving change sets can be done between which of the following? Choose 2 answers.

A. Sandbox to Sandbox. B. Developer Sandbox to Production.

Which environment would be most appropriate to perform a test deployment and final regression testing, as well as stress and performance testing? Choose 1 answer.

A. Staging

When would a full copy sandbox be required? Choose 2 answers.

A. Staging B. Performance and Load Testing

Which of the following are true about the Logs Tab in the Developer Console? Choose 3 answers.

A. The Developer Console automatically polls for the current user debug logs and lists them in the Logs tab. B. A developer may use the Logs tab in the Developer Console to access logs that include database events, Apex processing, workflow, callouts, and validation logic. D. By default, the Logs tab displays only new logs generated by the current user but a developer will have an option to see all debug logs saved in the organization, including newly generated logs created by other users.

A developer has written an Apex class that performs some operation on newly created Opportunity records. However, it does not produce the desired result when users create new records. If five checkpoints have been set up in the class by the developer, how can the Checkpoint Inspector be utilized to debug the Apex class? Choose 2 answers.

A. The Types panel shows the objects that were instantiated when a checkpoint was executed B. The field values of an object's instance can be viewed under the State panel

Which of the following statements are true about trace flags? Choose 2 answers.

A. Trace flags should be configured, along with the debug level, to activate debug logs for users, Apex classes, and Apex triggers C. A trace flag includes a debug level, a start time, an end time, and a log type

Which of the following types of trace flags can be used by a developer? Choose 3 answers.

A. User based B. Class based C. Trigger based

The level of debugging information logged can be set for which of the following debug log categories? Choose 3 answers.

A. Visualforce B. Apex Code C. Database

Given a sample code snippet below, on what line/s of code correspond/s to an execution unit of a debug log? 20:43:45.1 (1707921) | EXECUTION_STARTED 20:43:45.1 (1714356) | CODE_UNIT_STARTED | [EXTERNAL] | 01pO0000000Hury | LeadBLTest.setUpTestData 20:43:51.574 (7549778580) | CODE_UNIT_FINISHED | LeadBLTest.setUpTestData 20:43:51.574 (7550987692) | EXECUTION_FINISHED Choose 1 answer.

B. 1st, 2nd, 3rd, & 4th

What is true in the debug log line below? 20:43:52.588 (7632137015) | LIMIT_USAGE | [137] | SOQL | 38 | 100 Choose 2 answers.

B. 20:43:52.588 (7632137015) corresponds to the timestamp of the log line. C. LIMIT_USAGE is the name of the event that occurred.

A team of developers would like to create a commercially available Force.com app. In this case, which environments would be used? Choose 2 answers.

B. A Partner Developer Edition C. A Developer Edition

Developers may define the layout of panels in the Developer Console. Which of the following statements are true about managing perspectives in the Developer Console? Choose 2 answers.

B. By clicking Debug > Perspective Manager, a developer may use built in perspectives or use custom ones. D. By default, perspectives available are All (All panels), Debug (contains Execution Log, Source and Variables panels), Log Only (Execution Log only) & Analysis (includes the Stack Tree, Execution Stack, Execution Log, and Execution Overview panels)

A developer is required to know the number of SOQL queries initiated in a single transaction Apex trigger along with its limit usage. What debug level should the Apex Profiling category on developer's trace flag contain to satisfy this requirement? Choose 1 answer.

B. FINEST

A developer has written an Apex Trigger. She tested it and the trigger is not functioning as expected. She now wants to debug the code. How can the developer accomplish this in the Developer Console? Choose 1 answer.

B. Go to the Logs tab in Developer Console.

Which of the following debug log sections contains the version of the API used during the transaction and the log category and level used to generate the log? Choose 1 answer.

B. Header

What capabilities are part of the workbench? Choose 3 answers.

B. Interacting with the REST API D. Executing SOQL and SOSL queries E. Describing Metadata and data

A developer would like to accelerate their development and deployment working with the Force.com platform and has installed Visual Studio Code with the Salesforce extension pack and the Salesforce CLI. What are the benefits of using Visual Studio Code? Choose 2 answers.

B. Metadata components can be modified D. Apex tests can be easily run

A managed package can be created in which type of environment? Choose 2 answers.

B. Partner Developer Edition C. Developer Edition

What is true regarding the Force.com Ant Migration Tool? Choose 2 answers.

B. Preferred by anyone that is familiar with deployments in a scripting environment D. Best to use in repetitive deployments using the same parameters.

What is true regarding projects in Visual Studio Code? Choose 2 answers.

B. Projects can work in online or offline modes C. Each developer can define the metadata components to be included in a local project

How can a developer start and monitor debug logs via the Salesforce UI? Choose 1 answer.

B. Setup > Debug Logs > New

A developer is using debug logs to track the business processes that are run automatically in an organization. Which of the following are valid considerations for setting up a trace flag on the Platform Integration User for this use case? Choose 2 answers.

C. A trace flag can be set on the Platform Integration User to track certain business processes that integrate internal applications. D. The Platform Integration User is displayed in audit fields when data is synchronized using the Salesforce Integration Cloud.

A developer working for Cosmic Solutions would like to propagate the deletion of a custom object from a developer sandbox to the production org used by the company. Which Salesforce feature or tool can be used for this requirement? Choose 1 answer.

C. Ant Migration Tool

Which features are available in Visual Studio Code? Choose 2 answers.

C. Code Editor D. Execute anonymous code

What is the minimum log level that a developer needs to use to see debug statements generated by the user using System.debug()? Choose 1 answer.

C. DEBUG

What capabilities are part of the developer console? Choose 2 answers.

C. Executing SOQL and SOSL queries D. Run unit tests and checking code coverage

As a customer developing a new force.com application that will include APEX code, what considerations are valid? Choose 2 answers.

C. It is a best practice to have separate development and testing environments. D. At least 2 environments are required

The Checkpoints tab in the Developer Console displays a list of saved checkpoints and displays a snapshot of the state of objects in memory at the time the checkpoint was reached. What information about the checkpoint will it include? Choose 2 answers.

C. Line D. Class

Which of the following activities should a Full sandbox be used for? Choose 2 answers.

C. Load Testing D. Performance Testing

A developer wants to see a variable value while debugging code by using a System.debug() method. In which section of the debug log can this be found? Choose 1 answer.

C. Log Lines

The amount of information contained in a debug log depends on the debug log level set. What are the different levels from lowest amount of information to highest? Choose 1 answer.

C. NONE - ERROR - WARN - INFO - DEBUG - FINE - FINER - FINEST

What is a debug level? Choose 1 answer.

C. The debug level specifies the set of log levels for log categories

What is true regarding using the Visual Studio Code for deploying code? Choose 2 answers.

C. Visual Studio Code can be used to deploy code to production D. Visual Studio Code can be used to deploy specific metadata components to another org

A debug log is a tool that allow developers to keep track of all actions that a specific Salesforce instance is processing while the monitoring is turned on. Debug logs can contain information about the following options except: Choose 1 answer.

D. Time-based workflows actions


संबंधित स्टडी सेट्स

Unit 2: Becoming an Entrepreneur #1

View Set

Bank Secrecy Act/Anti-Money Laundering (BSA/AML)

View Set

Chapter 6 Congenital Diseases and Disorders

View Set

Ch. 26 Child w/Genitourinary Dysfunction

View Set

Chapter 8 - Strategy Formulation and Execution

View Set

Ch 13 & 19 Physiology of Training & factors affecting performance

View Set

American History Unit 3 Chapter 12

View Set