Slack-Dev-201 Exam Questions & Answers
Salesforce Certified Slack Developer • Salesforce
100% money-back guarantee
Sample Slack-Dev-201 Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
Your company is growing and the security team wants to understand how to ensure the company's safe usage of Slack.
What are possible use cases for the Audit Logs API?
The Audit Logs API is designed to provide security and administrative visibility into activities occurring across an Enterprise organization. Option B contains two valid examples of such activity: file downloads and changes involving Slack applications. Slack's Audit Logs API includes audit actions such as file_downloaded, allowing security teams or SIEM platforms to investigate potentially suspicious download behavior. It also records application lifecycle and authorization activity. Supported actions include app_installed and app_scopes_expanded, the latter indicating that an application has been granted additional OAuth access. The API is primarily read-only monitoring infrastructure. It retrieves audit events and supports filtering by properties such as action, actor, entity, and time range. Therefore, option D is incorrect because the API itself does not control whether applications are approved; administrative APIs and workspace/org controls perform those actions. The Audit Logs API is also not a general message-content surveillance API for detecting arbitrary keywords, making C incorrect. Subscription billing and plan-user accounting are likewise outside its intended purpose. This aligns directly with APIs for Managing Your Slack, specifically Enterprise security monitoring and administrative event visibility through the Audit Logs API.
What is the most effective way to protect the data Slack sends from malicious adjustment via a man-in-the-middle attack?
Slack requires applications to verify inbound HTTP requests by using the application's signing secret. Slack generates an X-Slack-Signature header for signed requests. The application reconstructs the signature locally from the request timestamp and raw request body using HMAC-SHA256 together with its signing secret, then compares the calculated signature with the signature Slack supplied. This mechanism provides cryptographic integrity and origin verification. If an attacker alters the payload in transit, the locally calculated signature no longer matches Slack's signature. Implementations should also validate the X-Slack-Request-Timestamp and reject sufficiently old requests to reduce replay-attack risk. IP-address validation is not the recommended authentication mechanism because infrastructure addresses can change and network origin alone does not cryptographically establish message integrity. The Audit Logs API serves Enterprise monitoring and investigation rather than inbound-request authentication. Restricting server access is useful operational security but does not prove that an individual request came unmodified from Slack. Therefore, D directly implements Slack's prescribed request-verification architecture. This belongs to Design for Security, covering signing secrets, request integrity, authentication of Slack-originated traffic, and replay protection.
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?
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.
What does Socket Mode allow a Slack app to avoid?
Socket Mode allows a Slack application to receive Events API and interactive payloads through a WebSocket connection rather than exposing a publicly accessible HTTP Request URL. The application establishes an outbound connection to Slack, making Socket Mode particularly useful during local development, behind corporate firewalls, or in environments where inbound public HTTP traffic cannot be accepted. Slack dynamically creates the WebSocket URL through `apps.connections.open`; the URL is not a permanent endpoint. Socket Mode does not remove OAuth requirements, eliminate Block Kit, or eliminate application installation. Bot and user functionality still depends on the application's authorization model and appropriate scopes. Socket Mode simply changes how Slack delivers events and interactive payloads to the application. Therefore, B precisely identifies the architectural advantage tested by the question.
Can AI agent apps use the same platform primitives (Block Kit, Events API) as traditional bots?
Slack AI agents are built on the core Slack application platform rather than an entirely isolated development system. Slack's agent documentation describes Slack as particularly suitable for agent experiences because it already provides a conversational environment, Block Kit interaction model, multiple application surfaces, identity, permissions, and contextual information. The official Agent quickstart demonstrates an agent using familiar Slack application mechanisms such as Bolt, App Home, modals, direct messages, app mentions, reactions, and threaded messaging. Developers can therefore combine AI reasoning and external model frameworks with established Slack primitives for events, messages, interfaces, authentication, and Web API actions. Agent functionality may introduce specialized capabilities and scopes, but it does not replace the underlying Slack platform. Agents can also post and stream responses. Consequently, B is the technically correct answer.
Get access to all 134 verified questions with detailed answers.
Unlock All Slack-Dev-201 Questions