You are assessing a cloud deployment for secure configuration. The environment runs compute instances with a broad IAM role allowing access to object storage across all buckets. Which principle is most violated and what is the most defensible fix?

Answer

Defense in depth; restrict roles to least privilege and scope access only to required buckets

Explanation

Overbroad permissions violate least privilege; scoping IAM permissions to specific resources reduces blast radius if credentials are compromised.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

In the context of preparing for incident response, which sequence most accurately represents the practical flow of activities after an alert while maintaining forensic integrity and containment?

View question →

During vulnerability management, a team discovers a critical CVE with a public exploit chain. The service is exposed externally but the patch would require a multi-week platform upgrade. Which approach best balances risk reduction and operational constraints?

View question →

A web application shows intermittent privilege escalation from authenticated sessions without credential reuse. Which control most directly reduces the chance that an attacker can exploit broken authorization across object references?

View question →

A threat actor compromises a low-privilege account and then enumerates cloud resources. They successfully access sensitive objects but only through a single stored access path. What is the most likely root cause in the cloud configuration and which response best addresses it?

View question →

Your red team reports that an attacker can upload a file named "report.pdf" containing embedded HTML/JavaScript that renders when accessed from a legacy viewer. The security team must decide on an effective mitigation. Which option is most appropriate?

View question →

A SOC observes a burst of outbound DNS queries from a workstation that should only query an internal resolver. The queries include high-entropy subdomains. Which analytical hypothesis is most consistent with the traffic pattern?

View question →

QuestionBack to list