ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [Salesforce Certified Platform Developer1] Dump 노트2
    Certification/Platform Developer 2024. 4. 28. 22:11

     

    1. Which two declarative process automation features can be directly invoked when a field value changes on a record? (Choose two.)

    • A. Cloud Flow Designer flows
    • B. Process Builder processes
    • C. Validation rules
    • D. Workflow rules

     

    BD

     

     

    2. Which feature allows a developer to create test records for use in test classes?

    • A. Documents
    • B. WebServiceTests
    • C. HttpCalloutMocks
    • D. Static Resources

     

    D

     

     

    3. A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on a Visualforce page. Which two actions should the developer perform to get the available picklist values and record types in the controller? (Choose two.)

    • A. Use Schema.RecordTypeInfo returned by Opportunity.SObjectType.getDescribe().getRecordTypeInfos().
    • B. Use Schema.PicklistEntry returned by Opportunity.SObjectType.getDescribe().getPicklistValues ().
    • C. Use Schema.RecordTypeInfo returned by RecordType.SObjectType.getDescribe().getRecordTypeInfos().
    • D. Use Schema.PicklistEntry returned by Opportunity.StageName.getDescribe().getPicklistValues ().

     

    AD

     

     

    4. A developer wants multiple test classes to use the same set of test data.How should the developer create the test data?

    • A. Reference a test utility class in each test class.
    • B. Define variables for test records in each test class.
    • C. Create a Test Setup method for each test class.
    • D. Use the SeeAllData=true annotation in each test class.

     

    A

     

     

    5. A developer can use the debug log to see which three types of information? (Choose three.)

    • A. HTTP callouts to external systems
    • B. Database changes
    • C. Resource usage and limits
    • D. User login events
    • E. Actions triggered by time-based workflow

     

    ABC

     

     

    6. Managed Packages can be created in which type of org?

    • A. Developer Sandbox
    • B. Partial Copy Sandbox
    • C. Unlimited Edition
    • D. Developer Edition

     

    D

     

     

    7. Which type of code represents the Model in the MVC architecture when using Apex and Visualforce pages?

    • A. A Controller Extension method that saves a list of Account records
    • B. Custom JavaScript that processes a list of Account records
    • C. A list of Account records returned from a Controller Extension method
    • D. A Controller Extension method that uses SOQL to query for a list of Account records

     

    C

     

     

    8. A developer needs to provide a way to mass edit, update, and delete records from a list view. In which two ways can this be accomplished? (Choose two.)

    • A. Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update, and delete functionality.
    • B. Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons.
    • C. Download an unmanaged package from the AppExchange that provides customizable mass edit, update, and delete functionality.
    • D. Configure the user interface and enable both inline editing and enhanced lists.

     

    AB

     

     

    9. Which two practices should be used for processing records in a trigger? (Choose two.)

    • A. Use a Map to reduce the number of SOQL calls.
    • B. Use @future methods to handle DML operations.
    • C. Use a Set to ensure unique values in a query filter.
    • D. Use (callout=true) to update an external system.

     

    AC

     

     

    10. Which two statements are true about Apex code executed in Anonymous Blocks? (Choose two.)

    • A. The code runs with the permissions of the user specified in the runAs() statement.
    • B. The code runs with the permissions of the logged in user.
    • C. The code runs in system mode having access to all objects and fields.
    • D. All DML operations are automatically rolled back.
    • E. Successful DML operations are automatically committed.

     

    BE

     

     


     

     

     

    잘못 된 정답 주의하고 답의 의문이 든다면 추가 검색 및 실습해보기 !

     

     

    반응형
Designed by Tistory.