Pair your devices with a code and playback position follows you: pause on this device, hit resume on the other. Position is saved to the site every minute and on pause.
Open this panel on your other device and enter the same code.
Target: an AWS account with a signed-in CLI session, and a browser for GitHub. Run Parts 1–3 in the account you'd consider for a first domain. If that is the account holding production data, run it anyway — the answers are the argument for a sandbox.
Cost: nothing. Every command is a read: list-*, describe-*, get-*. The lab creates no
resources. Part 4 reads code on GitHub and runs nothing. Part 5 is a check that you left nothing
behind.
Why read-only: lesson 6 lists eight decisions that bind before the first domain exists, and three settings that can't be changed afterwards. Creating a domain to "see what happens" is how those get decided by accident. This lab collects the facts the decisions need.
Predict before you run. Write your answer to each numbered question before the command.
Command names and options were checked on 2026-11-19 against the help output of AWS CLI 2.36.46.
⚠️ Output field names were not verified against a live account; read the JSON you get rather than
trusting a --query you copied.
Q1. Predict: does this account already have a Unified Studio or DataZone domain? In this Region?
aws datazone list-domains
If one comes back, record its ID (it starts dzd) and run:
aws datazone get-domain --identifier <domain-id>
Q2. From the output: is it version V1 or V2? What does the single sign-on block say? Which
two role ARNs does it name, and which of the roles in lesson 2
are they?
Q3. If a domain exists, list what an admin has already set up:
aws datazone list-environment-blueprint-configurations --domain-identifier <domain-id>
aws datazone list-project-profiles --domain-identifier <domain-id>
aws datazone list-projects --domain-identifier <domain-id>
Which blueprints are enabled? Do the profile names match H1's, H2's, or the current admin guide's? (Lesson 3 has all three sets.)
Q4. Whether or not a domain exists: are any of the roles from lesson 2 already in the account?
aws iam list-roles
Search the output for AmazonSageMaker and AmazonDataZone. Write down each match. A role left
behind by an earlier experiment matters: the Terraform module's README describes a "3-tier
resolution" that will reuse a pre-existing role it discovers.
Q5. Predict what this returns, then run it:
aws datazone get-domain --identifier dzd_sm1labdoesnotexist
Write down the exact error code. Then compare it with the result of Q1. Does this error mean the
domain doesn't exist, or that you aren't allowed to see it? What would you expect instead if your
role lacked datazone:GetDomain? Run one more to see the third kind of failure:
aws datazone get-domain --identifier not-a-domain-id
Lesson 1 gives the domain ID pattern. Compare the two errors you got: which one is about the shape
of the ID, and which is about the domain itself? What would a third, "access denied" error look
like? An empty list-domains only means "none" if you can tell those apart.
Q6. Predict: does this account see an IAM Identity Center instance, and is it an organization instance or an account instance?
aws sso-admin list-instances
Record the Region you ran it in and what came back. Run it again in the Region where you believe Identity Center is enabled, if different.
Q7. Using lesson 2: is this account the AWS Organizations management account, a member account, or standalone? What does the admin guide say gets selected in each case? If the answer is "account instance", what does the Identity Center guide say about using an account instance for applications in multiple accounts?
Q8. Write one sentence: for a first domain here, would you set the Terraform variable
enable_sso to true or false, and what would you tell someone who says "we can change it
later"? Cite both the H2 sentence and the ⚠️ that complicates it.
Q9. How do our dashboards' users sign in? SM0's lab Q15 asked this:
aws quicksight describe-account-subscription --aws-account-id <account-id>
Lesson 6 notes the QuickSight blueprint "is available only in Identity Center-based domains", and lesson 4 notes the module enables that blueprint with SQL analytics. Does that combination work for our account as it stands? If you can't tell, write the question for AWS.
Q10. Predict: does this account and Region still have a default VPC?
aws ec2 describe-vpcs --filters Name=is-default,Values=true
Q11. If it does, look at its subnets and how they route:
aws ec2 describe-subnets --filters Name=vpc-id,Values=<default-vpc-id>
aws ec2 describe-route-tables --filters Name=vpc-id,Values=<default-vpc-id>
Are these subnets public or private? How can you tell from the route table? Now answer: if someone
runs H2's quick-setup example without setting vpc_id, which subnets does the domain get, and what
does the admin guide say about that?
Q12. Find a VPC you would actually use. For it, answer the three requirements from lesson 2: how many private subnets in different Availability Zones (the docs say 2 in one place and 3 in another — do you have 3?), are DNS hostnames and DNS support on, and how many free IP addresses per subnet against "5 per project"?
Q13. Lake Formation, from SM0's lab Q14:
aws lakeformation get-data-lake-settings
Who are the data lake administrators today? Lesson 2 describes a Manage Access role with "permissions to publish, grant access, and revoke access" on Glue Data Catalog and Redshift data. Write one sentence on what adding that role to this account would change.
Q14. Git. Are there CodeConnections connections in the account already?
aws codeconnections list-connections
If yes: which provider, and which repositories can it reach? Lesson 5 quotes what happens when such a connection is enabled in Unified Studio. Who would gain access to what?
No commands. Open github.com/aws-ia/terraform-aws-sagemaker-unified-studio in a browser and read. Do not clone and apply.
Q15. Open examples/quick-setup/variables.tf. What is the default of enable_sso? Now open
terraform.tfvars.example in the same folder. What does it set? What happens to someone who
follows H2's instruction to cp terraform.tfvars.example terraform.tfvars?
Q16. In examples/quick-setup/main.tf, find the SQL analytics blueprint configuration. List
each entry and its deployment_mode. Which deploy the moment a project is created? Does the list
match H2's table? What is in the code that the table leaves out?
Q17. Search the root module and modules/blueprint-bootstrap for aws_iam_role. How many roles
are created, and what are they called? Compare with H2's sentence in Step 3.
Q18. Find the S3 bucket resource in the root main.tf. What is the bucket name pattern? Is
force_destroy set? What does that mean for the order of clean-up, and where does H2 say so?
Q19. Open the repository's Issues tab. Is there an open issue about multi-account support? What does that mean for building H3's architecture with H2's tool?
Q20. Write the module "domain" block you would hand to a reviewer for a sandbox, on paper
only: source with a pinned version, your vpc_id and private subnet_ids from Q12, and the
enable_sso value from Q8. Which toggles would you leave off, and why?
Re-run aws datazone list-domains and the role search from Q4. The output should be identical to
what you recorded in Part 1. This lab created nothing. If a domain or a new AmazonSageMaker… role
has appeared, someone else is experimenting in the account — find out who before the next call with
AWS, because a quick-setup domain is one the docs "recommend deleting … after initial tests".
datazone error.enable_sso to.module "domain" block for a sandbox.Copy the answers into the eight-decision list in lesson 6.
terraform apply "just in the sandbox" before deciding
enable_sso, then discovering the domain they want to keep has the wrong identity mode. Q8 comes
before Part 4 for that reason.