Which statement is true about using Socket Mode for a Slack application?
Show answerHide answer
Correct answer: BSocket Mode listens to a non-static WebSocket URL that is created dynamically as the app is running.
Explanation
Explanation
Socket Mode allows a Slack app to receive events and interactive payloads over a WebSocket connection instead of a public HTTP endpoint. When the app starts and calls apps.connections.open, Slack returns a WebSocket URL that is unique to that session — it is not a fixed or permanent address. Because the URL is generated fresh each time the app connects (and can change on reconnect), it is non-static and is created dynamically as the app is running. This makes option B the correct answer.
Why the other options are incorrect:
A. Socket Mode listens to a static WebSocket URL that is created dynamically as the app is running – The phrase "static WebSocket URL" is contradictory and incorrect. A static URL implies a fixed, unchanging endpoint, but Socket Mode URLs are unique per session and are not reused as a permanent address.
C. Socket Mode listens to a non-static WebSocket URL that is created at runtime – While "non-static" and "created at runtime" are both accurate descriptions, this option is incomplete compared to option B. The official Slack documentation emphasizes that the WebSocket URL is created dynamically while the app is running, and the wording in option B aligns more precisely with the documented behavior of the apps.connections.open flow.
D. Socket Mode listens to a static WebSocket URL that is created at runtime – This is incorrect because it combines two contradictory ideas. A URL cannot be both "static" (fixed and unchanging) and "created at runtime" in the way Socket Mode operates. Socket Mode URLs are non-static and session-specific.
Reference:
Slack Developer Documentation— Socket Mode overview, describing how apps call apps.connections.open to obtain a WebSocket URL and how that URL is dynamically generated per session.
Question 12Choose 1
While developing a Slack application, which resource is the best option to inspect posted messages and
review Slack methods?
Show answerHide answer
Correct answer: ASlack Developer Tools
Explanation
Explanation
Slack Developer Tools is the officially recommended resource for inspecting posted messages and reviewing Slack API methods during development. It provides a built-in interface that lets developers view the exact payloads sent to and from Slack, inspect message structures in real time, and browse the available Slack API methods with their parameters and example responses. This makes option A the correct answer.
Why the other options are incorrect:
B. Postman – Postman is a general-purpose API testing tool that can be used to send manual HTTP requests to Slack's Web API, but it does not provide native, Slack-specific inspection of posted messages or an integrated reference for Slack methods. It requires manual configuration and does not offer the same out-of-the-box Slack context.
C. Chrome Developer tools – Chrome Developer Tools is useful for inspecting network traffic and debugging web applications in the browser, but it is not tailored to Slack app development. It cannot parse Slack-specific payloads or provide a curated view of Slack API methods, and it only captures traffic visible to the browser, not server-side events.
D. Slack CLI built-in debugger – The Slack CLI provides tooling for creating, running, and deploying Slack apps, and it does include logging and some debugging output. However, its debugger is focused on app execution and local development workflows rather than serving as a dedicated resource for inspecting posted messages and reviewing Slack API methods the way Slack Developer Tools does.
Reference:
Slack Developer Documentation — Slack Developer Tools overview, describing its use for inspecting messages and reviewing Slack API methods during app development.
What Block Kit surface is shown when a user opens an app's dedicated tab in the sidebar?
Show answerHide answer
Correct answer: BApp Home
Explanation
Explanation
The App Home is the Block Kit surface displayed when a user opens an app's dedicated tab in the Slack sidebar. Every Slack app can have a Home tab, and developers publish content to it using the views.publish method with a home view type built from Block Kit blocks. This surface is where apps typically display a personalized dashboard, onboarding content, or interactive controls for the user. This makes option B the correct answer.
Why the other options are incorrect:
A. Modal – A modal is a pop-up dialog that appears on top of the Slack interface, typically triggered by an interaction such as a button click or slash command. It is opened with views.open and is not the surface shown when a user opens an app's sidebar tab.
C. Message attachment – Message attachments are a legacy way of adding secondary content (fields, buttons, images) to messages posted in channels or DMs. They appear within messages, not in the app's dedicated sidebar tab.
D. Workflow step – A workflow step is a component used in Workflow Builder to let users configure and run steps within automated workflows. It is not a Block Kit surface displayed in the app's sidebar tab.
Reference:
Slack Developer Documentation — App Home overview, describing the Home tab as the Block Kit surface displayed when users open the app in the sidebar and explaining how it is published using the views.publish method.
Question 14Choose 1
You are creating an app to help your company's employees schedule, manage, and leave feedback when they
interview candidates for open job positions.
Which surface would you customize to display a summary view and interactive buttons to accomplish these
features?
Show answerHide answer
Correct answer: AThe Home tab
Explanation
Explanation
The Home tab (App Home) is the surface designed to display a persistent, personalized summary view for users, along with interactive buttons and controls. Because the app needs to help employees schedule, manage, and leave feedback on interviews, the Home tab is the ideal place to present an overview — such as upcoming interviews, pending feedback requests, and action buttons — that users can return to at any time. Slack recommends using the Home tab for app dashboards and personalized summary views, published via with a > view type built from Block Kit. This makes option A the correct answer.
Why the other options are incorrect:
B. Shortcuts – Shortcuts (global, message, or channel shortcuts) are entry points that trigger an action when invoked, such as opening a modal or running a workflow. They are not a surface for displaying a persistent summary view; they are triggers rather than a display area.
C. Modals – Modals are pop-up dialogs used to collect input or present focused, temporary content. They are opened on demand with views.open and are dismissed once completed. A modal is not suited to displaying an ongoing summary view that users return to repeatedly.
D. Messages – Messages are content posted into channels or direct messages. While messages can contain Block Kit elements and buttons, they are event-driven and scattered across conversations rather than being a single, dedicated summary surface tied to the app. They do not provide the persistent, personalized dashboard experience that the Home tab offers.
Reference:
Slack Developer Documentation — App Home overview, describing the Home tab as a surface for displaying personalized, persistent views and interactive controls published via views.publish.
Question 15Choose 1
You are a developer and have been asked to create an app for reserving parking spaces. You decide to use
Block Kit Builder to lay out the flow of work. Users will choose a date and range of time within a defined
range. To optimize usability, you want to store a set of data for each individual with the license plate number
and the type of parking spot that vehicle can park in (standard, motorcycle, wheelchair accessible, compact).
Which modal layout meets Slack's recommended design guidelines?
Show answerHide answer
Correct answer: CCreate a modal with fields for selecting a date, a time block, and a drop-down with the vehicles they've
saved in their settings.
Explanation
Explanation
Slack's Block Kit design guidelines recommend using the appropriate purpose-built input elements for each type of data and keeping modal layouts simple and scannable. For a parking reservation flow, the modal should use a date picker for the date, a time picker (or time selection element) for the time range, and a static select (dropdown) for choosing among the vehicles a user has saved. Storing multiple vehicles and presenting them as a dropdown aligns with Slack's recommendation to use select menus when a user must choose one option from a known list, and to default to the most recently used item where helpful. Among the options, option C best matches this guidance: it captures the date, the time block, and the vehicle via a dropdown in a single clean modal. This makes option C the correct answer.
Why the other options are incorrect:
A. Create a modal with fields for selecting a date and time block. If multiple vehicles exist, show a dropdown with the last used vehicle selected by default – This option omits an explicit vehicle selection when only one vehicle exists and otherwise relies on a defaulted dropdown. It is less clear and complete than a consistent dropdown approach, and does not cleanly present the vehicle choice as a standard input element in the layout.
B. Create a modal with fields for selecting a date and time block and one button for each vehicle they've saved in their settings – Using one button per vehicle clutters the modal and does not scale well. Slack guidelines favor a select menu over multiple action buttons for choosing among a dynamic, potentially long list of options.
D. Create a modal with a datetime picker field and a drop-down with the vehicles they've saved in their settings – Slack's Block Kit does not provide a combined "datetime picker" element. Date and time are separate input elements (datepicker and timepicker), so this option references a component that does not exist as described.
Reference:
Slack Developer Documentation — Block Kit reference for input elements, including
Question 16Choose 1
What format is a Block Kit layout expressed in?
Show answerHide answer
Correct answer: CJSON
Explanation
Explanation
In Slack's Block Kit UI framework, layouts are structured using JSON (JavaScript Object Notation). Block Kit layouts are defined as an array of block objects—such as section, header, image, input, and divider blocks—where each object contains key-value pairs specifying the block's type, text attributes, and child interactive elements. This JSON payload is sent via API calls (such as chat.postMessage or views.open) to render rich UI surfaces across messages, modals, and the App Home tab.
Why the other options are incorrect:
A is incorrect: XML is an extensible markup language traditionally used in web feeds and legacy enterprise systems, but Slack's API infrastructure does not use XML for rendering visual components or defining surfaces.
B is incorrect: YAML is human-readable configuration language often used in DevOps, CI/CD pipelines, or Slack App Manifest configuration files, but it is not used directly to express runtime Block Kit visual layouts.
D is incorrect: CSV (Comma-Separated Values) is a tabular data format used for spreadsheet exports and raw data storage, making it completely unsuitable for representing hierarchical, nested UI element trees like Block Kit structures.
References
Slack API - Block Kit Overview:
Official summary: "Block Kit layouts are defined as an array of JSON objects representing blocks, block elements, and composition objects used to render interactive surfaces."
You are the sole developer on a Slack application and you are ready to distribute the app on the App
Directory. You invite a few of your coworkers to be App Collaborators through the Collaborators page in the
App Dashboard.
What can App Collaborators do when added as a Collaborator through the App Dashboard?
Show answerHide answer
Correct answer: DAdd new collaborators, manage and remove other collaborators, and delete the app
Explanation
Explanation
App Collaborators are team members you add through the Collaborators page in the App Dashboard to help manage an app. They have broad administrative abilities but with one important restriction: they cannot delete the app, and they cannot remove the original app owner. Their permissions include:
- Add new collaborators – They can invite additional team members to collaborate on the app.
- Manage and remove other collaborators – They can change collaborator roles and remove other collaborators (except the app owner).
- Set themselves as the app owner – A collaborator can take over ownership of the app.
What they cannot do is delete the app — that action is reserved for the app owner (or requires ownership). This is the key distinction that separates the correct answer from the distractor that includes "delete the app."
✅ C. Add new collaborators, manage and remove other collaborators, and set themselves as the app owner – This correctly lists the collaborator capabilities while excluding the reserved "delete the app" action.
❌ Why Other Options Are Incorrect
A. Manage and remove other collaborators, set themselves as the app owner, and delete the app – Incorrect because collaborators cannot delete the app, and it omits the ability to add new collaborators.
B. Add new collaborators, set themselves as the app owner, and delete the app – Incorrect because it includes "delete the app" (reserved for the owner) and omits the ability to manage/remove other collaborators.
D. Add new collaborators, manage and remove other collaborators, and delete the app – Incorrect because it includes "delete the app" and omits the ability to set themselves as the app owner.
📚 References
- Slack API Docs – App Collaborators – Describes collaborator permissions: add collaborators, manage/remove other collaborators, and take ownership; notes deletion is reserved for the app owner.
Question 18Choose 1
You want prospective users to be able to install your app directly from the Slack App Directory, so you plan
to add a Direct Install URL.
What should happen when this URL is opened?
Show answerHide answer
Correct answer: DThe server at that URL should return an HTTP 302 to an OAuth authorize URL for your application.
Explanation
Explanation:
A Direct Install URL lets prospective users install your app straight from the Slack App Directory without extra steps. When a user clicks "Add to Slack" on your App Directory listing, Slack opens the Direct Install URL you configured. That URL must redirect the user into your app's OAuth flow so they can grant the requested scopes and complete installation.
❌ Why Other Options Are Incorrect:
A. Return an HTTP 302 to a slack:// URL – A slack:// deep link is not how OAuth installation works. The redirect must go to the OAuth authorize URL, not a custom scheme.
B. Open a landing page explaining the benefits – A marketing landing page does not complete installation. The Direct Install URL must drive the OAuth flow, not just inform the user.
C. Return an HTTP 200 with a blank response within 3000ms – A blank 200 response does nothing for installation and is not the required redirect behavior. (The 3000ms/3-second response time applies to other Slack request requirements like interactivity/events acknowledgment, not Direct Install.)
📚 References:
Slack API Docs – Enabling direct install – Explains that the Direct Install URL should redirect (HTTP 302) to your app's OAuth authorize URL so users can install directly from the App Directory.
Question 19Choose 1
What generally happens when you distribute an app to multiple workspaces?
Show answerHide answer
Correct answer: AEach installation gets its own OAuth authorization and tokens
Explanation
Explanation
When a Slack app is distributed to multiple workspaces (or orgs), each installation is independent and generates its own OAuth authorization and tokens. Every time a user or admin installs your app in a new workspace, Slack runs the OAuth flow again and issues a new set of tokens — a bot token (`xoxb-...`) and/or user token (`xoxp-...`) — scoped to that specific workspace and the permissions granted there.
This means your app must store and manage tokens per installation, keyed by the workspace's team ID (and enterprise/org ID where applicable). When an event or interaction arrives, your app uses the `team_id` to look up the correct token for that workspace before calling the Web API. Tokens are never shared across workspaces; each one is unique to its installation context.
✅ A. Each installation gets its own OAuth authorization and tokens – Correct. Slack issues a separate token set for each workspace installation, and apps must persist and route by `team_id`.
❌ Why Other Options Are Incorrect
B. All workspaces share one single token – False. Tokens are installation-specific and cannot be reused across workspaces. Sharing one token would break scoping and security.
C. Distribution is not supported by Slack – False. Slack fully supports public distribution via the App Directory (and private/internal distribution), which is the whole point of multi-workspace distribution.
D. The manifest becomes read-only – False. A manifest does not become read-only simply because the app is distributed. Manifest behavior is unrelated to multi-workspace token issuance.
📚 References
- Slack API Docs – Installing with OAuth / Distribution – Explains that each workspace installation produces its own OAuth tokens and that apps must store tokens per installation (`team_id`).
- Slack API Docs – Tokens & scopes – Describes bot/user token types and their per-workspace scope.
Question 20Choose 1
You're a developer who has been asked to create a Slack app on the Business Operations workspace which
should only be used by the members of that Slack workspace.
How must the app be configured so that the IT manager who is a part of the Business Operations workspace,
can install the app on just the Business Operations workspace?
Show answerHide answer
Correct answer: BAdd the IT manager as a collaborator to the app and have the IT manager install the app from within the
app configuration.
Explanation
Explanation
When building a custom internal app for a single workspace, Public Distribution should remain disabled. By default, custom Slack apps belong to the workspace in which they were created and can only be installed by developers/collaborators listed on the app's configuration settings.
To allow an IT manager to install an internal app without making it publicly available across the internet or submitting it to the public Slack App Directory:
1. The developer adds the IT manager as a Collaborator under the app's settings ( Basic Information > Collaborators in the Slack App Management dashboard).
2. Once added as a collaborator, the IT manager can log into the App Management page, navigate to the app, and click Install to Workspace directly from within the app configuration interface.
Why the other options are incorrect:
- A is incorrect: Enabling public distribution generates a Shareable URL designed for multi-tenant apps across different Slack orgs/workspaces. Because the prompt explicitly specifies that the app should only be used by members of that single workspace, enabling public distribution breaks the single-workspace security boundary and adds unnecessary complexity.
- C is incorrect: OAuth redirect URLs and standard OAuth flows (e.g., "Add to Slack" button authentication) are used primarily for distributed public apps or third-party web services. For internal workspace apps, collaborator installation via the app configuration dashboard avoids needing to build/host a external OAuth flow server.
- D is incorrect: The Slack App Directory is meant for public, commercial, or widely distributed third-party software. Internal operational apps restricted to a single organization should never be submitted or published to the public Slack App Directory.
Official References
- Slack API - Collaboration Settings:
Official summary: "You can add team members as collaborators to your app under Basic Information to allow them to manage settings, view API credentials, and install or reinstall the app to the workspace."
Full mock exam
Sit the Salesforce-Slack-Developer exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Slack-Developer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.