The interview problem

Practice prompt

A customer has granted a cloud role, but the integration still receives access denied. Diagnose the permission chain with minimal access.

Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.

1. Scope and worked approach

Assume explicit authorization to inspect relevant policy metadata. Separate the ability to assume the role from the permissions of the resulting session. Check trusted principal, required external identifier, session conditions, resource policies and higher-level denies. Use a narrowly scoped test action on an agreed resource. Record the failing operation and policy layer, then propose the smallest change the customer can review.

2. Trace the design or derivation

Assume role
  → identify denied action
  → inspect policy layers
  → propose minimal change
  → validate boundary

Prepare an operation-to-resource matrix for the customer administrator. Include encryption-key use and object-level paths when relevant, because broad list access can pass while reads fail. Validate a negative case after the fix to show that the change enabled the intended integration without opening unrelated resources.

3. Calculate the example

Successful role assumption proves only that temporary credentials were issued. If the session can list a bucket but cannot read one object, widening the trust policy does not fix the object permission or encryption-key access failure.

4. Failure cases and trade-offs

An allow can still be blocked by an explicit deny or organizational control. Asking for administrator access obscures the root cause and expands risk. Minimal permissions may require several iterations but produce a maintainable contract tied to actual operations.

5. Validation, follow-ups and self-review

Test allowed and intentionally denied resources with the same assumed session. Follow-up: how do you support credential expiry during a long job? Self-review: distinguish trust, identity permissions, resource policy and session lifetime.

Sources and related practice

Technical reference: docs.aws.amazon.com — Permission evaluation and explicit denies.

Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.

Continue with Map enterprise permissions into retrieval access; Integrate through a restricted customer network.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.