Practice Assessment
AWS A Solutions Architect is developing a document sharing application and needs a storage layer. The storage should provide automatic support for versioning so that users can easily roll back to a previous version or recover a deleted account. Which AWS service will meet the above requirements. -) Amazon EBS -) Amazon EFS -) Amazon Storage Gateway VTL -) Amazon S3
Answer:
AWS How many regions does AWS have? Pick ONE option -) 12 -) 16 -) 20 -) 24
Answer:
AWS True or False: Your company has deployed their production environment on AWS and now need to access their EC2 instances via a bastion host using Windows Remote Desktop protocol. To achieve this, Create a bastion host in a public subnet and open the RDP port up to the bastion security group. Restrict RDP access so that only users with IP address ranges from within your office network can RDP into this bastion host. -) TRUE -) FALSE
Answer:
Intro to Docker How can a new container be created? Pick ONE option -) New container are created on their own without using an existing image -) New containers are created from existing images
Answer:
Spring Boot In the MainController, what does @RequestMapping ("/") do? Pick ONE Option -) Tells Spring to come to this method at the root URL for the application -) Tells Spring to come to this method for debug testing -) Tells Spring to ignore this method -) Tells Spring to come to this method on every page in the application
Answer:
Spring Boot JPA will recognize which annotation as the object's ID and primary key? Pick ONE option -) @Id -) @GeneratedValue -) @Column -) None of the above
Answer:
Spring Boot Which dependency can be used to connect your Spring application to a SQL database? Pick ONE option -) JPA -) DevTools -) Web -) H2
Answer:
Java EE True or False: The Entity manages is the central API which for within the application but does not work with the database. Pick ONE option -) TRUE -) FALSE
Answer: FALSE ????
Database True or False: The relationships between tables must be created and defined before any data (rows) can be added Pick ONE option -) TRUE -) FALSE
Answer: FALSE ?????
SQL What is the HTML verb for create? Pick ONE option -) post -) get -) put/patch -) delete
Answer: Post
Are you an expert of data structures? - Which of the following data structures can erase from its beginning or its end in 0(1) time? Pick ONE option -) vector -) deque -) stack -) segment tree
Answer: Stack
Java IO Fill in the blank: The __________ is a list of all the method calls at that point in the execution of the program. Pick ONE Option -) linked stack -) call stack -) stack -) All of the above
Answer: call stack
Java OOP Fill in the blank: In the JDK, packages are used to group similar ___________ together. Pick ONE option -) objects -) classes -) methods -) all of the above
Answer: classes
Java IO When we "throw an exception," what happens? Pick One option -) skip the exception altogether -) finish running all code, then go back to exception -) pass the exception back to the calling method -) None of the above
Answer: finish running all code, then go back to exception
Java OOP Fil in the black:To import a class, the keyword _______ must be used after the package statement and before the class declaration. Pick ONE -) insert -) add -) new -) import
Answer: import
Java OOP Fill in the blank: An abstract class cannot be _______ but can be _________ by another class. Pick ONE option -) inherited, instantiated -) inherited, declared -) instantiated, inherited -) None of the above
Answer: instantiated, inherited
Database Fill in the blank: When you create a table in a relational database, you must assign a ________ to each column in the table. Pick ONE option -) function -) method -) object -) data type
Answer:
Docker Services What is the command for creating a new Docker service? Pick ONE option -) $ docker service create --name <your-service-name> -) $ docker create --name <your-service-name> -) $ docker service <your-service-name> -) $ docker service create --name --newservice <your-service-name>
Answer:
HTML True or False: This is the correct syntax for creating a link: <a href="Your_URL">Click Here</a> -) TRUE -) FALSE
Answer:
HTML Which would you use to open content in a new tab? Pick ONE option -) target="open" -) target="_blank" -) page=_"blank" -) None of the above
Answer:
JavaScript A string can be concatenated by using which operator? Pick ONE option -) "+" -) "=" -) "++" -) "=="
Answer:
JavaScript Fill in the blank: All numbers in TypeScript are either ____________ Pick ONE option -) longs or BigIntegers -) strings or BigIntegers -) floating point values or integers -) floating point values or BigIntegers
Answer:
JavaScript When addressing an array, you put the index value we want to call in _________? Pick ONE option -) {} -) <> -) [ ] -) All of the above
Answer:
Maven Which of the following configuration element is present in POM.xml? Pick ONE option -) project dependencies -) plugins -) goals -) all of the above
Answer:
RESTful APIs What HTTP method is used to replace an existing item at the URI? Pick ONE option -) GET -) POST -) PATCH -) PUT
Answer: PATCH