Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Salesforce Certified Slack Developer Slack-Dev-201 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 14 Total 134 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Implementing the App Development Lifecycle

Skill tested: Plans automated Slack app testing and deployment across development and production environments.

A product team is building a Slack app that posts incident summaries and provides an interactive acknowledgment button. Development, staging, and production use separate workspaces, and production credentials must never be available to developers or CI jobs that run untrusted pull requests. The team wants repeatable validation of request handling and a controlled release process, rather than testing only by manually clicking through the app in a developer workspace. Which lifecycle approach best meets these requirements?

Correct Answer: B. Maintain separate app configurations and credentials per environment, run automated tests with non-production credentials, and promote reviewed changes through a controlled deployment process.
Explanation:

Separate environment configurations limit the impact of mistakes and keep production credentials out of development and untrusted CI contexts. Automated tests can validate application logic and request handling with test data, while reviewed configuration and deployment changes are promoted through staging before production. Reusing a production app for manual testing risks exposing users to test behavior; installing per-pull-request apps in production adds unnecessary scope and operational risk. Committing a production token remains a secret-exposure risk even when branch protections exist.

Question 2

New Multiple answers

Topic: Implementing the App Development Lifecycle

Skill tested: Selects layered testing practices and release controls for Slack app changes.

A company is preparing a Slack app release that adds a modal submission flow and a background job that posts a completion message. The team already has unit tests for validation logic, but regressions have occurred when Slack payloads change or when the deployment environment is misconfigured. Production changes require approval, and the team cannot use real customer channels for routine tests. Which TWO additions provide the strongest lifecycle coverage while respecting these constraints? Select TWO.

Correct Answer: D. Add tests using representative Slack interaction payload fixtures, including invalid and stale request cases, and verify the app's expected responses.; E. Add an isolated staging workspace and verify the installed app's modal and background-job behavior there using non-production data.
Explanation:

Representative payload tests extend unit coverage to Slack's interaction shapes and important failure conditions without requiring customer data. An isolated staging workspace provides an integration check of actual installation, interactivity, and background behavior before production approval. Production-channel testing violates the stated data and operational constraint. Slack does not validate the application's own assumptions or deployment configuration, so local unit tests alone are insufficient. Relying on production incidents to find configuration errors is not a sound release strategy.

Question 3

New Single answer

Topic: Implementing the App Development Lifecycle

Skill tested: Diagnoses deployment drift by separating app configuration from runtime application code.

After a release, an app works in a developer workspace but its production shortcut opens no modal. The production app configuration appears to have no shortcut request URL, while the code change itself is present in the deployed service. The deployment checklist currently covers only the application binary and environment variables. The release manager wants to identify the most likely cause and prevent similar failures without granting developers production secrets. What should the team do next?

Correct Answer: C. Compare the production app's configured shortcut and interactivity settings with the desired configuration, then add those settings to the reviewed deployment checklist.
Explanation:

Slack app configuration and the hosted application code are distinct parts of a release. A shortcut must be configured for the app and its interactivity must be routed appropriately; deploying handler code alone does not create or repair that configuration. Comparing the production settings with the intended configuration isolates the likely cause, and tracking configuration changes in the release process reduces drift. Reinstalling is not a dependable way to change missing settings, a background job cannot replace the interactive entry point, and exposing secrets is unnecessary and unsafe.

Question 4

New Single answer

Topic: Designing the Interactive Flow of Apps

Skill tested: Designs Block Kit modal progression using submission responses and view updates.

A compliance app starts from a message shortcut and opens a modal asking for a record identifier. The server must validate the identifier before showing a second view with approval details. Invalid input should remain visible in the first view with a field-specific error, while valid input should advance without creating a new independent modal. The application can respond to the interaction promptly. Which implementation best fits this flow?

Correct Answer: A. Return a validation error through the modal submission response when invalid; when valid, respond with a view update that replaces the current modal view.
Explanation:

A modal submission can return field-level validation errors so the user can correct input without losing the current view. For valid input, updating the modal view advances the same interaction flow and preserves the intended focused experience. An empty acknowledgment does not provide the required validation or progression behavior, and a channel message is not a modal view. Closing the modal and requiring the user to restart adds friction and fails to create the requested multi-step flow.

Question 5

New Multiple answers

Topic: Designing the Interactive Flow of Apps

Skill tested: Configures Slack interactivity routing and verifies incoming request authenticity.

A team has built buttons in Block Kit messages and a global shortcut that opens a modal. The app is hosted behind an HTTPS application endpoint, but Slack currently reports that button clicks do nothing. The service receives no interaction payloads, and the security review requires verification that inbound requests originate from Slack. The team does not want to add a separate endpoint for each button. Which TWO changes are appropriate? Select TWO.

Correct Answer: B. Enable interactivity in the Slack app configuration and set its request URL to the application's interaction handler.; D. Have the handler validate Slack's request signature using the signing secret and the raw request body before processing the payload.
Explanation:

Interactive components and shortcuts are delivered to the configured interactivity request URL, so enabling interactivity and pointing it at the handler addresses the missing delivery path. The server should verify the request signature using Slack's signing secret and the exact raw body before trusting or processing the payload. A separate Events API subscription is not needed for each button action. Bot tokens authorize Web API calls; they are not signing secrets and do not decrypt interaction payloads. Posting an endpoint URL in a channel does not configure Slack delivery.

Question 6

New Single answer

Topic: Designing Workflows Using Slack APIs

Skill tested: Chooses Events API delivery and durable queuing for asynchronous Slack event processing.

An enterprise app must process message events from many workspaces. Some processing can take several seconds because it enriches messages from an internal service, and brief downstream outages must not cause event loss. The app's web tier should acknowledge Slack quickly and scale independently from workers. The company can expose a public HTTPS endpoint but does not operate a persistent WebSocket connection service. Which architecture is most appropriate?

Correct Answer: C. Use the Events API over HTTP, verify and acknowledge each request promptly, then place accepted work on a durable queue for asynchronous processing.
Explanation:

The HTTP Events API suits a service that can receive public HTTPS requests. Prompt acknowledgment protects against Slack delivery timeouts, while a durable queue separates event intake from slow processing and helps absorb downstream outages. Holding requests open risks missed acknowledgment deadlines and duplicate deliveries. Socket Mode uses a WebSocket connection and is not mandatory for multi-workspace apps. Continuous history polling is inefficient, may require broader access, and is not an appropriate substitute for event delivery.

Question 7

New Multiple answers

Topic: Designing Workflows Using Slack APIs

Skill tested: Selects Slack entry points and workflow components for user-initiated, deferred work.

A support team wants an agent to select a message, request a case summary, and receive the result privately after a potentially long-running analysis. The app must not block the interaction while the analysis runs, and it should avoid posting sensitive details in the source channel. A user-initiated entry point is preferred over monitoring every message. Which TWO design choices best meet the requirements? Select TWO.

Correct Answer: C. Acknowledge the interaction promptly, then send the result to the initiating user through an appropriate private delivery method after processing.; D. Use a message shortcut as the user-initiated entry point and defer the expensive work to a background process.
Explanation:

A message shortcut gives agents explicit control over which message is analyzed and avoids broad monitoring. Promptly acknowledging the interaction lets the app enqueue work and process it asynchronously; the completed result can then be delivered privately to the initiating user, subject to the app's authorized access and delivery design. Subscribing to all messages expands collection unnecessarily. Waiting for long analysis risks missing Slack's acknowledgment window, while posting sensitive output in the source channel conflicts with the privacy requirement.

Question 8

New Single answer

Topic: Designing Workflows Using Slack APIs

Skill tested: Uses the appropriate Slack workflow function pattern for a custom workflow step.

A workspace administrator wants a custom step in Workflow Builder that lets an employee enter a deployment identifier and then creates a change record in the company's internal system. Workflow authors should be able to place the step in different workflows without implementing a separate Slack bot interaction each time. The internal call may take time, and the design should fit Slack's workflow extensibility model rather than relying on a user manually running a command. What is the best approach?

Correct Answer: C. Build a custom workflow step that collects the identifier and invokes the internal service, handling completion according to the supported function execution model.
Explanation:

A custom workflow step is designed to extend Workflow Builder with reusable, app-provided functionality and can collect inputs before calling an external service. Its execution should follow Slack's supported function or workflow-step model, including appropriate handling of work that is not immediate. A slash command requires manual execution and is not a reusable workflow step. Message monitoring is indirect and overly broad, while polling workflow state is not the appropriate integration pattern.

Question 9

New Single answer

Topic: Designing the User Experience

Skill tested: Provides timely, accessible progress feedback for long-running Slack app actions.

Employees launch a data reconciliation from a Slack modal. Processing commonly takes 30 to 90 seconds, and users currently submit the modal repeatedly because they cannot tell whether the request succeeded. The workflow may include confidential record identifiers, so progress must not be posted publicly. The app can process the request asynchronously. Which user experience best addresses the problem?

Correct Answer: A. Acknowledge the submission promptly, provide a private confirmation that work has started, and deliver a private completion or failure update with a clear next action.
Explanation:

A prompt acknowledgment prevents users from mistaking a slow response for a failed submission, and private progress and completion updates respect the confidentiality requirement. A clear completion or failure state should explain what the user can do next, such as retrying or contacting support. Holding the interaction open for up to 90 seconds risks timeout and provides poor feedback. Public progress exposes confidential details, while silence encourages duplicate submissions and leaves users uncertain.

Question 10

New Single answer

Topic: Designing for Security

Skill tested: Chooses least-privilege Slack token scopes and distinguishes bot from user authorization.

A Slack app posts automated deployment notices to a designated channel and offers a button that lets a user request a private status lookup. The app does not need to read channel history or act as the user. Administrators require least privilege, and the status endpoint must identify the requesting user for authorization. Which design is most appropriate?

Correct Answer: B. Use a bot token with message-writing access to the designated channel, and authorize the status request using the verified interaction's user identity and application policy.
Explanation:

Automated channel posting should use the app's bot authorization with only the required write access, and the app should be installed or invited where it needs to post. For an interaction, the app must verify Slack's request signature and then apply its own authorization policy to the verified user identity; the identity is not itself proof that the request was authentic. Broad history access and per-user tokens exceed the need. Bot tokens do not serve as signing secrets, and administrator-level scopes violate least privilege.

Question 11

New Multiple answers

Topic: Designing for Security

Skill tested: Protects Slack app credentials and validates signed requests before processing.

A security review finds that a Slack app accepts interactive requests at a public endpoint, stores a bot token in application source, and processes payload fields before checking request authenticity. The app needs to call the Web API and handle button interactions, but must not trust forged requests or expose long-lived credentials. Which TWO corrective actions should the team take? Select TWO.

Correct Answer: B. Validate Slack's request signature against the signing secret and raw request body before processing the interaction payload.; E. Move the bot token into a managed secret store or protected runtime configuration, and restrict access to the service identity that needs it.
Explanation:

Bot tokens are credentials for authorized Slack API calls and should not be embedded in source; storing them in a protected secret mechanism reduces exposure and supports controlled rotation. Interactive requests should be signature-verified using the signing secret and raw request body before any payload-driven action occurs. A bot token is not interchangeable with the signing secret, and a manifest is not a safe credential store. TLS protects transport but does not establish that a request was sent by Slack.

Question 12

New Multiple answers

Topic: Designing for Security

Skill tested: Applies data minimization and human oversight to AI-enabled Slack workflows.

An organization is considering an AI-enabled Slack app that summarizes selected support discussions. Some channels contain customer personal data and legal discussions, and the organization requires that confidential content not be sent to an unapproved external model. Users must understand when AI is involved, and the company needs a defensible data-governance approach. Which TWO controls are most appropriate? Select TWO.

Correct Answer: D. Limit processing to explicitly selected, authorized conversations; minimize or redact sensitive data before sending content to an approved model.; E. Disclose AI-assisted processing to users and define retention, access, and review controls for prompts and generated results.
Explanation:

Explicit selection and authorization prevent the app from collecting unrelated conversations, while minimization and redaction reduce exposure before data reaches an approved model. Clear disclosure and governance for retention, access, and review support accountability for both prompts and outputs. Sending all accessible history is excessive and ignores the restriction on sensitive content. A model cannot replace authorization enforcement, and public indefinite storage creates additional confidentiality and retention risks.

Question 13

New Single answer

Topic: Designing for Scale

Skill tested: Designs tenant-isolated event processing with durable queues for enterprise scale.

A distributed app serves several hundred workspaces. Message-event volume can spike sharply during regional incidents, and one workspace's backlog must not prevent timely processing for others. The service must respect each workspace's installation credentials and provide a way to isolate and retry failures. Which architecture is the best fit?

Correct Answer: C. Acknowledge verified events promptly, enqueue work durably with workspace context, and use independently scalable workers with per-workspace controls and retry handling.
Explanation:

Durable queuing absorbs bursts and decouples fast event acknowledgment from slower work. Carrying workspace context through the queue allows workers to select the correct installation authorization and supports tenant-aware throttling, isolation, and retries. Synchronous single-server processing couples availability to downstream latency and lets one failure affect others. A shared token cannot substitute for each workspace's authorization. High-rate polling adds load and does not provide the same efficient event-driven design.