Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

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

Page: 1 / 14 Total 134 questions

Want more questions? Get Premium Access.

Question 1

What can admin conversation management API methods be used for?

Correct Answer: A. Renaming, inviting to, and searching public/private channels
Explanation:

Slack's `admin.conversations.*` methods provide Enterprise administrators with programmatic control over channels across an organization. Official Slack documentation lists methods for creating, deleting, archiving, unarchiving, and renaming channels, inviting users, searching channels, and changing channel visibility. For example, `admin.conversations.rename` can rename public or private channels, `admin.conversations.invite` adds users to channels, and `admin.conversations.search` searches conversations across an Enterprise organization. These methods require appropriate Admin API scopes and organization-level authorization and may additionally depend on the installing administrator's Channel Management permissions. They do not compile Bolt application code, construct Block Kit layouts, or issue app-level tokens; those functions belong to entirely different parts of Slack's developer platform. Therefore, A accurately represents the administrative channel-management capabilities of this API family.


Question 2

You are the owner of a publicly available Slack app that has been downloaded by a large number of users. Some of the users have used the app for a short time and then removed it from their workspaces, but the user data is still being stored, taking up valuable space. You realize that you need to implement logic in your Slack app to listen for an event trigger when a user uninstalls your application.

What event should your Slack app be listening for that will trigger your backend logic to remove a user's data when the app is removed?

Correct Answer: A. app_uninstalled
Explanation:

Slack provides the app_uninstalled Events API event specifically to notify an application that it has been completely removed from a workspace. Current Slack documentation identifies this as an Events API-only event and states that no OAuth scope is required specifically to subscribe to it. The event payload identifies the application and workspace involved, allowing the application's backend to locate the corresponding installation information and execute cleanup operations. Typical cleanup responsibilities include removing stored installation tokens, workspace configuration, cached identifiers, and customer data that should no longer be retained after the installation relationship ends. Slack may also deliver tokens_revoked events when individual tokens are revoked. However, Slack explicitly notes that the ordering of tokens_revoked and app_uninstalled is not guaranteed. The definitive uninstall lifecycle signal in this question is therefore app_uninstalled. The remaining answer choices are not valid Slack event types for this purpose. Handling uninstall events is important for both application lifecycle management and data minimization. Applications should not indefinitely retain workspace data after the customer has terminated the integration unless a legitimate retention requirement applies. This maps to Design Your Workflows: Spotlight on Slack's APIs, specifically Events API lifecycle events and installation cleanup.


Question 3

You're preparing your first Slack app for publication in the Slack App Directory.

In addition to including your app's name, description and icon, what is another required action for a successful submission?

Correct Answer: B. Including a link to your app's privacy policy
Explanation:

A clear privacy policy is a mandatory requirement for applications listed in what Slack now calls the Slack Marketplace. Slack requires the application's public landing page to provide a clear link to that privacy policy. The policy must explain, at minimum, what third-party data is collected, how that information is used, how long it is retained, and how individuals can request access, transfer, or deletion of their information. It must also provide a means of contacting the service regarding data-related requests. Slack specifically notes that even applications that do not actively use certain received data may nevertheless receive identifiers or other information through platform payloads, and this handling must be disclosed. Bank-account information is not a universal Marketplace submission requirement. A security assessment or penetration-testing report may become relevant for certain applications or review circumstances but is not the general listing requirement represented here. Slack also does not require every Marketplace description to be translated into every supported language. Therefore, B is correct. This belongs to Distribute Your App, specifically Marketplace listing requirements, privacy governance, and public application documentation.


Question 4

Which format is commonly used for Slack app manifests?

Correct Answer: A. JSON or YAML
Explanation:

Slack app manifests are officially expressed in JSON or YAML. Both formats represent the same structured application configuration and can define metadata, application features, OAuth configuration, event subscriptions, interactivity settings, and other supported manifest properties. Slack's manifest documentation explicitly states that manifests are reusable configurations expressed in JSON or YAML and can be authored through an application's configuration page. Slack's Deno SDK also supports defining compatible manifest information programmatically in TypeScript, but among the supplied answers, JSON or YAML is unequivocally correct for standard app manifests. XML, INI, and Markdown are not the documented manifest serialization formats. Using JSON or YAML also makes manifests practical for source-control workflows, code review, automated deployment, and reuse across related application configurations. Therefore, A is the verified answer.


Question 5

Your legal department has asked you to pull content out of Slack and store it inside a third party data warehouse that will organize and consolidate data across your business.

Which API method should you use?

Correct Answer: D. Discovery API
Explanation:

The Discovery API is specifically designed for Enterprise security, compliance, archiving, and eDiscovery use cases involving extraction of Slack content into approved third-party systems. Slack explicitly describes eDiscovery applications as pulling messages and files from Slack and storing the information in third-party data warehouses, where that content can subsequently be searched, archived, or retrieved. The Discovery API can provide organization-level message and file information, including historical content that remains available under applicable retention and legal-hold policies. Its use is restricted to approved security and compliance scenarios such as eDiscovery, archiving, and Data Loss Prevention. The Audit Logs API provides administrative and security event records rather than the actual body of message and file content needed for an external archive. Admin APIs manage Enterprise configuration and administrative resources. Legal Holds preserve relevant Slack data from deletion or retention-policy expiration but are not themselves the general extraction mechanism described in the scenario. Therefore, D directly matches the legal department's requirement to transfer Slack content into a third-party data warehouse. This question belongs to APIs for Managing Your Slack, specifically Enterprise content governance, eDiscovery, archiving, and Discovery API use cases.


Question 6

Where would a developer look first to start building an AI agent for Slack?

Correct Answer: A. docs.slack.dev/ai/agent-quickstart
Explanation:

The official Slack Developer documentation provides a dedicated Agent quickstart specifically for developers beginning an AI-powered Slack agent project. The quickstart covers the essential starting workflow: installing Slack CLI, logging into a development workspace, creating the support-agent sample project, selecting an AI agent framework, configuring required credentials, and running the application locally with `slack run`. Slack's general application quickstart also directs developers who want to explore agent development to the Agent quickstart as the next starting point. The pricing, legal, and Marketplace pages do not provide the implementation sequence needed to build an agent. Accordingly, the developer documentation path identified in option A is the appropriate first technical resource. The PDF's supplied answer is therefore verified as correct against Slack's current documentation.


Question 7

In Bolt for Python, which decorator listens for a specific message text?

Correct Answer: B. @app.message
Explanation:

In Bolt for Python, `@app.message(...)` registers a listener for messages matching specified text or a regular-expression pattern. For example, `@app.message('hello')` can invoke a listener when an incoming message contains the expected text. Bolt handles the event routing and supplies useful listener arguments such as the message payload, `say`, `client`, and other context values. By contrast, `@app.event` is used to subscribe a listener to a specific Slack event type rather than to filter messages by text. `@app.listen` and `@app.on_message` are not the standard Bolt for Python decorators documented for this use case. Therefore, B is correct: `@app.message` is the framework feature specifically intended for listening to message content that matches a configured string or pattern.


Question 8

Where do you manage and configure an existing Slack app's settings via the web?

Correct Answer: A. api.slack.com/apps
Explanation:

`api.slack.com/apps` is Slack's web-based application dashboard for viewing and managing registered Slack applications. After signing in, developers can select an app and configure application features, OAuth permissions, event subscriptions, interactivity, distribution, collaborators, credentials, manifests, and related settings. The page remains active and presents the developer's ''Your Apps'' interface. `slack.com/billing` is associated with account and subscription matters rather than application configuration. `docs.slack.dev/tools` provides developer documentation and does not function as the management dashboard, while `app.slack.com/downloads` is unrelated to app configuration. Although Slack has progressively moved developer documentation from the older API documentation structure to `docs.slack.dev`, the app-management dashboard at `api.slack.com/apps` remains the correct web interface identified by this question. Therefore, A is correct.


Question 9

You are the developer of a simple internal app that posts server notification messages into your workspace. You would like to extend this app so that it can read old and new messages from public and private channels that your app is part of.

What do you need to do in order for the app to read from these channels?

Correct Answer: B. Invite the app to the channels, and use the conversations.history Web API method.
Explanation:

conversations.history is Slack's current unified Web API method for retrieving message history from conversations. With the relevant OAuth scopes, a bot token can retrieve message history from conversations in which the bot is a member. Public-channel history requires channels:history, while private-channel history requires groups:history. Therefore, the app must be present in the applicable channels and possess the corresponding history scopes. Option C relies on legacy methods. Slack consolidated historically separate channel APIs into the Conversations API, making conversations.history the supported method for both public and private conversation history. The Events API can deliver newly occurring message events, but it does not independently provide the historical messages already stored in the conversation. Therefore, A does not meet the requirement to read both existing and subsequent message history. The Discovery API is a specialized Enterprise security and compliance capability and is inappropriate for an ordinary internal application. The source question and marked answer are therefore consistent with current Slack behavior. This maps to Design Your Workflows: Spotlight on Slack's APIs, particularly conversation membership, history scopes, and the unified Conversations API.


Question 10

Which two languages does the standard Bolt starter template support out of the box?

Correct Answer: B. Python and JavaScript
Explanation:

Slack's standard Bolt quickstart supports starter projects for Python and JavaScript. The Slack CLI workflow lets a developer create a sample application using Bolt for Python or Bolt for JavaScript and then run that project in a development workspace. Both frameworks provide higher-level abstractions for common Slack application patterns, including event listeners, interactive actions, Web API clients, acknowledgments, and context-aware utilities. Slack also maintains Bolt for Java as an official framework, but the particular starter-template choice described by the standard quickstart is Python or JavaScript. Ruby, Go, C#, PHP, Rust, and Swift are not the two out-of-the-box starter choices represented in this question. Therefore, B correctly identifies Python and JavaScript as the standard Bolt starter-template languages in the Slack CLI quickstart.