Build Solution Flashcards

1
Q

Cosmic Travels uses a Workforce Management System (WFM) for performance management. When a performance review record is created for a particular employee in the system, a corresponding review record should be automatically created for the employee in Salesforce. An Apex web service is being developed in Salesforce for this use case. A custom process in the WFM system can call the web service automatically when a new performance review record is created. However, the developer is concerned about the possibility of errors and record duplication when the web service is called by the custom process. What should be recommended by the company’s Solution Architect to ensure that the integration is resilient?

Choose 1 answer.”

A. Use the Salesforce SOAP API instead of the Apex web service.
B. Use a middleware tool to retry calls to Salesforce that result in errors.
C. Implement a custom retry mechanism in the custom process used by the WFM system.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cosmic Lights has a RESTful service in its employee management system that is used by a system administrator to perform operations such as getting a list of employee records, creating a new employee record, and updating the information of an existing employee. The company’s HR director would like to make these operations available to HR managers via a custom user interface in Salesforce. For this requirement, which of the following considerations apply to the use of a custom Lightning web component associated with an Apex controller?
Choose 1 answer.

A. REST callouts can be performed using HTTP methods such as GET, POST, and PUT.
B. The built-in Http class can be used to handle the response of a REST/HTTP request.
C. A CSP Trusted Site must be defined for the web service endpoint for the Apex callout.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A global sales company needs to have the capability to push bulk data from its org to a third-party business intelligence platform. To handle errors when sending data to the third-party platform, the implementation should include an error handling or retry mechanism. In its previous implementations related to other data integrations, a middleware has been used. Which of the following is a valid consideration regarding the requirement?
Choose 1 answer.”

A. External Services, which supports error handling or retry mechanisms out-of-the-box, should be used to push data in bulk
B. The middleware should perform the data sending, and the error handling or retry mechanism should be handled using Apex
C. Apex can be used to push bulk data to the external system, but an error handling or retry mechanism needs to be developed

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A company uses Shield Platform Encryption to secure sensitive data in their records, which are stored in their org that is integrated with a third-party accounting platform for syncing records, including the secured data, using Change Data Capture. When data changes are made in the encrypted fields in Salesforce, change events are generated and stored in the event bus for up to three days. Which of the following actions should be performed to ensure that the sensitive data remains secure in the event bus?
Choose 1 answer.”

A. Set up a reverse proxy server to automatically encrypt change events payload.
B. Use the Apex Crypto class to ensure sensitive data is encrypted in the event bus.
C. Create an event bus tenant secret and enable encryption in Salesforce Setup.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Cosmic Service Solutions uses Salesforce for case management. A Lightning web component allows support supervisors to monitor various aspects of the support workflow. When a case is closed successfully by one of the support agents, an alert must be displayed to their supervisor in the Lightning web component. Using platform events with the latest version of Streaming API is being considered for this use case. Which of the following considerations is applicable?
Choose 1 answer.”

A. The Lightning web component must use the lightning/empApi module to subscribe to the event.
B. The platform event messages are stored for 24 hours and are not lost when a client is disconnected.
C. Socket timeout and reconnect timeout are applicable to the Salesforce authentication session.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A developer of Cosmic Express is writing Apex code for making a SOAP callout to an order management system for tracking customer orders. However, it has been identified that WS-Security is not supported in Apex SOAP callouts to external systems and poses a security risk. Which of the following options is an alternative recommended by Salesforce to address this limitation?
Choose 1 answer.”

A. Set up a reverse proxy server in order to secure and protect the client’s identity in the transaction.
B. Add WS-Security headers to the outbound SOAP request via the Apex Crypto class.
C. Inject WS-Security credentials into the transaction stream using a security/XML gateway.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The administrator of Cosmic Grocery is setting up an Experience Cloud site for the company’s customers. The site is being built using the ‘Customer Service’ template. Other than the default option that would allow customers to log in using the assigned username and password, which of the following options is available for authenticating the site’s customers?
Choose 1 answer.”

A. Unified Authentication
B. Certificate-Based Authentication
C. SAML Single Sign-On (SSO)

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Cosmic Solutions uses an external payroll application that contains timesheets and pay data of employees. Employees can access basic information about their company role on their record in Salesforce. A custom object named Employee__c has been created. The HR director would like to give them access to the information in the payroll application which has a REST-based API. Which of the following is a valid consideration related to authentication for using an external service for this requirement?
Choose 1 answer.”

A. A certificate must be generated in Salesforce to authenticate an external service with the external system.
B. The Authorization header of the HTTP request handled by the external service must be defined using Apex.
C. The external service must use a named credential in order to authenticate and authorize requests.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A company that uses Salesforce manages a customer loyalty program and wants to use a flow to generate external object records when the membership status of a Contact record is updated. However, the new flow encountered an error as soon as a qualified contact was updated. Which of the following statements is valid for the given scenario?
Choose 1 answer.”

A. Flow Builder does not support external object records.
B. The record-triggered flow may have encountered a mixed DML error.
C. External object records should be created synchronously.

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cosmic Express uses a dedicated project management system (PMS) but recently started using a custom object named ‘Project__c’ in Salesforce for managing certain types of projects. Project records are automatically synchronized between Salesforce and the PMS using a batch data synchronization job. A project team can consist of several members. When a new team member is added to a project, information about their role and responsibilities is added to a ‘Text Area (Long)’ field on the project record in Salesforce. This information needs to be sent to the PMS automatically so that it can be stored on the corresponding project record in the external system. A SOAP endpoint can be configured in the PMS for this use case. Which of the following statements are valid regarding the use of outbound message actions in this scenario?
Choose 1 answer.”

A. The outbound message can be sent in the context of a Contact record.\n
B. The session ID can be sent in the outbound message to allow callbacks.\n
C. The generated WSDL defines the message that is returned by the PMS.

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A company sends batches of records to Salesforce using Bulk API for processing. Upon checking the state of a job to determine if the operation has been completed in Salesforce, a "Failed" state was received for a batch. What does the failed state imply in the given scenario?
Choose 1 answer.”

A. The operation has not been completed, and processing of the records is still in progress
B. The operation has failed, but some of the records may have been processed successfully
C. The failed state indicates that all the records failed, and the batch needs to be resubmitted

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A company in the education sector uses batch Apex to retrieve course, exam, and customer data updates from a web portal into their Salesforce org. Which of the following statements are valid regarding how errors can be handled or relayed when they occur in the batch Apex operation?
Choose 1 answer.”

A. Batch Apex can be configured to publish a platform event when errors occur
B. Errors can be relayed in the same transaction where the operation was initiated
C. Batch Apex has built-in error handling and will retry the operation when it fails

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Cosmic Marketing Solutions uses Salesforce and has a Change Data Capture client that is subscribed to receive change events, which contain information about their company programs. However, the Change Data Capture client sometimes receives what is called a gap event instead of the expected change event when a qualifying record is updated in Salesforce. Which of the following is a valid statement regarding this type of event?
Choose 1 answer.”

A. The gap event is sent to notify the client that the change event will be delayed due to internal issues.
B. Salesforce is unable to publish the event message as the change event size may be too large.
C. The Change Data Capture client should use the gap event to re-authenticate itself with Salesforce.

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

An e-commerce website wants to perform load testing to determine how its applications would behave during user peak times due to their upcoming promotional campaign that is anticipated by thousands of customers globally. Which of the following statements related to the test is valid?
Choose 1 answer.”

A. The round-trip time of a request is measured and evaluated
B. The application hardware, database, or network will be adjusted
C. The tests should run one application at a time only

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When a team of sales users at Cosmic Software Solutions needs to work on a new project, the assigned project supervisor creates a record of a custom object named ‘Project__c’ in Salesforce. The record is then created manually in the project management system (PMS) used by the company. The Sales Director would like to automate the record creation by integrating the two systems. When a record is created in Salesforce, record details need to be sent to the PMS so that the same record can be created in the other system automatically. The PMS has a RESTful service that can be used for record creation. Which of the following is a valid consideration for using a record-triggered flow that invokes an external service action to meet this requirement?
Choose 1 answer.”

A. An Apex action must be defined in the record-triggered flow to invoke the external service.
B. A remote site setting must be created to authenticate the external service endpoint.
C. The record-triggered flow can use an asynchronous path to invoke the action.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Cosmic Enterprises has a Salesforce B2B Commerce Portal which is used by customers to place orders. Orders placed by customers are added to the ERP system for fulfillment and processing. An ETL tool is used to extract order records from Salesforce and insert them into the ERP system every night using a batch data synchronization job. However, the ERP system often goes offline for system updates, which causes the integration to fail. The IT team manually inserts the unsuccessful orders in the morning, instead of using a full data synchronization load which would create duplicate orders. What approach should be recommended by a solution architect to self-correct the integration during the next data load?
Choose 1 answer.”

A. Use a batch Apex job to extract unsuccessful orders and load them into the ERP system.
B. Extract only the unmodified orders from Salesforce and load them into the ERP system.
C. Create a custom field in Salesforce to store the order ID generated by the ERP system.

A

C

17
Q

A company plans to develop a solution in an org that contains thousands of users and consumes hundreds of gigabytes of data. What is a valid consideration below in order to build or maintain the scalability of the system in the given scenario?
Choose 1 answer.”

A. A parent record should have no more than 100,000 child records
B. All types of sharing rules should be limited to 150 per object
C. The role hierarchy should contain less than 10 levels of branches

A

C

18
Q

A developer of Cosmic Express is building an application that will allow sales users to make callouts to an external system to retrieve order data. The Apex code used by the application will use an external credential for authenticated callouts. How can appropriate access be granted to users to allow them to make callouts?
Choose 1 answer.”

A. External credential principals can be assigned to users using a permission set, permission set group, or profile.\n
B. External credential principals can be assigned to users on their user records.\n
C. External credential principals can be assigned to users on the ‘External Credential Principals’ page in Setup.

A

A

18
Q

A marketing automation platform needs data access to the Salesforce org of a sales company in order to build and maintain its subscriber list for email campaigns. An Apex REST service has been created by the Salesforce developer of the sales company to provide the necessary services to the marketing automation platform. Which of the following actions can be performed to build a secure and reliable authentication flow for consuming the REST service?
Choose 1 answer.”

A. A connected app can be created to authenticate the external platform using the OAuth protocol.
B. A Lightning app page can be used to provide a secure authentication URL for the external platform.
C. A WS-Security credential can be injected into the transaction stream to secure the communication.

A

A

19
Q

A company has employed a data steward and data custodian to help in building and rolling out a data management plan for their Salesforce org. What rules and policies in data governance should these roles help define, support, and ensure that they are being adhered to?
Choose 1 answer.”

A. How long a user is allowed to be logged in to the org
B. Ensuring the privacy and security of customer data
C. Which types of accounts should the company pursue

A

B

20
Q

The support department of Cosmic Express uses Salesforce for case management. While working on a case, a support agent should be able to retrieve a related article stored in the company’s Knowledge Management System (KMS) and attach it to the case. The KMS has a SOAP web service that can support the integration for this requirement. Which of the following considerations are applicable for making a SOAP callout to the KMS for this requirement?
Choose 1 answer.”

A. The WSDL file of the web service must be obtained for making a SOAP callout.
B. The SOAP callout must be executed only after all DML operations have been performed.
C. A timeout of up to 200,000 milliseconds can be used for a SOAP callout.

A

A

20
Q

Cosmic Express has a Lightning web component that is used by sales users to create or update account information in Salesforce. After a new account is created by a user, a separate button is used to perform a REST callout to replicate the account in the ERP system. After which, a unique auto-generated ID is returned by the ERP system that Salesforce can use for syncing updates. However, the ERP system at times returns an error due to request timeouts or server unavailability, which causes data inconsistency. What should the Solution Architect recommend to ensure the resilience of the integration and proper account data synchronization between the two systems?
Choose 1 answer.”

A. Automatically delete the newly recreated record when the request to the ERP fails and instruct the user to try again.
B. Use a single button that executes the REST callout and then performs the DML operation based on the ERP response.
C. Use a single button that performs the DML operation in Salesforce before executing the REST callout to the ERP system.

A

B

20
Q

Cosmic Innovation uses Salesforce for account management and an external system for managing various types of files created by the company’s employees. The company’s sales director wants a functionality in Salesforce that allows a sales user to retrieve a file stored in the external system and attach it to an account record. The size of a file can be up to 2.5 GB. Which of the following is an important consideration for using REST callouts in Apex for this use case?
Choose 1 answer.”

A. The maximum size of a callout response allowed in Apex can limit the file size.
B. The HTTP request must use the POST method to retrieve the file from the external system.
C. The default timeout of a request is 120 seconds, but a custom timeout that exceeds this value can be defined.

A

A

21
Q

Cosmic Printers uses the Unlimited Edition of Salesforce to store product information. The sales reps of the company use an Enterprise Resource Planning (ERP) system to manage information about customers and product purchases. The sales reps often receive calls from customers who would like to make bulk purchases directly from the company. When a sales rep needs to add a product to a customer’s account in the ERP system, they need to log in to Salesforce to get a detailed description of the product. The sales director would like to simplify the process of obtaining product information by integrating the two systems. The REST API is being considered by the IT team to allow the ERP to perform queries and retrieve the required information from Salesforce. Which of the following is a valid consideration when using the REST API to meet the given requirement?
Choose 1 answer.”

A. The ‘sObject Rows’ resource can be used to compose and execute a SOQL query.
B. There’s a limit on the number of API calls that can be made per 24-hour period.
C. The ‘all or nothing’ behavior can be used to retrieve partial data in case of failure.

A

B

21
Q

A developer of Cosmic Computers is required to build an external application that would allow specific users of the company to extract data from its ERP system and load it into Salesforce. The application should support loading hundreds of thousands of records, including accounts and contacts. Which of the following is a valid consideration for using Bulk API 2.0 to meet this requirement?
Choose 1 answer.”

A. A Bulk API 2.0 request is processed synchronously, so its results are accessed immediately.
B. Salesforce limits the number of records that can be submitted per 24-hour rolling period.
C. The POST HTTP method must be used to close a bulk job for processing the records.

A

B

22
Q

A Salesforce developer is required to establish outbound communication with an external system using two-way TLS as the authentication protocol. As several third-party integrations have already been implemented in the org, certain data are encrypted at rest to secure sensitive information. The new integration implementation should also be capable of handling the encrypted data. Which of the following options is a valid tool to use?
Choose 1 answer.”

A. Outbound message
B. Platform events
C. Generic events

A

A

23
Q

In a company that processes millions of records on a daily basis in Salesforce, users are experiencing performance issues when querying and running certain data operations. It was determined that the cause is due to the eventual data growth in the org. Which of the following is a valid consideration for improving the affected processes in this environment?
Choose 1 answer.”

A. Use Batch Apex for asynchronous operations
B. Avoid using skinny tables at all cost
C. Enable the Force.com Query Optimizer in Setup

A

A

24
Q

The Solution Architect of Cosmic Experts is designing solutions for various integration requirements that focus on synchronous Apex callouts from Salesforce to external systems, such as an ERP system. Which of the following options represent key factors that should be considered to ensure that the solutions are resilient?
Choose 1 answer.”

A. Recovery from a callout failure, timeliness of requests, and state management using keys
B. Reliable delivery of messages, recovery from a callout failure, and timeliness of requests
C. Data transformation capability, state management using keys, and reliable delivery of messages

A

A

25
Q

Cosmic Software Solutions uses an Experience Cloud site to give customers access to their account information and related cases. The company uses an order management system to manage sales orders placed by customers on its public website. The Experience Cloud site needs to be integrated with the order management system, which provides an OpenAPI-compliant REST-based web service, to allow customers to view the sales orders placed by them. Which of the following should be considered for the integration?
Choose 1 answer.”

A. Salesforce Connect
B. External Services
C. Lightning Web Component

A

B

26
Q

A developer of Cosmic Goods is building a custom application in Salesforce that should allow a user to retrieve order information from an external system, approve the order, and send data to a third-party system for shipment. The endpoint of the third-party system that should receive the order data is always unique and depends on the order. Which API should the developer use to dynamically create named credentials for the endpoint to execute an Apex callout to the third-party system?
Choose 1 answer.”

A. Connect API
B. User Interface API
C. Streaming API

A

A

27
Q

When a new product is created in the Salesforce org used by Cosmic Furniture, a record-triggered flow publishes a platform event message containing information about the product. The company’s ERP system has a CometD client that has subscribed to receive platform event messages. When a new event message is received, a product record is automatically created in the ERP system. However, the ERP system often misses an event message due to connection failure, which results in a missing product record in the system. What should be recommended to retrieve missed events?
Choose 1 answer.”

A. Store the Replay Id and use it to retrieve missed events after a connection failure.
B. Store the Client Id and use it to retrieve missed events after a connection failure.
C. Use the replay option -1 to retrieve the messages missed after a connection failure.

A

A

28
Q

Cosmic Electronics has an Experience Cloud site that can be accessed by its employees. The site uses an Experience Builder template. An external system that provides REST API endpoints is used by some of its employees to manage customer data, such as accounts and orders. The company would like to integrate the Experience Cloud site with the external system to allow users to update account details stored in the external system. Which of the following should be used to meet this requirement declaratively?
Choose 1 answer.”

A. Create a Lightning web component that allows users to update account records stored in the external system.
B. Add a flow that invokes an external service action from an Experience Cloud site page.
C. Embed an iFrame on an Experience Cloud site page that allows users to access the external system.

A

B

29
Q

A company uses the Apex Crypto class to secure data in an integration solution that uses Apex callouts to an external system. Which of the following statements is valid regarding how the Apex Crypto class is implemented at the application level?
Choose 1 answer.”

A. The Apex Crypto class should use MD5, SHA1, SH256, or SHA512 to create digital signatures.
B. The Apex Crypto class should generate hashes and digital signatures to ensure request integrity & authenticity.
C. The Apex Crypto class should be used only when the outbound call is made using a SOAP request.

A

B

30
Q

An IT company has integrated one of its web applications with Salesforce using the Remote Call-In integration pattern. Part-time employees use the application to store and track the number of hours they’ve worked on different tasks. At the end of each month, the stored hours are sent to Salesforce via the SOAP API for record creation and invoice processing. Recently, an error was returned when sending the request because the limit of creating 200 records in a single call was exceeded. What error data type does the SOAP API return to the client in this case?
Choose 1 answer.”

A. ExceptionCode
B. Error
C. LimitException

A

B

30
Q

A custom object named ‘Employee__c’ has been created in the Salesforce org used by Cosmic Electronics to store information about sales users. When a sales user is entitled to extra compensation for additional services, an HR specialist should be able to use a quick action on the user’s Employee record in Salesforce to send related information to the employee management system (EMS). The EMS has a SOAP web service that can update the compensation details of the employee based on the received data. Which of the following is a valid consideration for using a flow that invokes an Apex SOAP callout for this requirement?
Choose 1 answer.”

A. The WSDL of the web service should be consumed to generate External Services actions.
B. HTTP request and response headers can be set in Salesforce Setup for a SOAP callout.
C. An Apex method that is called from Flow Builder must be defined as an invocable method.

A

C

30
Q

A partnered package delivery company uses Salesforce to send notifications to an e-commerce platform regarding the status of its deliveries. If the e-commerce platform fails to receive a delivery status notification, Salesforce automatically retries the operation in order to send the message successfully for up to 24 hours. Which Salesforce integration tool does the package delivery company use that is equipped with this built-in error handling and retry feature?
Choose 1 answer.”

A. External Services
B. HTTP/SOAP Callout
C. Outbound messaging

A

C

31
Q

A solutions architect has recommended using Mulesoft to perform middleware operations, such as data transformation and long-polling in an integration requirement that involves Salesforce and an ERP system. Which of the following correctly describes one of the components that Mulesoft’s Anypoint Platform is comprised of?
Choose 1 answer.”

A. Anypoint Management Center is used to easily establish and manage a governance framework for integration dat
B. Anypoint Exchange is used to monitor requests and responses, such as data exchanges between integrated systems.
C. Mule is the underlying lightweight and highly performant execution engine that is used to run the Anypoint Platform.

A

C