Slack-Dev-201 Salesforce Certified Slack Developer Practice Questions
Prepare for Slack-Dev-201 with more than an answer.
- Exam fee
- $200 USD
- Level
- Intermediate
- Valid for
- 24 months
Domains covered on the exam 9
- Apps in the Slack Platform7%
- Design the Interactive Flow of Your App20%
- Design Your Workflows: Spotlight on Slack's APIs13%
- Design a Great User Experience8%
- Design for Security19%
- Design for Scale9%
- Tools5%
- APIs for Managing Your Slack12%
- Distribute Your App7%
- 1
Which TWO of the following statements are TRUE regarding the
chat.postEphemeralmethod? (Select TWO)Show answer details
Correct answer: C, D
Because they are private and temporary, ephemeral messages are the standard pattern for error messages (e.g., 'You are not authorized to run this command') or private feedback.
Ephemeral messages are only visible to the user specified by the
userargument within the context of thechannelargument. - 2
Your app uses the Events API to listen for
message.channelsevents. Slack sends an event to your configured Request URL, but your server is temporarily overloaded and fails to respond within 3 seconds. What will Slack do next?Show answer details
Correct answer: B
If Slack does not receive a 2xx response within 3 seconds, it considers the delivery failed and will attempt to resend the event. It retries up to 3 times with exponential backoff logic (waiting longer between each attempt). Apps must handle these potential duplicate events.
- 3
A developer needs to store an access token securely for a Slack app deployed on AWS Lambda. The security policy strictly prohibits storing secrets in source code or unencrypted text files. Which of the following is the recommended best practice for token storage in this environment?
Show answer details
Correct answer: D
The industry standard for serverless functions (like Lambda) is to inject sensitive data via environment variables, which are populated from a secure secrets management service. This keeps tokens out of the codebase and allows for rotation without redeploying code.
- 4
A financial services firm is developing a custom Slack app to assist traders with real-time stock analysis. The app currently uses the Web API to post market updates every 10 seconds to a high-traffic channel. During peak trading hours, the app frequently receives HTTP 429 Too Many Requests errors. The architectural team needs to redesign the communication flow to respect Slack's rate limits while ensuring traders receive timely updates. Which approach offers the MOST scalable solution?
Show answer details
Correct answer: A
The optimal solution for high-frequency updates that hit rate limits is to consolidate information. By using
chat.updateto refresh a single 'dashboard' message or consolidating multiple updates into a batched message, the app reduces API calls. Crucially, any robust app must implement a queue that pauses requests based on theRetry-Afterheader provided by Slack in 429 responses. - 5
You are designing an app for a distributed engineering team that manages critical infrastructure. The app must receive notifications about server outages and allow engineers to acknowledge alerts immediately. The engineering team operates behind a strict corporate firewall that blocks all incoming traffic from the public internet, preventing the use of public endpoints. Which Slack API technology should you implement to satisfy these network security constraints?
Show answer details
Correct answer: D
Socket Mode allows an app to connect to Slack via a WebSocket connection. This is an outbound connection from the app to Slack, which typically bypasses the need for incoming firewall rules or a public static IP address. It is the standard solution for apps running behind corporate firewalls.
- 6
A developer is building a 'Help Desk' app where users submit tickets via a Global Shortcut. The modal for ticket submission contains a select menu for 'Category'. When a user selects 'Hardware', the modal needs to dynamically update to show a new input field for 'Asset Tag'. Which API method and interaction flow handles this requirement?
Show answer details
Correct answer: D
Dynamic modal updates are achieved by listening for
block_actionsevents (triggered when the user selects a menu item). The app must respond to this event by callingviews.updatepassing theview_idand the newblocksarray that includes the conditional fields.
