1Z0-829 Java I/O API and Securing Applications • Set 2
1Z0-829 Java I/O API and Securing Applications Practice Test 2 — 15 questions with explanations. Free, no signup.
You are developing a Java application that processes sensitive user data. The application runs on a server with strict security policies. You need to read configuration properties from a file located at /etc/app/config.properties. The application uses a SecurityManager. During testing, you get a security exception: java.security.AccessControlException: access denied (java.io.FilePermission /etc/app/config.properties read). You have already added a file permission grant in the policy file for the application codebase. However, the exception persists. What is the most likely cause?