Question 340
An event-driven cloud function consumes a queue that contains both public activity and payment transactions, but its role can delete all queues. What is the best next architecture decision based on the described constraints?
Explanation
Correct Answer
Event-driven architectures still require authorization at queue, event and function boundaries. A test invocation reads only approved event types and cannot delete an unrelated queue.
Incorrect Answers
Serverless workloads still require least-privilege execution roles and controlled outbound flows. Event-driven architectures still require authorization at queue, event and function boundaries.
Kubernetes namespace separation alone does not impose network isolation without enforceable policies. A test invocation reads only approved event types and cannot delete an unrelated queue.
Cloud security groups should model explicit application trust relationships instead of broad instance membership. Use queue-specific least-privilege execution policy and separate handling for regulated payment events.