-
[Salesforce Certified platform Developer1] Dump 노트3Certification/Platform Developer 2024. 4. 29. 18:15
1. Which three tools can deploy metadata to production? (Choose three.)
- A. Change Set from Developer Org
- B. Force.com IDE
- C. Data Loader
- D. Change Set from Sandbox
- E. Metadata API
ADE
2. A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)
- A. Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
- B. Use mySObject.myObject.fields.getMap() to return a map of fields.
- C. Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
- D. Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.
BC
3. Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)
- A. Number maps to Decimal.
- B. Number maps to Integer.
- C. TextArea maps to List of type String.
- D. Date/Time maps to Dateline.
- E. Checkbox maps to Boolean.
ADE
4. A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c field, but the Support Manager profile does. How can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?
- A. Create one Visualforce Page for use by both profiles.
- B. Use a new Support Manager permission set.
- C. Create a separate Visualforce Page for each profile.
- D. Use a custom controller that has the with sharing keywords.
D
5. When an Account's custom picklist field called Customer Sentiment is changed to a value of Confused, a new related Case should automatically be created. Which two methods should a developer use to create this case? (Choose two.)
- A. Process Builder
- B. Apex Trigger
- C. Custom Button
- D. Workflow Rule
AB
6. For which three items can a trace flag be configured? (Choose three.)
- A. Apex Trigger
- B. Apex Class
- C. Process Builder
- D. User
- E. Visualforce
ABD
7. Which three statements are true regarding the @isTest annotation? (Choose three.) (CHECK)
- A. A method annotated @isTest(SeeAllData=true) in a class annotated @isTest(SeeAllData=false) has access to all org data.
- B. A method annotated @isTest(SeeAllData=false) in a class annotated @isTest(SeeAllData=true) has access to all org data.
- C. A class containing test methods counts toward the Apex code limit regardless of any @isTest annotation.
- D. Products and Pricebooks are visible in a test even if a class is annotated @isTest(SeeAllData=false).
- E. Profiles are visible in a test even if a class is annotated @isTest(SeeAllData=false).
ABE
8. A developer has JavaScript code that needs to be called by controller functions in multiple Aura components by extending a new abstract component. Which resource in the abstract Aura component bundle allows the developer to achieve this?
- A. helper.js
- B. controller.js
- C. superRender.js
- D. renderer.js
A
9. Which two components are available to deploy using the Metadata API? (Choose two.)
- A. Lead Conversion Settings
- B. Web-to-Case
- C. Web-to-Lead
- D. Case Settings
AD
10. Which three statements are true regarding cross-object formulas? (Choose three.)
- A. Cross-object formulas can reference fields from objects that are up to 10 relationships away.
- B. Cross-object formulas can reference fields from master-detail or lookup relationships.
- C. Cross-object formulas can reference child fields to perform an average.
- D. Cross-object formulas can expose data the user does not have access to in a record.
- E. Cross-object formulas can be referenced in roll-up summary fields.
ABD
반응형