Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 MCQs Security, Monitoring, and Optimization

INT347 — Software Bots 60 questions. Pick an option to check it.

Read the notes

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Credential management Easy

    What is the primary purpose of credential management in software bots?

  2. Question 2 of 60 Environment variables Easy

    Why are environment variables commonly used when deploying software bots?

  3. Question 3 of 60 Secrets management Easy

    Which of the following represents a best practice for secrets management?

  4. Question 4 of 60 PII handling for filtering, transformation Easy

    What does PII stand for in the context of data security and bot operations?

  5. Question 5 of 60 PII handling for filtering, transformation Easy

    Which technique is commonly used to protect sensitive PII during data transformation?

  6. Question 6 of 60 OAuth2 implementation Easy

    In OAuth2 implementation, what mechanism is typically used to grant a bot access to resources without sharing the user's actual password?

  7. Question 7 of 60 API key management Easy

    What is a recommended security practice for API key management?

  8. Question 8 of 60 Audit logging Easy

    What is the main purpose of audit logging in bot operations?

  9. Question 9 of 60 Workflow versioning Easy

    How does workflow versioning benefit software bot developers?

  10. Question 10 of 60 Compliance patterns as GDPR Easy

    Under GDPR compliance patterns, what does the 'Right to erasure' allow users to do?

  11. Question 11 of 60 Compliance patterns as GDPR Easy

    Which of the following is a core requirement of GDPR when bots process user data?

  12. Question 12 of 60 Execution history Easy

    Why is checking a bot's execution history important for system administrators?

  13. Question 13 of 60 Error workflows for monitoring Easy

    What is the function of an error workflow in bot monitoring?

  14. Question 14 of 60 Performance metrics as execution time, success rates Easy

    Which performance metric measures the percentage of times a bot completes its intended task without failing?

  15. Question 15 of 60 Performance metrics as execution time, success rates Easy

    What does 'execution time' measure in the context of bot performance monitoring?

  16. Question 16 of 60 Bottleneck identification Easy

    In bot optimization, what is a bottleneck?

  17. Question 17 of 60 Optimization techniques as API reduction, caching Easy

    How does caching improve a software bot's performance?

  18. Question 18 of 60 Optimization techniques as API reduction, caching Easy

    Why is API reduction considered an effective optimization technique?

  19. Question 19 of 60 Change management Easy

    What is the primary goal of change management in a software bot's lifecycle?

  20. Question 20 of 60 Documentation practices Easy

    Why are good documentation practices essential for software bots?

  21. Question 21 of 60 Environment variables Medium

    Why is it a best practice to use environment variables rather than hardcoded configuration files for deploying a software bot across different environments (e.g., Dev, QA, Prod)?

  22. Question 22 of 60 Secrets management Medium

    A bot requires access to an external database. What is the most secure method for the bot to retrieve the database password at runtime?

  23. Question 23 of 60 PII handling for filtering Medium

    A customer service bot reads incoming emails and logs the text for analytics. To comply with privacy standards, how should the bot handle Social Security Numbers (SSNs) found in the text?

  24. Question 24 of 60 OAuth2 implementation Medium

    A bot needs continuous, long-term access to read files from a user's Google Drive. In an OAuth2 implementation, which token must the bot store securely to maintain this access without requiring the user to re-authenticate?

  25. Question 25 of 60 API key management Medium

    To maintain high availability when rotating an API key for a production bot, what sequence of actions should a developer follow?

  26. Question 26 of 60 Audit logging Medium

    What is the primary purpose of maintaining an immutable audit log for a bot that processes financial transactions?

  27. Question 27 of 60 Workflow versioning Medium

    A team is updating a bot's workflow schema. Why is semantic versioning (e.g., moving from ) crucial when making breaking changes?

  28. Question 28 of 60 Compliance patterns as GDPR Medium

    Under GDPR, an individual invokes their 'Right to be Forgotten.' How does this requirement typically impact a bot's execution history and audit logs?

  29. Question 29 of 60 Execution history Medium

    A bot fails sporadically during a file parsing step. Which element of the execution history is most valuable for diagnosing the root cause of these sporadic failures?

  30. Question 30 of 60 Error workflows for monitoring Medium

    When a bot encounters a '503 Service Unavailable' HTTP error while calling a third-party API, what is the most robust error workflow implementation?

  31. Question 31 of 60 Performance metrics as execution time Medium

    Over the course of three months, a bot's execution time steadily increases from 5 seconds to 45 seconds, even though the daily transaction volume remains constant. What is the most likely cause of this degradation?

  32. Question 32 of 60 Success rates Medium

    A bot processes 1,000 requests. It completes 800 successfully. It encounters 150 'Business Exceptions' (e.g., account closed, missing required user input) and 50 'Technical Exceptions' (e.g., database timeout). How should the technical success rate be calculated to reflect the bot's system reliability?

  33. Question 33 of 60 Bottleneck identification Medium

    A bot workflow takes 10 minutes to complete. Profiling shows that downloading files takes 1 minute, OCR processing takes 8 minutes, and database updates take 1 minute. What is the most effective architectural change to eliminate this bottleneck?

  34. Question 34 of 60 Optimization techniques as API reduction Medium

    A pricing bot queries an external REST API for the current USD-to-EUR exchange rate 10,000 times a day. The rate only changes once at midnight. What optimization technique should be applied?

  35. Question 35 of 60 Caching Medium

    When implementing caching for a software bot, what is the primary risk of setting the Time-To-Live (TTL) too high on cached objects?

  36. Question 36 of 60 Change management Medium

    A critical financial bot requires an update to its calculation logic. To minimize risk, the operations team routes 5% of the workload to the updated bot and 95% to the old bot, monitoring for errors before a full rollout. What change management strategy is this?

  37. Question 37 of 60 Documentation practices Medium

    Which type of documentation is most critical for a Level 1 Support team tasked with resolving daily exceptions generated by a software bot?

  38. Question 38 of 60 Credential management Medium

    Why is it heavily recommended to use a dedicated 'Service Account' rather than a human user's credentials for running a software bot?

  39. Question 39 of 60 Transformation Medium

    A bot extracts dates from an old legacy system formatted as 'DD-MM-YY' and must input them into a modern CRM requiring ISO 8601 format ('YYYY-MM-DD'). What is the most reliable way to handle this transformation?

  40. Question 40 of 60 Error workflows for monitoring Medium

    A bot processes customer refunds. If the bot attempts to refund an account that is already closed, it throws a 'ClosedAccountException'. How should the error workflow categorize and handle this exception?

  41. Question 41 of 60 Secrets management Hard

    A distributed software bot fleet processes 10,000 tasks per minute. The third-party API mandates automated secret rotation every 12 hours. Which architectural pattern best ensures zero-downtime secret rotation while minimizing central secret manager API rate limit exhaustion?

  42. Question 42 of 60 PII handling for filtering Hard

    A bot parses unstructured customer support emails to extract intent before forwarding payloads to a third-party analytics API. To prevent PII leakage, static regex filtering is currently used but fails on edge cases like misspellings and non-standard ID formats. What is the most robust mitigation strategy?

  43. Question 43 of 60 OAuth2 implementation Hard

    A highly concurrent multi-threaded bot uses OAuth2. When the access token expires, multiple threads simultaneously attempt to use the refresh token. The authorization server invalidates the refresh token upon the first use (Refresh Token Rotation), causing subsequent threads to fail and the bot to log out. How should this race condition be resolved?

  44. Question 44 of 60 Audit logging Hard

    In a distributed bot architecture handling sensitive financial transactions, an attacker compromises a worker node and attempts to alter local audit logs to hide unauthorized transfers. Which implementation provides the strongest guarantee of non-repudiation and tamper evidence for the audit trail?

  45. Question 45 of 60 Workflow versioning Hard

    A stateful orchestration bot manages a long-running workflow (e.g., employee onboarding) that can take 30 days. You need to deploy a new version (v2) of the workflow that drastically changes the state machine schema. How should you manage existing in-flight v1 workflows?

  46. Question 46 of 60 Compliance patterns as GDPR Hard

    A bot uses an Event Sourcing architecture where all state changes are stored as an immutable sequence of events. A user invokes their GDPR 'Right to be Forgotten'. How can the system comply without violating the immutability constraint of the event log?

  47. Question 47 of 60 Error workflows for monitoring Hard

    A bot relies on a downstream API that is currently experiencing a cascading failure. Continuous retries from your bot fleet are exacerbating the downstream outage. Which combination of error handling patterns is best suited to allow the downstream service to recover while maintaining system stability?

  48. Question 48 of 60 Performance metrics as execution time Hard

    A bot engineer parallelizes a data-fetching workflow. The workflow takes seconds sequentially. Only of the workflow can be parallelized. According to Amdahl's Law, what is the theoretical maximum speedup factor as the number of parallel threads approaches infinity?

  49. Question 49 of 60 Bottleneck identification Hard

    Monitoring dashboards for an asynchronous Node.js bot show low CPU utilization (), high memory usage that plateaus, and an execution time that degrades linearly as concurrent tasks increase. The network bandwidth is significantly underutilized. What is the most likely bottleneck?

  50. Question 50 of 60 Optimization techniques as API reduction Hard

    A bot needs to sync user profiles and their associated recent orders from a REST API. Currently, it fetches users (1 call), then iterates through the 1,000 users to fetch orders for each ( calls), resulting in rate limiting (the N+1 problem). Which technique best minimizes API calls while ensuring data integrity?

  51. Question 51 of 60 Change management Hard

    A team must deploy a breaking schema change to a bot's backend database, alongside updated bot logic. They require zero downtime and the ability to roll back instantly if the new bot logic fails. Which deployment strategy fulfills these requirements?

  52. Question 52 of 60 Documentation practices Hard

    When developing enterprise software bots that interact with multiple evolving internal APIs, what is the most effective documentation practice to prevent 'doc drift' regarding bot capabilities and required payloads?

  53. Question 53 of 60 Credential management Hard

    A bot running on an AWS EC2 instance needs to securely access an S3 bucket. To adhere strictly to the Principle of Least Privilege and avoid hardcoded credentials, which approach should be implemented?

  54. Question 54 of 60 Environment variables Hard

    While environment variables are commonly used for configuration, they pose a security risk in containerized bot deployments if an application crashes. What is the specific vulnerability, and how is it best mitigated?

  55. Question 55 of 60 PII handling for transformation Hard

    A bot aggregates user behavior data to train an AI model. To preserve privacy, names are pseudonymized. However, an attacker uses external datasets to cross-reference timestamp, zip code, and gender to re-identify users. Which transformation technique should be applied to the dataset to mathematically guarantee against this linkage attack?

  56. Question 56 of 60 API key management Hard

    An API key utilized by a heavily distributed external partner bot has been compromised. Immediate revocation will cause a catastrophic outage for the partner's critical systems. What is the safest immediate mitigation strategy that secures the system while maintaining partner uptime?

  57. Question 57 of 60 Execution history Hard

    A serverless bot executes millions of micro-tasks daily. Storing the full execution history in a relational database for debugging is causing massive storage costs and database locks. Which architectural adjustment optimizes both performance and cost for execution history?

  58. Question 58 of 60 Optimization techniques as caching Hard

    A bot retrieves dynamic configuration data that updates unpredictably. The cache is set to expire every 60 seconds. When the cache expires under high load, thousands of bot threads simultaneously query the underlying database, causing a crash. What is the optimal caching strategy to prevent this 'Cache Stampede'?

  59. Question 59 of 60 OAuth2 implementation Hard

    When implementing the OAuth2 Authorization Code flow for a bot running on a headless server without a guaranteed secure client secret storage, why must PKCE (Proof Key for Code Exchange) be utilized?

  60. Question 60 of 60 Workflow versioning Hard

    A webhook-driven bot heavily relies on external payload schemas. The external provider announces a move from API v1 to v2, adding new fields but not removing any old ones. According to semantic versioning and robust workflow design, how should the bot's payload validation logic be structured to handle this?

That's unit 6

Answer a few questions and your score shows up here.