Unit 4: AWS Fundamentals - Practice Quiz

CSE423 — Virtualization And Cloud Computing 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is an AWS Region?

AWS cloud infrastructure Easy
A. A physical location containing multiple Availability Zones
B. A software tool used to manage AWS resources
C. A single server running inside an AWS data center
D. A private network created within an AWS account

2 What is an AWS Availability Zone?

AWS cloud infrastructure Easy
A. A billing area within an AWS account
B. A global website for managing AWS services
C. A collection of AWS user permissions
D. An isolated location within an AWS Region

3 Why might an application use resources in multiple Availability Zones?

AWS cloud infrastructure Easy
A. To eliminate every service charge
B. To remove all network traffic
C. To improve application availability
D. To create additional AWS accounts

4 What is a common purpose of AWS edge locations?

AWS cloud infrastructure Easy
A. Hosting relational database engines
B. Creating IAM users and groups
C. Delivering content with low latency
D. Calculating monthly account charges

5 Which AWS service belongs primarily to the compute category?

AWS service categories Easy
A. Amazon S3
B. Amazon Route 53
C. Amazon RDS
D. Amazon EC2

6 Which AWS service is primarily used for object storage?

AWS service categories Easy
A. Amazon RDS
B. Amazon S3
C. Amazon EC2
D. Amazon VPC

7 Which AWS service is a managed relational database service?

AWS service categories Easy
A. Amazon SQS
B. Amazon CloudFront
C. Amazon RDS
D. Amazon EBS

8 What is the AWS Management Console?

AWS Management Console Easy
A. A programming language for building cloud applications
B. A web interface for managing AWS resources
C. A database engine for storing AWS records
D. A physical device for connecting AWS Regions

9 What can a user do from the AWS Management Console?

AWS Management Console Easy
A. Replace the AWS global network
B. Repair hardware inside AWS facilities
C. Create and configure AWS resources
D. Move an Availability Zone physically

10 What is commonly used to find a service in the AWS Management Console?

AWS Management Console Easy
A. The browser download list
B. The account password field
C. The billing payment form
D. The console search bar

11 Under the AWS Shared Responsibility Model, AWS is responsible for security of the cloud. What does this include?

Shared Responsibility Model Easy
A. Choosing customer account passwords
B. Configuring customer IAM permissions
C. Protecting physical data centers
D. Classifying customer application data

12 Under the AWS Shared Responsibility Model, what is generally a customer responsibility?

Shared Responsibility Model Easy
A. Managing access to customer data
B. Operating the AWS global network
C. Securing AWS physical buildings
D. Replacing failed AWS hardware

13 For an Amazon EC2 instance, who is generally responsible for patching the guest operating system?

Shared Responsibility Model Easy
A. The AWS customer
B. The hardware vendor
C. The internet provider
D. The AWS auditor

14 What is the main purpose of AWS Identity and Access Management (IAM)?

Identity and Access Management (IAM) Easy
A. Distributing content through edge locations
B. Storing files as cloud objects
C. Running virtual servers on demand
D. Controlling access to AWS resources

15 What does an IAM user usually represent?

Identity and Access Management (IAM) Easy
A. A managed database instance
B. A monthly billing report
C. A person or application
D. A physical AWS Region

16 What is an IAM group?

Identity and Access Management (IAM) Easy
A. A cluster of database servers
B. A collection of IAM users
C. A collection of AWS Regions
D. A set of physical data centers

17 What does the principle of least privilege mean?

Identity and Access Management (IAM) Easy
A. Grant only the permissions required
B. Block all users permanently
C. Grant every available permission
D. Share one account among users

18 What does multi-factor authentication (MFA) add to an AWS sign-in?

AWS account security Easy
A. An automatic billing discount
B. An unlimited permission policy
C. An additional verification factor
D. An additional AWS Region

19 Which practice is recommended for the AWS account root user?

AWS account security Easy
A. Disable its password protection
B. Share it with all administrators
C. Use it for routine daily tasks
D. Use it only when required

20 Which password practice improves AWS account security?

AWS account security Easy
A. Use a strong unique password
B. Store the password in public code
C. Choose a short common password
D. Reuse a familiar shared password

21 A company must deploy an application in one AWS Region and keep it available if a single data center fails. Which architecture best meets this requirement?

AWS cloud infrastructure Medium
A. Deploy instances in one Availability Zone
B. Deploy instances in one Local Zone
C. Deploy instances across two Availability Zones
D. Deploy instances across two edge locations

22 A website stores static images in Amazon S3, but users around the world experience high latency. Which AWS infrastructure component should be used to improve delivery speed?

AWS cloud infrastructure Medium
A. AWS Direct Connect locations
B. Amazon EC2 Availability Zones
C. Amazon VPC private subnets
D. Amazon CloudFront edge locations

23 A business must keep customer data within a particular country because of regulatory requirements. Which factor should primarily guide its AWS deployment decision?

AWS cloud infrastructure Medium
A. Selecting a larger Availability Zone
B. Selecting an AWS Direct Connect site
C. Selecting a compliant AWS Region
D. Selecting the nearest edge location

24 Two application servers require low-latency communication but must remain in separate failure domains. Where should they be deployed?

AWS cloud infrastructure Medium
A. In different Regions of one continent
B. In different Availability Zones of one Region
C. In different edge locations of one network
D. In different subnets of one Availability Zone

25 An application must run code whenever a file is uploaded to Amazon S3, without requiring the company to manage servers. Which compute service is most appropriate?

AWS service categories Medium
A. AWS Lambda
B. AWS Elastic Beanstalk
C. Amazon Lightsail
D. Amazon EC2

26 A team needs a managed relational database with automated backups and support for SQL transactions. Which AWS service best fits these requirements?

AWS service categories Medium
A. Amazon RDS
B. Amazon ElastiCache
C. Amazon S3
D. Amazon DynamoDB

27 An order-processing application needs a message queue so that its web tier and worker tier can operate independently. Which service category and service should be selected?

AWS service categories Medium
A. Block storage with Amazon EBS
B. Content delivery with Amazon CloudFront
C. Application integration with Amazon SQS
D. Monitoring with Amazon CloudWatch

28 An administrator created an EC2 instance in eu-west-1, but it does not appear after the administrator signs in to the AWS Management Console. What should be checked first?

AWS Management Console Medium
A. The Region selected in the console
B. The instance's operating system type
C. The account's support plan level
D. The browser's default language setting

29 An administrator wants to run AWS CLI commands from a browser without installing local tools or manually configuring credentials. Which console feature should be used?

AWS Management Console Medium
A. AWS Support Center
B. AWS Billing Console
C. AWS CloudShell
D. AWS Health Dashboard

30 A user signed in to one AWS account must administer resources in another account without using another password. The required trust and permissions already exist. Which console action should the user take?

AWS Management Console Medium
A. Change the selected Region
B. Use the Switch Role feature
C. Create another access key
D. Open a new root session

31 A company runs an application on Amazon EC2. Who is responsible for installing security updates for the guest operating system?

Shared Responsibility Model Medium
A. The AWS hardware team
B. The AWS customer
C. The data center operator
D. The internet service provider

32 A publicly accessible Amazon S3 bucket exposes confidential files. Under the Shared Responsibility Model, who is primarily responsible for correcting the bucket permissions?

Shared Responsibility Model Medium
A. The network service provider
B. The storage hardware vendor
C. The AWS facilities team
D. The AWS customer

33 A company uses Amazon RDS for a production database. Which task remains the company's responsibility?

Shared Responsibility Model Medium
A. Maintaining the host virtualization layer
B. Securing the data center perimeter
C. Replacing failed physical storage devices
D. Configuring database users and network access

34 An EC2 application needs permission to read objects from one S3 bucket. Which approach follows IAM security best practices?

Identity and Access Management (IAM) Medium
A. Attach a least-privilege IAM role to the instance
B. Store root access keys on the instance
C. Make the S3 bucket publicly readable
D. Embed an administrator password in the application

35 An IAM user has an Allow policy for Amazon S3, but another applicable policy explicitly denies s3:DeleteObject. What happens when the user tries to delete an object?

Identity and Access Management (IAM) Medium
A. The request requires root approval
B. The request is denied
C. The request is allowed
D. The request creates a policy warning

36 Twenty developers require the same read-only permissions for several AWS services. What is the most manageable IAM solution?

Identity and Access Management (IAM) Medium
A. Share one IAM user among all developers
B. Add the users to a group with the policy
C. Give every developer administrator permissions
D. Create separate identical policies for every user

37 A company wants administrators to perform sensitive IAM actions only when they have authenticated with MFA. Which IAM mechanism can enforce this requirement?

Identity and Access Management (IAM) Medium
A. A security group allowing HTTPS traffic
B. A policy condition checking MFA context
C. An S3 lifecycle rule checking login time
D. A network ACL blocking public traffic

38 Which action most effectively improves the security of an AWS account's root user?

AWS account security Medium
A. Enable MFA and avoid routine root usage
B. Share the root password with administrators
C. Create root access keys for daily tasks
D. Use the root user for application access

39 A developer accidentally publishes an IAM access key in a public repository. What should the security team do first?

AWS account security Medium
A. Rename the IAM user and keep the key
B. Wait for AWS to rotate the key automatically
C. Deactivate the key and review its activity
D. Move the key into another source file

40 A security team needs a durable record of API activity across all enabled AWS Regions for later investigation. Which solution is most appropriate?

AWS account security Medium
A. Create an AWS Budgets cost report
B. Create a single Amazon CloudWatch alarm
C. Create an EC2 security group rule
D. Create a multi-Region AWS CloudTrail trail

41 A workload runs on EC2 instances in two Availability Zones behind an Application Load Balancer. Its database uses a single EC2 instance with EBS volumes in one Availability Zone. Which failure remains a single point of failure despite the multi-AZ application tier?

AWS cloud infrastructure Hard
A. Loss of the Region containing both application tiers
B. Loss of one application instance behind the load balancer
C. Loss of the Availability Zone containing the database
D. Loss of one edge location serving cached content

42 A company must keep application data in eu-west-1, but administrators need one identity system for accessing workloads in several AWS Regions. Which design best matches AWS service scope?

AWS cloud infrastructure Hard
A. Use global IAM identities and deploy data resources only in eu-west-1
B. Replicate IAM policies through cross-Region VPC peering
C. Create separate IAM users in every enabled Region
D. Store IAM identities in an Availability Zone in eu-west-1

43 Users worldwide download static objects from an S3 bucket in one Region. The company needs lower latency without creating writable bucket replicas. Which infrastructure component should primarily serve the cached objects?

AWS cloud infrastructure Hard
A. CloudFront edge locations
B. Regional NAT gateways
C. Additional Availability Zones
D. Direct Connect locations

44 An auditor asks both who changed a security group yesterday and whether that group has violated an approved configuration rule over time. Which pairing directly addresses both questions?

AWS service categories Hard
A. Inspector findings and Systems Manager inventory
B. Trusted Advisor and Cost Explorer
C. CloudWatch metrics and AWS Artifact
D. CloudTrail events and AWS Config history

45 A checkout service experiences unpredictable traffic spikes, while an order processor must consume requests at a controlled rate and retry transient failures. Which service category and service best fit the decoupling requirement?

AWS service categories Hard
A. Networking through Amazon Route 53
B. Analytics through Amazon Athena
C. Governance through AWS Organizations
D. Messaging through Amazon SQS

46 An AWS Organizations administrator attaches an SCP that allows only Amazon S3 actions to a member account. A new IAM user in that account has no identity-based policies. What S3 access does the user receive from the SCP?

AWS service categories Hard
A. All S3 actions in the account
B. Only actions performed in the console
C. No S3 access from the SCP alone
D. Read-only S3 actions by default

47 An IAM administrator with AdministratorAccess signs in to a member account, but the console denies creation of an internet gateway. CloudTrail confirms the same principal made the request. Which control can still explain the denial?

AWS Management Console Hard
A. A disabled IAM access key for the administrator
B. A CloudWatch alarm on networking API calls
C. An Organizations SCP with an explicit deny
D. A missing console-specific authorization policy

48 An engineer opens AWS CloudShell from the console in us-east-1, creates a file in the home directory, and later opens CloudShell in eu-west-1. The command credentials work, but the file is absent. What best explains this behavior?

AWS Management Console Hard
A. CloudShell files expire whenever the console changes its selected Region
B. CloudShell credentials are global, but commands require root access
C. CloudShell storage is regional, while console credentials are forwarded
D. CloudShell storage is zonal, while IAM users are Region specific

49 A user can sign in to the AWS Management Console and view EC2 instances but receives AccessDenied when stopping one. Which statement is most accurate?

AWS Management Console Hard
A. Console sign-in proves only authentication; API authorization still controls the stop action
B. Console viewing creates a session policy that permits all displayed actions
C. Console actions bypass IAM and depend only on the account's root settings
D. Console sign-in grants write access unless an access key has been deactivated

50 A company runs an unsupported Linux version on Amazon EC2. An attacker exploits an unpatched guest operating system vulnerability, although AWS has patched the physical host and hypervisor. Under the shared responsibility model, who was responsible for the missed guest patch?

Shared Responsibility Model Hard
A. The software vendor alone, because it published the Linux distribution
B. The customer, because it manages the EC2 guest operating system
C. AWS, because EC2 is an AWS compute service
D. AWS and the customer equally, because both manage the hypervisor

51 A team uses Amazon RDS for PostgreSQL with automatic minor version upgrades enabled. Which task remains primarily the customer's responsibility?

Shared Responsibility Model Hard
A. Patching the managed host operating system
B. Maintaining the underlying virtualization platform
C. Designing database roles and schema permissions
D. Replacing failed physical database hosts

52 An S3 bucket uses server-side encryption with Amazon S3 managed keys (SSE-S3), but a public bucket policy exposes confidential objects. Which responsibility was not fulfilled?

Shared Responsibility Model Hard
A. The customer failed to configure data access correctly
B. AWS failed to restrict the customer's IAM administrators
C. AWS failed to encrypt the storage media
D. The customer failed to maintain S3's physical servers

53 Two teams run the same container image: one on Amazon ECS using EC2 launch type and one on AWS Fargate. Which responsibility differs between the deployments?

Shared Responsibility Model Hard
A. Patching the operating system of container host instances
B. Restricting application access to sensitive business data
C. Protecting credentials embedded in the container image
D. Scanning application dependencies for known vulnerabilities

54 A user has an identity policy allowing s3:GetObject on arn:aws:s3:::reports/*. The bucket policy also allows the action, but a permissions boundary explicitly denies it. What is the result?

Identity and Access Management (IAM) Hard
A. Allowed because the bucket policy is resource based
B. Denied only when the request is made through the console
C. Denied because the permissions boundary contains an explicit deny
D. Allowed because two policies grant the same action

55 A Lambda function's execution role allows dynamodb:PutItem, but the function receives an error stating that it cannot assume the role during startup. What should be checked first?

Identity and Access Management (IAM) Hard
A. Whether the role trust policy allows the Lambda service principal
B. Whether the function has an IAM console password configured
C. Whether the DynamoDB table policy grants the Lambda service principal
D. Whether the role has a permissions boundary allowing sts:GetCallerIdentity

56 A role's identity policy allows all Amazon S3 and DynamoDB actions. Its permissions boundary allows only Amazon S3 actions. An SCP allows both services. Assuming no other policies apply, which effective permissions can the role receive?

Identity and Access Management (IAM) Hard
A. Only S3 actions allowed by both policy and boundary
B. Only DynamoDB actions omitted from the permissions boundary
C. All S3 and DynamoDB actions allowed by the identity policy
D. No actions because an SCP must explicitly grant each permission

57 A company uses ABAC so developers may terminate EC2 instances only when the instance's project tag matches the developer's principal tag. Which IAM comparison expresses the intended condition?

Identity and Access Management (IAM) Hard
A. Compare aws:RequestTag/project with ${aws:SourceAccount}
B. Compare ec2:Region with ${aws:PrincipalTag/project}
C. Compare aws:PrincipalArn with ${ec2:ResourceTag/owner}
D. Compare aws:ResourceTag/project with ${aws:PrincipalTag/project}

58 An organization has created administrative IAM roles and no longer uses the member account root users operationally. Which remaining action most reduces root credential risk?

AWS account security Hard
A. Convert each root user into an IAM Identity Center permission set
B. Place each root user in an IAM group protected by an SCP
C. Delete root access keys and enable MFA for each root user
D. Attach ReadOnlyAccess to each root user and rotate its password

59 A third-party monitoring vendor assumes the same role name in many customer accounts. Which control most directly reduces the confused deputy risk when the vendor accesses your account?

AWS account security Hard
A. Store the vendor's access key in AWS Secrets Manager
B. Require a unique external ID in the role trust policy
C. Require the vendor to use the AWS account root user
D. Add the vendor's role name to a permissions boundary

60 A security team needs emergency administrative access if its identity provider is unavailable. Which design best preserves both recoverability and accountability?

AWS account security Hard
A. Create root access keys and distribute encrypted copies to all administrators
B. Share one permanent administrator user's password among the security team
C. Disable CloudTrail during emergencies to avoid failed authorization noise
D. Create monitored break-glass access with MFA and tightly controlled credentials