Data Ingestion and Transformation

A Lambda function mounts Amazon EFS through an access point but receives permission-denied errors when creating files. IAM permits client writes, but the access point enforces UID 1001 while its root directory is owned by UID 2000 with permissions 0755; what should the engineer change?

Show the answer

Correct answerD. Give UID 1001 write permission on the access point directory.

AWhy not this: Ephemeral storage capacity affects /tmp, not POSIX authorization on an EFS directory.

BWhy not this: IAM already permits writes; it does not override the directory's POSIX permissions.

CWhy not this: The file system is already mounted, so blocked NFS connectivity does not explain the file creation failure.

DWhy this is right: The enforced UID must have write permission on the directory to create files there.

EFS enforces POSIX permissions in addition to IAM authorization. With permissions 0755, only the directory owner can write, so the access point's enforced UID needs directory write permission; additional IAM permissions cannot override this restriction.