PracticeCF

SAP-C02 Question Bank · Latest 50 Questions Free Preview (Page 2/5)

Questions 11–20 of the latest 50 SAP-C02 questions (5 pages total), with answers and explanations, no login required. Practice all 1519 questions online.

Question 11 · No. 1483 · Single choice

A company is using AWS to develop and manage its production web application. The application includes an Amazon API Gateway HTTP API that invokes an AWS Lambda function. The Lambda function processes and then stores data in a database. The company wants to implement user authorization for the web application in an integrated way. The company already uses a third-party identity provider that issues OAuth tokens for the company’s other applications. Which solution will meet these requirements?

Answer: A

Explanation: Option A is the best solution because it directly integrates the company's existing third-party identity provider with API Gateway using an OAuth token-based approach. This allows for seamless validation of tokens issued by the identity provider through a Lambda authorizer, ensuring that user authorization is consistently applied across all API routes. The web application will also be updated to work with this setup by obtaining and forwarding the tokens in the Authorization header, maintaining the desired integration.
Question 12 · No. 1484 · Single choice

A company is migrating its data center to the AWS Cloud and needs to complete the migration as quickly as possible. The company has many applications that are running on hundreds of VMware VMs in the data center. Each VM is configured with a shared Windows folder that contains common shared files. The file share is larger than 100 GB in size. The company’s compliance team requires a change request to be fled and approved for every software installation and modification to each VM. The company has an AWS Direct Connect connection with 10 GB of bandwidth between AWS and the data center. Which set of steps should the company take to complete the migration in the LEAST amount of time?

Answer: C

Explanation: Option C is the best choice because it addresses the need for speed in migration and compliance requirements. AWS Snowcone can be used to export VMs and file share data physically, which can then be shipped to AWS, significantly reducing migration time compared to uploading large amounts of data over the network. This approach bypasses the bandwidth limitation of the Direct Connect connection and allows for parallel offline data transfer. Additionally, using AWS Application Migration Service with VMware vCenter enables efficient management of the migration process.
Question 13 · No. 1485 · Single choice

Accompany runs an application on Amazon EC2 and AWS Lambda. The application stores temporary data in Amazon S3. The S3 objects are deleted after 24 hours. The company deploys new versions of the application by launching AWS CloudFormation stacks. The stacks create the required resources. After validating a new version, the company deletes the old stack. The deletion of an old development stack recently failed. A solutions architect needs to resolve this issue without major architecture changes. Which solution will meet these requirements?

Answer: A

Question 14 · No. 1486 · Single choice

A company has multiple AWS accounts that are in an organization in AWS Organizations. The company needs to store AWS account activity and query the data from a central location by using SQL. Which solution will meet these requirements?

Answer: B

Explanation: Option B is the best solution because it uses a delegated administrator account to create an AWS CloudTrail Lake data store, which is designed for centralized storage and querying of CloudTrail events across multiple accounts in an organization. It allows specifying management events and enables the data store for all accounts, meeting the requirement to store and query activity data from a central location using SQL.
Question 15 · No. 1487 · Multiple choice

A travel company built a web application that uses Amazon Simple Email Service (Amazon SES) to send email notifications to users. The company needs to enable logging to help troubleshoot email delivery issues. The company also needs the ability to do searches that are based on recipient, subject, and time sent. Which combination of steps should a solutions architect take to meet these requirements? (Choose two.)

Answer: D, E

Question 16 · No. 1488 · Single choice

A company in the United States (US) has acquired a company in Europe. Both companies use the AWS Cloud. The US company has built a new application with a microservices architecture. The US company is hosting the application across five VPCs in the us-east-2 Region. The application must be able to access resources in one VPC in the eu-west-1 Region. However, the application must not be able to access any other VPCs. The VPCs in both Regions have no overlapping CIDR ranges. All accounts are already consolidated in one organization in AWS Organizations. Which solution will meet these requirements MOST cost-effectively?

Answer: D

Question 17 · No. 1489 · Single choice

A company is using AWS CloudFormation as its deployment tool for all applications. It stages all application binaries and templates within Amazon S3 buckets with versioning enabled. Developers have access to an Amazon EC2 instance that hosts the integrated development environment (IDE). The developers download the application binaries from Amazon S3 to the EC2 instance, make changes, and upload the binaries to an S3 bucket after running the unit tests locally. The developers want to improve the existing deployment mechanism and implement CI/CD using AWS CodePipeline. The developers have the following requirements: • Use AWS CodeCommit for source control. • Automate unit testing and security scanning. • Alert the developers when unit tests fail. • Turn application features on and off, and customize deployment dynamically as part of CI/CD. • Have the lead developer provide approval before deploying an application. Which solution will meet these requirements?

Answer: A

Explanation: Solution A meets all the requirements specified in the review text. It uses AWS CodeBuild for running unit tests and security scans, Amazon EventBridge to send SNS alerts when unit tests fail, AWS Cloud Development Kit (CDK) constructs for managing different solution features with a manifest file to turn features on and off dynamically, and includes a manual approval stage in the pipeline for the lead developer's approval.
Question 18 · No. 1490 · Single choice

A company is migrating infrastructure for its massive multiplayer game to AWS. The game’s application features a leaderboard where players can see rankings in real time. The leaderboard requires microsecond reads and single-digit-millisecond write latencies. The datasets are single-digit terabytes in size and must be available to accept writes in less than a minute if a primary node failure occurs. The company needs a solution in which data can persist for further analytical processing through a data pipeline. Which solution will meet these requirements with the LEAST operational overhead?

Answer: C

Explanation: Amazon MemoryDB for Redis in Multi-AZ mode provides the required low latency access with microsecond reads and single-digit millisecond writes. It also ensures high availability through automatic failover within minutes, which meets the condition for availability after a primary node failure. Furthermore, as a managed service, it reduces operational overhead compared to self-managed EC2 instances.
Question 19 · No. 1491 · Single choice

A company is running a serverless ecommerce application on AWS. The application uses Amazon API Gateway to invoke AWS Lambda Java functions. The Lambda functions connect to an Amazon RDS for MySQL database to store data. During a recent sale event, a sudden increase in web traffic resulted in poor API performance and database connection failures. The company needs to implement a solution to minimize the latency for the Lambda functions and to support bursts in traffic. Which solution will meet these requirements with the LEAST amount of change to the application?

Answer: B

Explanation: RDS Proxy is designed to handle database connection management and pool connections, thus reducing the latency for Lambda functions and improving the ability to handle bursts in traffic without needing to modify the application significantly. By using RDS Proxy, the number of open connections to the database can be minimized, and the connection failures experienced during high traffic events can be mitigated. Increasing provisioned concurrency for Lambda functions ensures they can scale rapidly to meet demand. Options A, C, and D either suggest less efficient approaches or incorrectly mix concepts like 'provisioned concurrency' with solutions that should use 'reserved concurrency'.
Question 20 · No. 1492 · Single choice

A company is developing a latency-sensitive application. Part of the application includes several AWS Lambda functions that need to initialize as quickly as possible. The Lambda functions are written in Java and contain initialization code outside the handlers to load libraries, initialize classes, and generate unique IDs. Which solution will meet the startup performance requirement MOST cost-effectively?

Answer: C

Prev 12345 Next