Curated

Design Secure Architectures 1 (1.1–1.2)

0 votes

Questions63

  1. Question 51

    Design Secure Architectures

    A company needs connectivity between its data center and a VPC with more predictable network performance than its internet connection provides. Traffic must avoid the public internet, but encryption is not required. Which solution BEST meets these requirements?

    Show the answer

    Correct answerC. AWS Direct Connect with a private virtual interface

    AWhy not this: An internet-based VPN encrypts traffic but cannot satisfy the requirement to avoid the public internet.

    BWhy not this: Client VPN supports remote users and uses internet connectivity rather than a dedicated data center connection.

    CWhy this is right: Direct Connect bypasses the public internet, and a private virtual interface supports private connectivity to VPC resources.

    DWhy not this: VPC peering connects VPCs, not an on-premises data center directly to a VPC.

    AWS Direct Connect provides dedicated connectivity that bypasses the public internet; a private virtual interface provides access to VPC resources. An internet-based Site-to-Site VPN encrypts traffic but remains dependent on internet performance.

    Open this question
  2. Question 52

    Design Secure Architectures

    A company runs a public application behind Amazon CloudFront. It needs DDoS-related scaling cost protection and access to the AWS Shield Response Team during attacks. Which service should the company use?

    Show the answer

    Correct answerC. AWS Shield Advanced

    AWhy not this: AWS WAF filters web requests but does not provide the requested DDoS cost protection and response-team benefits.

    BWhy not this: GuardDuty detects suspicious activity but does not provide DDoS cost protection or Shield Response Team access.

    CWhy this is right: Shield Advanced includes eligible DDoS cost protection and access to the Shield Response Team.

    DWhy not this: Shield Standard provides baseline DDoS protection without the requested cost protection and response-team benefits.

    AWS Shield Advanced provides DDoS cost protection for eligible resources and access to the Shield Response Team, subject to applicable requirements. Shield Standard provides automatic baseline DDoS protection but does not include these benefits.

    Open this question
  3. Question 53

    Design Secure Architectures

    Which AWS service provides managed, encrypted remote access for individual employees connecting their laptops to resources in a VPC?

    Show the answer

    Correct answerA. AWS Client VPN

    AWhy this is right: Client VPN provides encrypted remote access from individual client devices to VPC resources.

    BWhy not this: Site-to-Site VPN connects an on-premises network to AWS through a customer gateway.

    CWhy not this: Direct Connect provides dedicated network connectivity rather than individual remote-access VPN sessions.

    DWhy not this: Transit Gateway routes traffic among connected networks but does not itself provide client VPN sessions.

    AWS Client VPN provides managed remote-access VPN connectivity for individual client devices. AWS Site-to-Site VPN connects networks through a customer gateway rather than providing individual laptop VPN sessions.

    Open this question
  4. Question 54

    Design Secure Architectures

    Which IAM policy element identifies who is allowed or denied access in a resource-based policy?

    Show the answer

    Correct answerC. Principal

    AWhy not this: Resource identifies the resources to which the statement applies.

    BWhy not this: Condition specifies circumstances under which the statement applies.

    CWhy this is right: Principal specifies the identities or services covered by the permission statement.

    DWhy not this: Action identifies the API operations covered by the statement.

    Principal identifies the identities or services to which a resource-based policy statement applies. Resource identifies the resources affected, not who can access them.

    Open this question
  5. Question 55

    Design Secure Architectures

    An Amazon SQS queue must accept messages only from a specific Amazon SNS topic. What should a solutions architect configure to authorize this delivery?

    Show the answer

    Correct answerD. A queue policy allowing the SNS service principal with an aws:SourceArn condition

    AWhy not this: A topic policy controls access to the topic; it cannot grant permission on the destination queue.

    BWhy not this: SNS delivery to SQS uses the queue policy rather than assuming a customer-created delivery role.

    CWhy not this: An SCP limits available permissions but does not grant delivery permissions to a service.

    DWhy this is right: The destination queue policy grants SNS permission, restricted to the specified source topic.

    The queue resource policy authorizes SNS to send messages, and aws:SourceArn restricts that permission to the specified topic. A topic policy controls access to the topic, not delivery permissions on the destination queue.

    Open this question
  6. Question 56

    Design Secure Architectures

    A company wants employees to access AWS accounts through IAM Identity Center using an existing on-premises Active Directory. It has network connectivity to AWS but prohibits replicating directory information into a cloud directory; which directory integration should it use?

    Show the answer

    Correct answerD. Connect the existing directory through AD Connector

    AWhy not this: Importing accounts creates cloud identities instead of authenticating against the existing Active Directory.

    BWhy not this: Replicating employee accounts into a managed directory violates the stated restriction.

    CWhy not this: Matching passwords does not federate authentication and creates separately managed IAM identities.

    DWhy this is right: AD Connector redirects directory requests to on-premises Active Directory without caching directory information.

    AD Connector forwards directory requests to the existing Active Directory without caching directory information in the cloud. Importing users into the Identity Center directory creates separate identities rather than using the existing directory for authentication.

    Open this question
  7. Question 57

    Design Secure Architectures

    A company has an existing SAML 2.0 identity provider backed by its corporate directory and a custom sign-in portal for one AWS account. It must retain that portal and provide temporary console access without creating IAM users; which design meets these requirements?

    Show the answer

    Correct answerD. Create an IAM SAML provider and roles that trust that provider

    AWhy not this: Cognito user pools serve application authentication and do not directly assign IAM policies to users for console access.

    BWhy not this: A directory domain name is not an AWS principal that can assume a cross-account role.

    CWhy not this: Creating IAM users duplicates identities and violates the requirement to avoid IAM users.

    DWhy this is right: An IAM SAML provider and trusting roles support temporary console sessions through the existing identity provider.

    Direct SAML federation lets the existing identity provider authenticate employees and obtain temporary role sessions for console access. Cross-account role trust expects an AWS principal; a directory domain name is not a federation principal.

    Open this question
  8. Question 58

    Design Secure Architectures

    A company uses an external SAML identity provider backed by its workforce directory and operates 40 AWS Organizations accounts. It needs one workforce access portal, centrally managed job-function permissions across selected accounts, and temporary credentials without individual IAM users; which design has the LEAST administrative overhead?

    Show the answer

    Correct answerD. Connect the identity provider to IAM Identity Center and assign groups to account permission sets

    AWhy not this: Separate SAML integrations require more per-account role and portal administration.

    BWhy not this: Central IAM users violate the requirement to avoid individual IAM users and duplicate workforce identity management.

    CWhy not this: SCPs do not grant permissions or provide federated access from the management account to member accounts.

    DWhy this is right: Identity Center centralizes workforce federation, account assignments, and role permissions through permission sets.

    IAM Identity Center integrates the external identity provider with a central portal and uses permission sets to provision account roles. Separate SAML integrations can provide federation but require more per-account administration and portal management.

    Open this question
  9. Question 59

    Design Secure Architectures

    A company needs automated discovery of software vulnerabilities on Amazon EC2 instances and in container images stored in Amazon ECR. Which service should a solutions architect choose?

    Show the answer

    Correct answerC. Amazon Inspector

    AWhy not this: GuardDuty detects malicious or suspicious activity rather than assessing installed software for vulnerabilities.

    BWhy not this: Macie discovers sensitive data in Amazon S3 rather than vulnerabilities in compute workloads.

    CWhy this is right: Inspector identifies software vulnerabilities in supported EC2 instances and ECR container images.

    DWhy not this: Secrets Manager stores and rotates secrets rather than assessing software vulnerabilities.

    Amazon Inspector provides automated vulnerability management for supported workloads, including EC2 instances and ECR container images. Amazon GuardDuty detects threats and suspicious activity rather than providing software vulnerability assessments.

    Open this question
  10. Question 60

    Design Secure Architectures

    A customer application needs managed user registration and multifactor authentication, and its API Gateway REST API must validate user tokens before invoking Lambda. Customers must not receive AWS credentials. Which design meets these requirements?

    Show the answer

    Correct answerD. Use a Cognito user pool with a user pool authorizer.

    AWhy not this: IAM Identity Center primarily manages workforce access, not customer registration and API user-token validation.

    BWhy not this: Secrets Manager does not provide customer registration, MFA, or user-token issuance.

    CWhy not this: Identity pools provide temporary AWS credentials and do not independently supply a managed customer user directory.

    DWhy this is right: User pools manage customer authentication, and an API Gateway authorizer validates their tokens without issuing AWS credentials.

    A Cognito user pool provides customer registration, sign-in, MFA, and tokens that an API Gateway user pool authorizer can validate. An identity pool exchanges identities for temporary AWS credentials, which the application does not require.

    Open this question
  11. Question 61

    Design Secure Architectures

    Which attack uses many distributed sources to overwhelm an application's availability with traffic?

    Show the answer

    Correct answerA. Distributed denial-of-service

    AWhy this is right: A distributed denial-of-service attack uses many sources to exhaust resources and disrupt availability.

    BWhy not this: Cross-site scripting causes untrusted scripts to execute in users' browsers.

    CWhy not this: Credential stuffing attempts sign-ins using stolen username-password pairs.

    DWhy not this: SQL injection manipulates database queries through unsafe application input.

    A distributed denial-of-service attack uses multiple sources to exhaust capacity and disrupt availability. Credential stuffing uses stolen username-password pairs to attempt unauthorized sign-ins rather than primarily overwhelming service capacity.

    Open this question
  12. Question 62

    Design Secure Architectures

    A company delivers its public application through CloudFront and needs DDoS protection with access to the AWS Shield Response Team. It also requires eligibility for credits for attack-related scaling charges on protected resources. Which solution meets these requirements?

    Show the answer

    Correct answerA. Subscribe to Shield Advanced and protect the distribution.

    AWhy this is right: Shield Advanced provides response-team access and conditional DDoS cost protection for eligible protected resources.

    BWhy not this: AWS WAF filters web requests but alone does not provide response-team access or DDoS cost protection.

    CWhy not this: GuardDuty detects suspicious activity but does not provide these DDoS response and cost-protection benefits.

    DWhy not this: Shield Standard lacks Shield Response Team access and DDoS cost protection.

    Shield Advanced provides access to the Shield Response Team and DDoS cost protection for eligible attack-related charges, subject to requirements. Shield Standard provides baseline DDoS protection but does not include these benefits.

    Open this question
  13. Question 63

    Design Secure Architectures

    An application behind an Application Load Balancer receives requests containing SQL injection attempts in query parameters. Which solution should a solutions architect use to filter these requests before they reach the application?

    Show the answer

    Correct answerC. Associate an AWS WAF web ACL using SQL injection rules.

    AWhy not this: GuardDuty detects threats but does not provide inline HTTP request filtering for an ALB.

    BWhy not this: HTTPS restrictions control network access but do not identify SQL injection in request content.

    CWhy this is right: AWS WAF can inspect query parameters and block requests matching SQL injection rules.

    DWhy not this: Database TLS protects data in transit but does not stop malicious input from reaching the application.

    AWS WAF can inspect HTTP query parameters and block requests that match SQL injection rules. Allowing only HTTPS through a security group limits ports but does not inspect the application content carried over HTTPS.

    Open this question