## Testing Lake Formation access control policies
You now test the implemented Lake Formation access control policies by opening Studio using both user profiles. For each user profile, you run the same Studio notebook containing Athena queries. You should see different query outputs for each user profile, matching the data permissions implemented earlier.
1. Sign in to the console with the credentials associated to the first data scientist (`data-scientist-full`), based on your authentication method (AWS IAM, AWS SSO, or federation with an external IdP).
2. On the SageMaker console, in the navigation pane, choose **Amazon SageMaker Studio**.
3. On the **Studio Control Panel**, choose user name `data-scientist-full`.
4. Choose **Open Studio**.
5. Wait for SageMaker Studio to load.
Due to the IAM policies attached to the IAM user, you can only open Studio with a user profile matching the IAM user name.
6. In Studio, on the top menu, under **File**, under **New**, choose **Terminal**.
7. At the command prompt, run the following command to import a sample notebook to test Lake Formation data permissions:
git clone https://github.com/aws-samples/amazon-sagemaker-studio-audit.git
8. In the left sidebar, choose the file browser icon.
9. Navigate to `amazon-sagemaker-studio-audit`.
10. Open the `notebook` folder.
11. Choose `sagemaker-studio-audit-control.ipynb` to open the notebook.
12. In the **Select Kernel** dialog, choose **Python 3 (Data Science)**.
13. Choose **Select**.
14. Wait for the kernel to load.