SnowPro Advanced: Architect Practice Questions

SnowPro Advanced: Architect (ARA-C01) exam preparation

SnowPro Advanced: Architect practice questions in English: 171 questions with explanations. The mock exam has 65 questions and 115 minutes.

SnowPro Advanced: Architect free question 2 / 10 · Domain 1: Accounts and Security

The allowed list of an account-level network policy contains a rule with TYPE = AWSVPCEID and VALUE_LIST = ('vpce-aaa') and a rule with TYPE = IPV4 and VALUE_LIST = ('198.51.100.0/24'). The blocked list is empty. Both of the following requests arrive through AWS PrivateLink. Answer each question with Yes or No. (1) A request that comes through vpce-aaa from source IP address 10.1.2.3 is blocked because it is outside the range of the IPv4 rule. Is this true? (2) A request that comes through vpce-bbb from source IP address 198.51.100.7 is allowed because it is inside the range of the IPv4 rule. Is this true?

  1. (1) No, (2) No
  2. (1) Yes, (2) No
  3. (1) No, (2) Yes
  4. (1) Yes, (2) Yes
Show the answer and explanation

Answer: A

Why this is correct
Network rules of type AWSVPCEID or AZURELINKID take precedence over IPV4 and IPV6 rules. The documentation states that when a request uses private connectivity and the allowed list contains an AWSVPCEID or AZURELINKID rule, all IPV4 and IPV6 rules with IP ranges are ignored, whether the IP is public or private. In (1), the request comes through vpce-aaa, so the VPCE ID rule allows it; the fact that the source IP is outside the IPv4 range plays no part, and the request is not blocked. In (2), the IPv4 rule is likewise ignored, and vpce-bbb is not a VPCE ID on the allowed list, so the request is not allowed even though the source IP is inside 198.51.100.0/24.

Why the other options are wrong
"(1) Yes, (2) Yes" … This is the result of evaluating both requests with the IPv4 rule. For a request that arrives over private connectivity when the allowed list contains an AWSVPCEID rule, the IPv4 rule is ignored.
"(1) Yes, (2) No" … (2) is right, but (1) relies on the IPv4 rule. A request through vpce-aaa is evaluated against the VPCE ID rule, and the range of its source IP does not enter the decision.
"(1) No, (2) Yes" … (1) is right, but (2) relies on the IPv4 rule. The IPv4 rule is ignored for a request through vpce-bbb as well, so being 198.51.100.7 is not a reason to let it in.

Key point
This precedence applies to requests that arrive over private connectivity. The documentation also says that rules using VPC endpoint IDs or link IDs have no effect on requests that arrive from the public network. To block public requests as well, it shows an example that puts an IPV4 rule for 0.0.0.0/0 in the blocked list.

Go to the SnowPro Advanced: Architect practice app (10 free questions; purchase unlocks all questions)

See the full practice set