Refer to the exhibit. A data analyst is trying to understand access permissions for the company data folder. Which statement accurately describes the effective permissions?
Exhibit
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:role/DataAnalyst"},"Action":"s3:GetObject","Resource":"arn:aws:s3:::company-data/prod/*"},{"Effect":"Deny","Principal":"*","Action":"s3:GetObject","Resource":"arn:aws:s3:::company-data/prod/sensitive/*"}]}Trap 1: DataAnalyst can read all objects in the production folder,…
The exhibit's deny ACE on the sensitive subfolder overrides the inherited allow, so DataAnalyst cannot read those objects. The option is tempting because the parent production folder does grant read access, and inheritance normally propagates permissions downward, but an explicit deny at the subfolder level blocks that inheritance.
Trap 2: No one can read from the production folder except DataAnalyst.
The exhibit grants read access to at least one other principal or group in addition to DataAnalyst, so the claim that nobody else can read the production folder is false. It is tempting because DataAnalyst is the named user in the scenario, but the effective permissions include every allow ACE that applies to the folder.
Trap 3: Only DataAnalyst is allowed to read from the entire production…
The sensitive subfolder's explicit deny prevents DataAnalyst from reading the entire production folder, so the claim of full read access is wrong. It is tempting because DataAnalyst holds an allow on the parent, but the deny ACE on the child removes that permission for the subfolder.
- A
DataAnalyst can read objects in the production folder except those in the sensitive subfolder.
NTFS permissions are cumulative, but an explicit deny on the sensitive subfolder overrides the inherited allow from the production folder. The DataAnalyst therefore retains read access to production objects while being blocked from sensitive ones, matching the stated effective permissions.
- B
DataAnalyst can read all objects in the production folder, including the sensitive subfolder.
Why it fails: The exhibit's deny ACE on the sensitive subfolder overrides the inherited allow, so DataAnalyst cannot read those objects. The option is tempting because the parent production folder does grant read access, and inheritance normally propagates permissions downward, but an explicit deny at the subfolder level blocks that inheritance.
- C
No one can read from the production folder except DataAnalyst.
Why it fails: The exhibit grants read access to at least one other principal or group in addition to DataAnalyst, so the claim that nobody else can read the production folder is false. It is tempting because DataAnalyst is the named user in the scenario, but the effective permissions include every allow ACE that applies to the folder.
- D
Only DataAnalyst is allowed to read from the entire production folder.
Why it fails: The sensitive subfolder's explicit deny prevents DataAnalyst from reading the entire production folder, so the claim of full read access is wrong. It is tempting because DataAnalyst holds an allow on the parent, but the deny ACE on the child removes that permission for the subfolder.